-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Continuation from #18
I've hard-coded a basic (but useful) OSC implementation. It allows you to turn on/off the program buffers (1-8) from an OSC controller. I also added support for an XY control, and 4 value sliders.
An example layout for TouchOSC is in the repo: https://github.com/darrenmothersele/cyril/blob/master/CyrilTouchOSC.touchosc
It has an XY controller, that maps OSX message on "/1/xy1" to PADX and PADY values in Cyril. It has 8 toggle switches that turn on/off programmes ("/1/toggle1" etc), and it has 4 float value sliders that map to F1, F2, F3, and F4 (OSC messages: "/1/fader1", "/1/fader2", etc).
An example Cyril programme that demonstrates the use of these:
push
move PADX, PADY
rotate F1 * 360
box 1 + F2
pop
I have been planning to add settings.xml back in, and once I do this, I plan to make OSC messages configurable.
Oh, and it listens on port 12345. So, once you've installed TouchOSC on your iPhone or android device, use the editor to send the example layout to your device, then connect to Cyril using the IP address of the computer running Cyril, and port "12345".