1 // patch to transmit OSC
2 // launch with opensound_demo_recv.ck
6 //aim the transmitter at our local port 6449
7 xmit.setHost ( "localhost", 6449 );
11 0.0 => float modrunning;
15 [55, 57, 55, 58, 55, 59, 53] => int notes[];
23 std.rand2f( 0.90, 1.10 ) => f;
26 running - modrunning => float diff;
27 ( 1.0 + diff ) / res => f;
30 xmit.startMesg ( "/sndbuf/buf/play", ",f");
32 res * f::second => now;
33 res * f +=> modrunning; //actual time
34 res +=> running; //track time