fand / veda

⚡VJ / Live Coding on Atom⚡
http://veda.gl/
MIT License
509 stars 34 forks source link

Support OSC #18

Closed fand closed 7 years ago

fand commented 7 years ago

OSC is a widely-used protocol like MIDI, but more flexible. I'm not familiar with OSC. Comments welcome!

fand commented 7 years ago

TouchOSC + TouchOSC Bridge works as a normal MIDI device, so we can use it via sampler2D midi.

fand commented 7 years ago

Because OSC allows arbitrary addresses and data, it's difficult to map OSC events to textures... I'm considering using just 1 address and 3 data mapped to 2D texuture, just like sampler2D midi.

Mortec commented 7 years ago

This would be a great feature ! This would make glsl-livecoder a good pal for Supercollider. You coud ad a few predefined messages with special adresses, a few floats and a few float arrays as sampler2D with fixed size could be a good start : /glsl-viewer/float0/ ... /glsl-viewer/float1/ ...

/glsl-viewer/floatArray0/../......../../... /glsl-viewer/floatArray1/../......../../... etc...

fand commented 7 years ago

Supported in v2.0.0 🎉