-
... nt Pfunc({ arg igs; (igs.delta * rrand(0.9,2.0)) }), TempoPlayer.new ], Prand([ Pn(0.125,16), Pn(0.25,8), Prand([0.5,0.25,0.125,0.3],4), 0.5,0.75,2.0],inf) // in beats ).play ) Chord changes however crazy the durations get, the current chor ...
-
... 5.5, 6.25], \legato, 0.2, \amp, Prand([0.03, 0.05, 0.07], inf) ]], hsIndices: [ Pn(Pshuf([0,0,1,1],1), inf) ] ).play(c,q); ) // stop x, help synths still playing, producing values for y x.stop; // resume x x.play(c,q); // freeing the PHSpar ...
-
... a duration stream ( Pbind( \degree, Pseries(0, 1, inf).fold(-7, 7), \dur, Pseq([Pn(0.125, { rrand(3, 6) }), Rest(0.25)], inf) ).play ) ⧉ ✔ Alternatives to Rest In addition to Rest, in events, rests can be specified in two other ways (legacy ...
-
... , // so this should be in sync p = Pbind(\instrument, \click, \freq, Pseq([900, Pn(400, 3)], inf)).play(l, quant: 4); // In Tasks, you should handle latency yourself: ( r = Task { loop { s.makeBundle(s.latency, { Synth(\click, [freq: expran ...
-
... (Undocumented class) Plambda - create a scope (namespace) for enclosed streams Pn - repeatedly embed a pattern Pgate - A gated stream that only advances when a particular event key is true. Pplayer - (Undocumented class) Pprotect - evaluat ...
-
... add random detuning to notes Pbind(*[\scale, Scale.minor]), // alter the scale Pn(Pseq([p, (type: \rest, dur: 1.0)])), // repeat the pattern after a 1 second pause Pbind(*[ db: Pstep(Pseq([-10, -13, -13, -11, -13, -13], inf), 0.1) - 10, mt ...
-
... [Pseq(#[rest, 3, 2, 1, 0, -0.9, 0, 1, 2, -3, -1.9, -0.9, 0, -0.9, 0, 1, 2], 1), Pn(4, 16)], inf), \dur, 0.25 ).play; ) ⧉ ✔ "Multichannel" expansion In a SynthDef, using an array as the input to a UGen expands the UGen into an array of UGens ...
-
... e: // the output stream consists of three values, then 'nil' ad infinitum Pseed(Pn(1000, 1), Pwhite(1, 10, 3)).asStream.nextN(10); ⧉ ✔ pattern Inherited class methods Instance Methods Inherited instance methods Undocumented instance methods ...
-
... ind( \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/ddwMIDI/HelpSource/Classes/MIDISyncClock.schelp link::Classe ...
-
... cerProxy defaultInitClock Inherited class methods Instance methods play stop stopNow triggerOneEvent free reset resetq prepareForPlay isPlaying clock quant leadTime setLeadTime nextBeat eventSchedTime canStream voicer asEventStreamPlayer as ...