-
... blocked threads unhang resume threads // example ( c = Condition .new( false ); Routine { 1.wait; "waited for 1 second" .postln; 1.wait; "waited for another second, now waiting for you ... " .postln; c.wait; "the condition has stopped waiti ...
-
... clear the AppClock's scheduler to stop it AppClock .clear *play(task) The task/Routine yields a float value indicating the delta (secs) for the AppClock to wait until resuming the Routine. ( var w, r; w = Window .new( "trem" , Rect (512, 2 ...
-
... rce) create a new instance with a function (the source). the source should be a routine function (see Tdef ) or a pattern of time values. *default a default source, if none is given. the default is a loop that does nothing with a 1.0 beat w ...
-
... OSC communications between 3D engine and SATIE server. Processes are arbitrary routines and could be associated with particle systems, granular-type sound events, patterns, sequences, but are not limited to generating sound (or other event ...
-
... d somewhere. t = TempoClock.new(); // Let's define a TempoClock to drive the routines. t.tempo = 4; synth = SynthDef( \test_synth, { | freq = 220 | // A really simple synth for example purposes var env = Env.perc( 0.05, 1, 1 ); ...
-
... } *check {arg num, func; if(classlock) { classchord = classchord.add(num); } { Routine({ classlock = true; classchord = [num]; waittime.yield; func.value(classchord.sort.removeDups); classlock = false; }).play; }; } init {} check {arg num, ...
-
... ise0 .kr(5.5,1000),0,[32,32])}.play(s); More Examples (send a SynthDef, run the routine then send a different SynthDef) ( // simple detune & pitchmod via FreqShift SynthDef ( "frqShift1" ,{ arg frq,detune=1.5; var e1,left,right; e1 = EnvGen ...
-
... entStreamPlayer canPause cleanup event mute muteCount next removedFromScheduler routine unmute xplay xstop Classes | Streams-Patterns-Events EventStreamPlayer : PauseStream : Stream : AbstractFunction : Object two streams combined by a bina ...
-
... 1, offset=0; ^super.new(genome).repeats_(repeats).offset_(offset) } asStream { ^Routine.new({ arg inval; var item, offsetValue; offsetValue = offset.value; repeats.value.do({ arg j; this.size.do({ arg i; item = genome @@ (i + offsetValue); ...
-
... e next value from the stream. It responds to reset by resetting the Stream. x = Routine { 6.do { arg i; i.yield; } }.squared; x.dump ( x = Routine { 6.do { arg i; i.yield; } }.squared; x.next.postln; x.next.postln; x.next.postln; x.next.pos ...