CNMAT / OSC

OSC: Arduino and Teensy implementation of OSC encoding
cnmat.berkeley.edu/oscuino
Other
744 stars 138 forks source link

TouchOSC example #7

Closed jaap56 closed 10 years ago

jaap56 commented 10 years ago

In the past the library was working with touchOSC see: http://cnmat.berkeley.edu/library/oscuino/controlling_oscuino/touchosc

Now the repository is moved and the example is removed. Could a example be given?

I think the problem is the difference between oscBundle and oscMessage that fails the new libary to work with touchOSC? TouchOSC only works with sending messages, the libary is working with receiving bundles.

Any help with his issue would be appreciated

TrippyLighting commented 10 years ago

The library still works with OSC messages. Only the sketch you are referring to does not. I've converted that example sketch to work with OSC messages and with the library in it's current form. It works with Teensy 3 (http://www.pjrc.com/teensy/index.html) but is still a little rough round the edges but it shows nicely how to communicate with TouchOSC. Here is a link to the example sketch and the TouchOSC layout to go with it: https://dl.dropboxusercontent.com/u/52985275/OSCuino%20Arduino%20Example.zip

jaap56 commented 10 years ago

thanks a lot, it works only took a little more time to find out that my sketch was using integers while the touchOSC works with floats (even if it is just a toggle). Maybe if some one reads this in future it would be helpful to know