-
... 1, [\midinote, Pkey(\thisVal) + Pseq([0,1],inf), \legato, 0.2 ] ], hsIndices: [ Prand([0,1], inf) ] ).play; ) p.free; // hsIndices also accepts collections of indices or patterns thereof, // referenced by ~theseVals (which is always a colle ...
-
... nt as in basic example above \default .pVarGui(pReplace: [ \dur , PL ( \dur ) * Prand ([2,1,1], inf )] ).gui; // adding a pattern pair after the main block of pairs, // same effect as before \default .pVarGui(pAfter: [ \dur , Pkey ( \dur ) ...
-
... ttern method patterns can be turned into midi files as well: ( p = Pbind( \dur, Prand( [0.25,0.5,1], inf ), \freq, Pwhite( 440, 880 ), \db, Pwhite( -40,-10 ), \legato, Pwhite( 0.25, 4 ) ); m = SimpleMIDIFile( "~/Desktop/testPat.mid" ); m.in ...
-
... r(LFTri.kr(1).round(1.0.rand) + 1 * 180 + [0, 1], 0.04) * 0.3 }, ], inf), \dur, Prand([3, 2, 4], inf) ) ).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Ndef.schelp link::Classes/Ndef::
-
... \p ).play(1); BP ( \p ).degree = Pbrown (0, 14, 4, inf ).round; BP ( \p ).dur = Prand ([ Pn (0.0625, 4), Pn (0.125, 2), 0.25, 0.5], inf ); BP ( \p ).stop(1); BP ( \p ).free; Why go through the extra layer of the PR? You could just chuck the ...
-
... \p ).play(1); BP ( \p ).degree = Pbrown (0, 14, 4, inf ).round; BP ( \p ).dur = Prand ([ Pn (0.0625, 4), Pn (0.125, 2), 0.25, 0.5], inf ); BP ( \p ).stop(1); BP ( \p ).free; Why go through the extra layer of the PR? You could just chuck the ...
-
... er, v, \degree, Pwhite(-7, 7, inf), \dur, Pwhite(1, 3, inf) * 0.25, \legato, Pexprand(0.5, 3, inf), \gate, Pexprand(0.1, 0.3, inf), \ffreq, Pexprand(500, 2500, inf) ).play; ) p.stop; ⧉ ✔ The \voicerArtic event type uses notes with infinite ...
-
... y3.play; ( ~ama = Pbind( \instrument, "am1", \midinote, Prand([72, 79, 77, 79, 82, 79, 87, 86, 84, 82, 84, 79], 20), \ctranspose, [-12, 0, 4], \dur, Pseq([Pn(0.2, 5), 0.3], inf), \amp, 0.2, \att, Pwh ...
-
... ern].embedInStream(inevent) } ); b = (note: [3, 5]); c = (freq: 402, dur: 0.3); Prand([a, b, c], inf).trace.play; ) // change the events while playing c[\freq] = [900, 1002, 1102]; c[\freq] = [200, 101, 1102]; ⧉ ✔ A generator for dictionari ...
-
... bal.read; p = Pbind ( \degree , Pwalk ((0..14), Pstutter ( Pwhite (1, 4, inf ), Prand (#[-2, -1, 1, 2], inf )), Pseq (#[-1, 1], inf ), 0), \delta , 0.25, \sustain , 0.2, \instrument , \default ).trace.play; p.stop; Debugging infinite loops ...