-
... on : Object Provide an inval for an event stream. Source: Patterns.sc See also: Pkey , Pchain This pattern is mainly used in two cases: using an event pattern as a stream directly a = Pbind(\note, Prand([1, 2, 3], inf)).asStream; a.next; // ...
-
... 2, 0.2, 0.2], 1), Pseq(0.1!12, 1) ], [0.4, 0.4, 0.2], inf), \decay, Pkey(\delta) * Pexprand(0.7, 4) ) ).play(quant:1); Pmono(\noise, \out, [~fxBus, ~noiseOut], \amp, 0.025).play; Pdef(\melody, Pbind(\i ...
-
How to generate random envelope but control it with pattern standard \dur and \legato mecanism by 0-2U (grirgz) Code
... \degree, Pseq([0],inf), \dur, Pseq([8,2],inf), \legato, 0.8, \tsustain, Pkey(\sustain) / Pfunc({ thisThread.clock.tempo }), // sustain is in beats, tsustain in seconds \env, Pfunc({ arg ev; // this method is not really shorter ...
-
... be something else, though, the \time key should be divided by the tempo: \time, Pkey(\delta) / Pfunc { thisThread.clock.tempo }, ⧉ ✔ ( b = Buffer.read(s, ExampleFiles.child); SynthDef(\stretchedFragments, { |out, bufnum, start, time = 1, st ...
-
... q(durations, inf), bend: Pfuncn({ |x| if(x < (1/2), 0.4, 1) }, inf) <> Pkey(\dur), ]), Pbind(*[ instrument: \hoover, amp: -20.dbamp, midinote: 74, dur: durations.sum * 2, susta ...
-
... fxo.asArray.includes(1).if { 0 }{ 0.2 } }, \a, 0.1, \att, 0.01, \rel, 0.1, \cd, Pkey(\att)+ Pkey(\rel) + 0.001 ); PLbindef(\echo, \fx, \echo, \dta, 0.06, \a, 0.5, \dec, Pwhite(0.3, 1.8), \cd, Pkey(\dec) ); PLbindef(\wah, \fx, \wah, \cf, Pwh ...
-
... (midiNum: midiNum, style: (row: i div: 4, column: i % 4 + 4 + 1) ) } ), ( key: \pkey, shared: (elementType: \pianoKey, midiChan: 0, spec: \midiVel), // was (0..120) - reduced it to likely default octave range elements: (48..72).collect { |n ...
-
... \cfreq, Pseq([ Pseries(120,30,76), Pseries(2400,-30,76), ],inf), \rq, Pkey(\samp)+Pwhite(0.1,0.15,inf).asStream, \atk, Pexprand(0.04,0.3,inf), \decay, Pexprand(6,15,inf), \level, Env(#[0,1,0],#[100,110],'lin'), \out, ~reve ...
-
... rces can be removed automatically. Data sharing Pattern Guide 06g: Data Sharing Pkey(key) Read the key in the input event, making previously-calculated values available for other streams. Penvir(envir, pattern, independent) Run the pattern ...
-
... dist[\id], ~dist[\msgFunc]]; }, [ Pbind(*[ #[type, id, msgFunc], Pkey(\distCtrl), \args, #[rate, amp, amt], dur: 0.1, rate: Pwhite(1, 50), amt: Pbrown(0.2, 1, 0.1), amp: Pseq([0.5], inf) ...