-
... ind: Pbind(\type, \happyEvent, \who, Prand(["Alice", "Bob", "Eve"], inf), \dur, Pwhite(0.1, 1.0, inf)).play; // parent event type for indirect calls: Event.addEventType(\test, { ("x was" + ~x.value).postln }, (x: { ~y + 1 }, y: 0)); (type: ...
-
... te register, small random add for pitch ~pitchBaseStream = (Pseq([60,80],inf) + Pwhite(0.0,5.0)).asStream; p = PHSpar(h, 2, // switchDur = half phase of sine wave Pseq([0,1], inf), // switchIndex [\center, ~pitchBaseStream] ! 2, [0.25, [\mi ...
-
... eries (addition). Pgeom(start, grow, length) Geometric series (multiplication). Pwhite(lo, hi, length) Random numbers, equal distribution ("white noise"). Like rrand(lo, hi) . Pexprand(lo, hi, length) Random numbers, exponential distributio ...
-
... ery time. Manipulating an EventStreamPlayer in Realtime ( p = Pbind ( \degree , Pwhite (0,12), \dur , 0.2, \instrument , \help_SPE4_CFString2 ); // e is an EventStreamPlayer e = p.play; ) ( // you can change the stream at any point in time ...
-
... ency = 0.03; // quant: -1 = start on a barline ( p = Pbind( \degree, Pseq([ -7, Pwhite(0, 7, 15) ], inf), \dur, 0.25, \amp, Pseq([0.5, Pn(0.1, 15)], inf) ).play(MIDISyncClock, quant: -1); ) p.stop; ⧉ ✔ helpfile source: /tmp/scquark_hs/ddwMI ...
-
... .01, \rel, Pwrand([0.1, 0.3], [0.95, 0.05], inf), \ffreq, 10000, \pan, Pwhite(-0.5, 0.5), \amp, 0.6 ).play.stop; // SCORE { ~keyMotif.reset.play(~bpm); 32.wait; ~keyBuild.reset.play(~bpm); 32.wait; ...
-
... laying on the same clock. Pbind( \curve, Pseg(Pseq([0, 1, 0], 1), 15), \degree, Pwhite(-7, 0, inf) + Pkey(\curve).linlin(0, 1, 0, 14).asInteger, \dur, 0.5, \tempo, Pkey(\curve).linlin(0, 1, 1, 10) ).play; ⧉ ✔ Node control \addAction How to ...
-
... is the variable name to which the pattern is assigned. For instance, "~delta = Pwhite(1, 8, inf) * 0.25" assigns the stream to the environment variable ~deltaStream. In asPattern, use BPStream to access the changeable streams as below. (Yo ...
-
... is the variable name to which the pattern is assigned. For instance, "~delta = Pwhite(1, 8, inf) * 0.25" assigns the stream to the environment variable ~deltaStream. In asPattern, use BPStream to access the changeable streams as below. (Yo ...
-
... k.word)})) ) ( Pdef(\vocable, Pbind( \degree, \rest, \word, Pclump(Pwhite(1,2), Pseq(["soup", "tackle", "qop", "asdf", "ho", "hi"],inf)), \dur, 0.25, \strum, 0.125, \func, Pfunc{|k| if(k.word.isString, { ...