-
TestStreamKrDur : UnitTest { test_pseqSpec { var s,k; k = StreamKrDur( Pseq([0,1,2,3,4,5],inf), 0.25 ); s = k.spec; this.assertEquals(s.class,ControlSpec,"ControlSpec"); this.assertEquals( s.minval, 0, "minval 0"); this.assertEquals( s.maxv ...
-
... by Wrabel Pbindef(\dmwaveguideFlute, \instrument, "waveguideFlute", \midinote, Pseq([57, 60, [46, 62], [53, 62], [58, 62], [58, 64], [58, 62], [58, 60], [50, 57], [50, 57], [50, 57], [50, 60], [50, 57], [50, 53], [53, 55], [53, 55], [53, 5 ...
-
Pbindef(\kalimba, \instrument, "kalimba", \strum, 0.05, \dur, Pseq([ 1, 1/2, 1/2, 1, 1/2, 1/4, 1/4, 1, 1/2, 1/4, 1/4, 2, 1/2, 1/2, 1/2, 1/2, 1, 1/2, 1/4, 1/4, 1, 1/2, 1/4, 1/4, 2 ], 1) * 1.25, \degree, Pseq([ [1, 8], [2, 11], 12, [3, 9], 5, ...
-
... esync a.interpDur(0.5, time: 3, resync: true) //With resync + reset a.interpDur(Pseq([0.25, 0.25, 0.125], inf), time: 5, reset: true) //Other time params work too! a.interpStretch(0.5, time: 3, shape: Env([0, 1, 0.5, 1], [2, 3, 4])) //Using ...
-
... 7, 10 ], "Minor 7th") ], "Major, Minor, Minor 7th Chords" ); this.assertEquals( Pseq([\maj, \min, \m7], inf).asStream.nextN(10), [ [ 0, 4, 7 ], [ 0, 3, 7 ], [ 0, 3, 7, 10 ], [ 0, 4, 7 ], [ 0, 3, 7 ], [ 0, 3, 7, 10 ], [ 0, 4, 7 ], [ 0, 3, 7 ...
-
... (e.g. Pdef), Pbind and Pchain. Example s.boot; Pdef ( \one , Pbind ( \degree , Pseq ( (1..7), inf ), \dur , 1, \pan ,-1 ) ); Pdef ( \two , Pbind ( \degree , Pdef ( \one ).atKey( \degree ), \dur , 1, \pan , 1) ); Pdef ( \one ).play; Pdef ( ...
-
... ay starts the player ~player = AlgaPatternPlayer(( dur: Pwhite(0.2, 0.7), freq: Pseq([440, 880], inf) )).play; //\dur is not used with a player ~pattern = AP(( def: { SinOsc.ar(\freq.kr + \freq2.kr) * EnvPerc.ar }, freq: ~player[\freq], fre ...
-
... true, any time a rule returns an array of values, the array will be wrapped in Pseq so that the array items are output one by one. This is simply a convenience to avoid writing Pseq(array, 1) in every rule. reuseLevelResults: If true, the ...
-
... true, any time a rule returns an array of values, the array will be wrapped in Pseq so that the array items are output one by one. This is simply a convenience to avoid writing Pseq(array, 1) in every rule. reuseLevelResults: If true, the ...
-
... strument, "ksbass", \dur, 1/4, \rel, 0.7, \ctranspose, -18, \amp, 0.5, \degree, Pseq([-2, -2, \rest, -2, 0, 1, 0, 2, 4, 1, 1, \rest, -5, -4, -4, \rest, -3, -2, -2, \rest, -2, 0, 1, 0, 2, 4, 1, 1, \rest, -5, -4, -4, -3, -3, 0], 2), \impulseA ...