Running SC server on the bela and sending commands from SC IDE to bela to make sounds. Following example consistently crashes bela, can't access the bela IDE or my finder, so have to just pull out of USB socket.
Server.default = s = Server("belaServer", NetAddr("192.168.7.2", 57110));s.initTree;s.startAliveThread;
(
{
Mix(
Resonz.ar( //The Resonz filter has arguments input, freq, rq=bandwidth/centre frequency
Saw.ar([440,443,437] + SinOsc.ar(100,0,100)), //frequency modulated sawtooth wave with chorusing
XLine.kr(10000,10,10), //vary filter bandwidth over time
Line.kr(1,0.05, 10), //vary filter rq over time
mul: LFSaw.kr(Line.kr(3,17,3),0,0.5,0.5)*Line.kr(1,0,AnalogIn.ar( DC.ar( 0 ) ).exprange( 2, 10 )) //AM
)
)
}.play
)
Running SC server on the bela and sending commands from SC IDE to bela to make sounds. Following example consistently crashes bela, can't access the bela IDE or my finder, so have to just pull out of USB socket.
Server.default = s = Server("belaServer", NetAddr("192.168.7.2", 57110));
s.initTree;
s.startAliveThread;
Thanks!