Solved: getting simplest mrmr => iPhone => OSC => ChucK app to work
Solved my own problem: I had accidentally left the OSC-Client running, which
was evidently snarfing all my OSC events and preventing ChucK from receiving
them. Killing OSC-Client made everything work.
- Rob
On Sat, Jun 20, 2009 at 21:38, Robert Poor
I've installed mrmr on my iPhone. I also downloaded and installed Niklas Saers's OSC-Client (http://niklas.saers.com/Media/OSC-Client.zip) on my MacBook Pro. OSC-Client shows that I've configured things correctly; I'm receiving messages such as:
messages: /mrmr/accelerometer/direction/2/PoorPhone 2 messages: /mrmr/accelerometer/force/2/PoorPhone 54 messages: /mrmr/accelerometer/angle/3/PoorPhone 134 messages: /mrmr/accelerometer/force/3/PoorPhone 54
... but haven't been able to get the simplest ChucK program to honor the messages. Here's the code -- it never gets past the "oe => now" call. I'm sure my error is obvious to the old hands out there -- any suggestions?
OscRecv orec; 1500 => orec.port; orec.listen(); orec.event("/mrmr/accelerometer/force/3/PoorPhone, i") @=> OscEvent @oe; while (true) { oe => now; while (oe.nextMsg()) { oe.getInt() => int i; <<< "got", i >>>; } }
participants (1)
-
Robert Poor