Skip to content

Instantly share code, notes, and snippets.

@tado
Created Jul 17, 2020
Embed
What would you like to do?
// foward OSC from TidalCycles
var addr = NetAddr.new("127.0.0.1", 3333);
OSCFunc({ |msg, time, tidalAddr|
var latency = time - Main.elapsedTime;
msg = msg ++ ["time", time, "latency", latency];
// msg.postln;
addr.sendBundle(latency, msg)
}, '/play2').fix;
Server.local.options.sampleRate = 48000;
Server.local.volume = -6.0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment