VEDA 2.0 — OSC Supported!

Takayosi Amagi
2 min readNov 20, 2017

--

Recently we released VEDA 2.0. OSC is available now!!!

VEDA is a live coding environment for Atom. See older posts for overview.

What is OSC?

OSC is a messaging protocol widely used in musical / visual programming. It’s useful for transporting any data like MIDI events, analog inputs, signals among softwares.

Using OSC, VEDA can sync with many softwares such as SuperCollider, TidalCycles, Ableton Live, TouchDesigner, etc…!!

How to use

Add osc property to your VEDA settings.

If you wanna use OSC only on specific GLSL files, add /*{ "osc": 4000 }*/ to the top of the files. Otherwise, add "osc”: 4000 to your .liverc .

VEDA 💖 TouchDesigner

Here’s a working example of VEDA + TouchDesigner!

When I run this code, VEDA lauches OSC server on port 4000.

In osc.toe, these OSC messages are sent by TouchDesigner.

  • mouse position is sent to /mouse/tx and/mouse/ty
  • noise is sent to /noise
  • sine wave is sent to /lfo

Then VEDA receives these messsages and store to the textures.

You can try this code by git clone https://gist.github.com/527a7c334c337cf8f23cf93c29723619.git .

VEDA 💖 TidalCycles

Here is another example: VEDA with TidalCycles!!

In this example we had to write some SuperCollider scripts to transform OSC messages. However, we can send any signals from TidalCycles to VEDA in this way!

Full example is available at: https://gist.github.com/fand/ce01da0a764ac23b05f1552daf1a4701

If you have feature requests or questions, feel free to tell me on Twittter or GitHub!!

Hope you enjoy it 🤘🤘🤘

--

--

Takayosi Amagi

Visual art freak in Kyoto. loves GLSL, WebGL, Unity. Developer of VEDA https://veda.gl/