-
... \sinGrain , [ \out , chan, \freq , freq, \dur , 0.005]); 0.1.wait; }.loop; }); TempoClock .default.schedAbs( TempoClock .default.elapsedBeats.roundUp(1), rout); }); Left channel Right channel Logical vs Physical time Logical vs Physical ti ...
-
... be advanced manually. In most cases you will probably want to use a Clock (e.g. TempoClock , SystemClock , AppClock ) instead, in which the march of time is handled for you. *new(clock, drift) clock : a clock, like SystemClock. drift : if t ...
-
... rder list patterns. // Scale segments, in the sequence: up, up, down (repeat) ( TempoClock .default.tempo = 1; p = Pbind ( \degree , Pseq ([ Pseries ({ rrand(0, 7) }, 1, { rrand(4, 8) }), // up (step = 1) Pseries ({ rrand(0, 7) }, 1, { rran ...
-
... the precise time when a Routine/Task/Pattern will start playing on a specified TempoClock. The standard scheduling model uses quant and phase to locate the starting time. They are evaluated with reference to the TempoClock's baseBarBeat, w ...
-
... ur , 2, \ctranspose , -7 ); Ppar ([a, b], inf ).play; ) SystemClock .sched(0, { TempoClock .default.tempo = [1, 2, 3, 5].choose.postln; 2 }); TempoClock .default.tempo = 1.0; // timing test: // parallel streams ( var a, b, x; var times, lev ...
-
... cale); DetectSilence .ar(sig, doneAction: 2); Out .ar(out, sig ! 2) }).add; ) ( TempoClock .default.tempo = 0.35953685899971 * 4; p = Ptpar ([ 0, Pbind ( \instrument , \oneLoop , \bufnum , b, \amp , 0.4, \start , 17841, \time , 0.3595368589 ...
-
... , (rrand(20, 50) * 2).midicps, \releaseTime , x.next]); 0.25.wait; }) }).play( TempoClock .default) ) ( { Linen .kr( Impulse .kr(2), 0.01, // sustain level is polled at time of trigger FSinOsc .kr(0.1).range(0, 1), 1.0, doneAction: 0) * Si ...
-
... the tonic is a flat 7, and a half step higher than that is the leading tone. ( TempoClock .default.tempo = 84/60; p = Pbind ( \scale , #[0, 2, 3, 5, 7, 8, 10], \root , 2, \degree , Pseq (#[rest, 4, 3, 4, 2, 4, 1, 4, 0, 4, -0.9, 4, 0, 4, 1, ...
-
... n; 1.wait; } }; x.source = { loop { thisThread .seconds.postln; 1.01.wait; } }; TempoClock .default.tempo = 2; x.source = { "the end" .postln }; x.source = { "one more" .postln }; x.source = { 10.do { "ten more" .scramble.postln; 0.25.wait; ...
-
... wait; }) }); Tdef ( \x , { loop({ thisThread .seconds.postln; 1.01.wait; }) }); TempoClock .default.tempo = 2; Tdef ( \x , { "the end" .postln }); Tdef ( \x , { "one more" .postln }); Tdef ( \x , { 10.do({ "ten more" .scramble.postln; 0.25. ...