-
... how dynamic scope placeholding of a ListPattern // 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 ...
-
... 5], 9) ); b = Pbind( \degree, Pseq(#[0, 2b, 3], 1), \dur, 2, \ctranspose, -7 ); Pn( Pfset({ ~tempo = #[1, 2, 4].choose.postln }, Pseq([ Event.silent(1.25), Ppar([a, b]) ]) ) ).play ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpS ...
-
... ), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( Pn( Pbind( \dur, Pconst(1, Prand([1, 0.02, 0.2], inf)), \instrument, \help_sinegrain, \degree, Pseries(0, 1, inf), \octave, 6 ) ).play; ) ⧉ ✔ helpfile source: / ...
-
... / definition for future reference in arbitrary Environments ( p = Pbind( \freq, Pn(PLgeom(\start, \grow, 50)) % 2000 + 400, \dur, 0.1 ); ) // prepare current Environment ( ~start = 100; ~grow = 1.1; ) // from ascending to random x = p.play; ...
-
... seg([0, 0, 0.25, 0.5, 0.75, 1], 10).linexp(0, 1, 0.01, 2), legato: 4, startPos: Pn(Pseg([0, 1], 20), inf), rate: Pwhite(1, 1).midiratio, loop: 0, group: Pkey(\newgroup), bufnum: Pkey(\sf1) ]) ); a.play; ) // a.render("sounds/test.aif", 40) ...
-
... inf), \instrument, \help_sinegrain, \degree, Pseries(0, 1, inf), \octave, 6 ); Pn( Pfindur(1, c) ).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pfindur.schelp link::Classes/Pfindur::
-
... , doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) } ).add; a = Pn( Plazy({ Pbind( \instrument, \help_sinegrain, \freq, Pgeom(rrand(200, 600), rrand(1.001, 1.01), rrand(10, 100)).wrap(100, 15000), \dur, Pgeom(rrand(0.2, 0.3) ...
-
... ,inf ), 0.25,0.1 ) ]).gui ) ⧉ ✔ ( Patch.new(\Stream2Trig, [ Stream2Trig( Pseq([ Pn(Pshuf([1,0,1,0],4),3), Pshuf([0.2,0,0.2,0],4)],inf), Pseq([0.25,0.25,0.25,0.125,0.125],inf) ), 84 ]).gui ) ⧉ ✔ A nice sequel would be to make a class that al ...
-
... PlazyEnvir({ |a = 0, b = 1| Pshuf([a, a, b], 2) }); // a, b default to 0, 1 x = Pn(a, inf).asStream; 10.do { x.next.postln }; Post.nl; e = (a: 100); 10.do { x.next(e).postln }; Post.nl; e = (a: 100, b: 200); 10.do { x.next(e).postln }; ) // ...
-
... 1, -1], #[2, 2], \sin), \dur, 0.125 ).play; p.stop; ⧉ ✔ The releaseNode and loopNode envelope parameters do not take effect, because they are meaningful only when used in a Synth with a gated EnvGen. When the envelope ends, the stream will ...