-
... // could be done with Plazy, // Pn defaults to repeats = inf. ( p = Pn(Plazy { Pseq(~a, 1) }); ~a = (60..70); x = Pbind( \midinote, p, \dur, 0.2 ).play; ) // First drawback: replacing of a new list doesn't have an immediate effect // as th ...
-
... his output, the value 3 appears a second time, before 4 had a chance to appear. Pseq([100, Pnshuf([1, 2, 3, 4], 3)], inf).asStream.nextN(20); -> [ 100, 3, 2, 1, 100, 3, 4, 2, 100, 4, 2, 1, 100, 2, 4, 3, 100, 1, 4, 2 ] ⧉ ✔ With local = false ...
-
... generative song ( // Scale degrees going up Pdef(\a, Pbind(\dur, 0.25, \degree, Pseq((0..3)))); // Scale degrees going down Pdef(\b, Pbind(\dur, 0.25, \degree, Pseq((3..0)))); // Random scale degrees Pdef(\c, Pbind(\dur, 0.125, \degree, Pwh ...
-
... ats the first octave ( p = PmonoArtic(\default, \legato, 1.01, \dur, 0.5, \oct, Pseq(#[-1, 0, 1], inf), \degree, Pn( PcollectFinal( { |x| x }, Pseries(0, 1, 8) + (7 * Pkey(\oct)), { |x, event| event.legato = 0.08; x } ), inf ) ).play; ) p.s ...
-
... elp key for your editor to open its help file. Quick reference Primary Patterns Pseq(list, repeats, offset) Play through the entire list repeats times. Like list.do . Prand(list, repeats) Choose items from the list randomly (same as list.ch ...
-
... midinote, p, \dur, 0.2 ).play; ) // replace list elements ~a[0] = 60.5; ~a[8] = Pseq([92, 80.5], 1); // len and step can be replaced by Patterns // PLseq defaults to repeats = inf ~len = Pstutter(5, PLseq([1, 2, 3])); ( ~len = 1; ~step = Ps ...
-
... run ( x = Pbind( \midinote, Ptuple(p!2), \dur, 0.1 ).play; ) // replace ( ~lo = Pseq((50..90)); ~hi = Pseq((50..90) + 15); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/miSCellaneous_lib/HelpSource/Classes/PLbrown.schelp link::Classes/PLbrown::
-
... }).add; ) //Use it. ( Pbind( \instrument, \help_dwgbowed, \dur , 0.25, \degree, Pseq([1,5,7+3], inf), \amp , Pseq([0.9,0.7,0.5],inf), ).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/DWGUGens/HelpSource/Cl ...
-
... , Pkey(\thisVal) + [-4, 5] ]], hsIndices: [ Pstutter(Prand([2, 3, 5, 11], inf), Pseq([0,1], inf)) ]); // for PHSpar this returns a collection of new paused help synths x = p.newPaused; t = p.asTask(quant: 0.3, hsStop: true); // You can spec ...
-
... s: ( var a; a = Pseries(0, 1, 12).sqrt; a.asStream.all; ) // some common cases: Pseq([1, 2, 3]).squared; Pseq([0.2, 0.5, 0.8]).coin; Pwhite(-100, 100, inf).abs; // sound example ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = ...