-
... s the same conversion as \degree --> \note // PdegreeToKey(Pwhite(-4, 11, inf), Pkey(\scale), 12), Pwhite (1, 4, inf ) * 0.5, 5, inf ), \dur , 0.125 ).play; ) p.stop; Using envelopes as patterns Env supports the stream protocol: 'asStream' ...
-
... 5], 1), 0.25, 0.5, 0.75], #[1, 4, 3, 1].normalizeSum, inf), \sustain, max(0.12, Pkey(\dur) * Pwrand(#[0.2, 0.4, 0.8], #[0.6, 0.3, 0.1], inf)), \amp, Pexprand(0.02, 0.1, inf) ).play; ) p.stop; a.free; c.free; b.free; ⧉ ✔ helpfile source: /tm ...
-
... o put into the BP object ( Proto { ~noop = Pfunc { |ev| ev }; ~prep = { |base, bpKey| // BP(bpKey) may not exist yet ~base = if(base.isPattern and: { BP.exists(bpKey) }) { Plazy { Penvir(BP(bpKey).v, base, false) // not independent, use rea ...
-
... in Pchain ( Pbind (*[ctranspose: 0 + Pwhite (-0.1, 0.1)]), Pbind (*[mtranspose: Pkey ( \mtranspose ) + Pstutter (8, Prand ([0,[-3,0,2],[0,2,4,6,8,10]], inf )) ] ), Pn ( Pseq ([p, (type: \rest , dur: 0.4)]) ), Pbind (*[ db: Pstep ( Pseq ([-1 ...
-
... \bufnum, b, \amp, 0.4, \start, start * b.sampleRate, \dur, beatsInLoop, \time, Pkey(\dur) / Pfunc { thisThread.clock.tempo }, \rate, Pfunc { thisThread.clock.tempo / originalTempo } ), 0.5, Pn( Pfindur(4, Pbind( \instrument, \bell, \accent ...
-
... hortcut functionality of the common Pfunc { |e| ... } construct (and similar to Pkey). aSequenceableCollection.p Derives a Pbind from an array involving pa . aSequenceableCollection.pm(sym) Derives a Pmono with instrument sym (a Symbol) fro ...
-
... 1/4, 16), //bar 24 Pn(1/4, 12), 1 //bar 25 ], 1), \att, 0.1, \rel, Pkey(\dur)+0.5, \amp, 0.3 ).play; //Left hand Pbind( \instrument, "sawSynth", \midinote, Pseq([ 45, 57, 56, 57, 52, 57, 60, 59, 52, 59, 62, // ...
-
... s the same conversion as \degree --> \note // PdegreeToKey(Pwhite(-4, 11, inf), Pkey(\scale), 12), Pwhite(1, 4, inf) * 0.5, 5, inf), \dur, 0.125 ).play; ) p.stop; ⧉ ✔ Using envelopes as patterns Env supports the stream protocol: asStream tu ...
-
... n p.play; ( // manipulate basic pattern with Pchain Pchain( Pbind(*[mtranspose: Pkey(\mtranspose) + Pdup(8, Prand([0, [0, 3, -2], [0, 2, 4]], inf))]), // make some notes into triads Pbind(*[ctranspose: Pwhite(-0.1, 0.1)]), // add random det ...
-
Micro-Rythms and micro-melodies with granular synthesis. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code
... y,\rate,Pseq(((0..7).degreeToKey([0,2,4,5,7,9,11])+84).midicps,inf),\durGrain,1/Pkey(\rate)).trace(\durGrain).play Pdef(\essai).play /********************** MICRO-RYTHMES ******************************/ //use drum samples ( ~ ...