-
... alues in a list in constant, but random order Source: ListPatterns.sc See also: Prand Description Returns a shuffled version of the list item by item, with n repeats . Class Methods Inherited class methods Instance Methods Inherited instanc ...
-
... ]]; Pbind(\note, PdegreeToKey( Pseq([1, 2, 3, 2, 5, 4, 3, 4, 2, 1], 4), Pdup(3, Prand(scales, inf)), 12 ), \dur, 0.25 ).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/PdegreeToKey.schelp link::Classes/Pdegree ...
-
... mp, Pwrand([0, 0.07], [1, 7]/8, inf), \midinote, Pshuf((30..68), inf) ],[ \dur, Prand([1, 1, 2]/4, inf), \amp, Pwrand([0, 0.07, 0.1], [0.3, 0.3, 0.4], inf), \freqlag, 0.2, \amplag, Prand([0.2, 0.4], inf), \midinote, Pbrown(70, 90, 5) ]], [\ ...
-
... entType Instance Methods Inherited instance methods Examples p = Pbind(\degree, Prand((0..7), inf), \dur, 0.3, \legato, 0.2); // watch the node structure as it changes s.waitForBoot({ s.plotTree }); // one group Pgroup(p).play; // two neste ...
-
... var indices = [0, 0, 2, 0, 4, 6, 7]; Pbind( \instrument, \help_pindex, \choice, Prand(indices, inf), \degree, Pindex(data, Pkey(\choice), inf), \dur, 0.7 ).play ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pindex ...
-
... ext.post; Char.tab.post } // with stream m = ShannonFinger.fill(30, Pseq([1, 2, Prand([3, 7])],inf).asStream); m.data m.lookUp; x = m.asStream; 60.do { x.next.post; Char.tab.post } SynthDescLib.read; // listen to the set ( Pbind( \degree, P ...
-
... dio, in: AlgaTemp({ SinOsc.ar(Rand(1, 1000)) }), time: Pwhite(0.01, 1), ), dur: Prand([0.5, 1, 2], inf) ), interpTime: 2); //The AlgaNode to modulate using both FM and AM ~sine = AlgaNode({ SinOsc.ar(\freq.ar(440!2)) }, [\freq, ~seq.freq, \ ...
-
... PmonoPar([ [ \dur, 1.0, \pan, Pser([-0.9, 0, 0.9], 8) ],[ \dur, 0.4, \freq, Pexprand(300, 1000, 24) ],[ \dur, 0.2, \amp, Pseq([0.05, 0.3], 30) ] ]).trace.play; ) ⧉ ✔ Ex.1b: Passing values by using the value conversion framework // if \degr ...
-
... ; // sound example: ( var clutch, pat, decision; decision = Pseq([Pn(true, 10), Prand([true, false], 10)], inf).asStream; pat = Pbind(\freq, Pseq([200, [300, 302], 400, 450], inf), \dur, 0.3); clutch = StreamClutch(pat, decision); clutch.as ...
-
... 0).postln }; ⧉ ✔ training by a stream m = MarkovSet.fill(100, Pseq([1, 2, 3, 4, Prand([5, 55, 555])], inf).asStream); 8.do { m.next(1).postln }; 8.do { m.next(4).postln }; 8.do { m.next(55).postln }; ⧉ ✔ training bit by bit m = MarkovSet.ne ...