Created
July 17, 2020 22:59
-
-
Save tado/623f445352158bbb830b6f7e411a41c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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