-
... or = 1, tempo = 60| { var logical = 0, actual = 0, qtime = 0; var ttime, round; loop { ttime = time.next; logical = logical + ttime; round = (factor.next / tempo.next) * 60; qtime = logical.round( round ) - actual; actual = actual + qtime; ...
-
... or = 1, tempo = 60| { var logical = 0, actual = 0, qtime = 0; var ttime, round; loop { ttime = time.next; logical = logical + ttime; round = (factor.next / tempo.next) * 60; qtime = logical.round( round ) - actual; actual = actual + qtime; ...
-
... end{ outTask.stop; } createOutputTask{ outTask = Tdef( \miniHiveOut, { var msg; loop{ outMessages.copy.do{ |it,i| it.postln; xbee.sendMsgNoID( it[1][0], it[1].copyToEnd( 1 ) ); outMessages.remove( it ); if ( it[0] < this.redundancy ){ outMe ...
-
... t; Signal .sineFill(512, [1]).plot( "Signal 1" , Rect (50, 50, 150, 450)); play(loop, mul, numChannels, server) loads the signal into a buffer on the server and plays it. returns the buffer so you can free it again. loop - A Boolean whether ...
-
... , env)) }).add; ) ( a = Pseq (#[60, 61, 63, 65, 72], inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.2.wait; }) }).play; )
-
... = Routine { 199.yield; 189.yield; 200.idle(6); 199.yield; 189.yield; }; fork { loop { r.value.postln; 1.wait; } } ); // the value can also be a stream or a function ( r = Routine { 199.yield; 189.yield; Routine { 100.do { |i| i.yield } }.i ...
-
... , 150], 0, 0.2); inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_MagDiv(chainA, chainB); Out.ar(out, 0.1 * IFFT(chain)); }).play(s, [\ ...
-
... ply allows setting. Examples ( e = (amp: 0.1, dur: 0.2); Tdef(\test, { var dur; loop { dur = e.dur; (amp: e.amp, dur: dur, degree: 7.rand).play; dur.wait; }; }).play; ) e.put(\amp, 0.03); // just set it e.put(\amp, 0.1); e.softPut(\amp, 0.1 ...
-
... may be Patterns, Streams or other Items to be embedded. repeats Number of list loops. Defaults to 1. offset List index offset. Defaults to 0. Inherited class methods Instance Methods Inherited instance methods Examples ( s = Server.local; ...
-
... {"hello".postln};//should post when first soundfile done playing //test2 - looping through samples one after the other ( Routine({ var index= 0; var c= Condition.new; inf.do{ var a= Synth(\sample, [\buf, b[index], \rate, 1]) ...