Controlling Bitwig with SonicPI via OSC
I made another experiment with the latest development version of SonicPI. This time I explored the new osc functions and used them to controll Bitwig-Studio using the OSC4Bitwig controller script.
I sent the sonic pi output into an audio channel in bitwig using jack and added a bitwig stereo-delay to it.
If you want to try it yourself here is the sonic pi code I used in this video - be aware that you need a development version of sonicpi from the github master branch to run this script - this is alpha stuff so expect things to change
client ||= OSC::UDPClient.new('localhost', 8000) #client.send("/track/1/clip/1/launch") #client.send("/track/2/clip/1/launch") client.send("/track/2/clip/stop") client.send("/track/1/clip/stop") use_bpm 110 client.send("/tempo/raw", 110) live_loop :flibble do with_synth :beep do play scale(:e3, :blues_minor).pick, release: 0.2 end sleep 1 end