-
... ask and returns the instance, like Pdef and Ndef . See also: TaskProxy , Task , Routine Graphical overview over all current Tdefs: TdefAllGui . Overview: JITLib First Example Tdef ( \x , { loop { 0.5.wait; "aaaaaaaaaaaaaazz" .scramble.postl ...
-
... et a continually increasing series. Writing everything out, it looks like this. Routine is used because this is a control structure that can interrupt what it's doing and remember where it was, so that it can pick up again at exactly that p ...
-
... ({ rrand(3, 5)}, Pseq ([1, 2, 3, 4, 5, 6], inf )*4+65), inf ); b = c.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , b.next.midicps]); 0.12.wait; }) }).play; )
-
... rved for high priority sound related tasks. If you want to control a gui with a Routine or Task, then you must either use the AppClock to play them, or use the defer mechanism, which schedules a Function in the AppClock : ( w= Window .new.f ...
-
... ar(freq, 0, env)) }).add; ) ( a = Prand (#[60, 61, 63, 65, 72], inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , a.next.midicps]); 0.2.wait; }) }).play; )
-
... , 38)).front, Rect (5, 5, 320, 20)); view.onClose_{controller.remove}; // run a routine to change the model's value: r{ 100.do{ model.value_(1.0.rand.postln).changed( \value ); 0.5.wait; } }.play( AppClock ) )
-
... = Place (#[0, 0, [0, 4, 7], [1, 5, 8], [2, 6, 9]], inf ) + 67; x = c.asStream; Routine ({ loop({ Synth ( "help-sinegrain" , [ \freq , x.next.midicps]); 0.17.wait; }) }).play; )
-
... ist = pat.list; pat.list = list.put(list.size.rand, 2); }, 15), inf ).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , (a.next*5+77).midicps]); 0.13.wait; }) }).play; )
-
... add; ) ( a = Prewrite (0, ( 0: #[2,0], 1: #[0,0,1], 2: #[1,0,1] ), 4).asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , (a.next * 5 + 70).midicps]); 0.1.wait; }) }).play; )
-
... ings], // specs i // input ); Out .ar(out, Pan2 .ar(z*e, pan)); }).send(s); r = Routine { var sustain = 8, transition = 3, overlap = 4; var period = transition*2+sustain/overlap; 0.5.wait; //wait for the synthdef to be sent to the server in ...