-
... wn event model you would just pass in your own protoEvent to the play method. ( Pbind ( \instrument , Prand ([ \help_SPE7_BerlinB , \help_SPE7_CFString1 ], inf ), \degree , Pseq ([0,1,2,4,6,3,4,8], inf ), \dur , 0.8, \octave , 3, \amp , 0.0 ...
-
... gz .ar( Impulse .ar(rate * [1, 1.2]), freq, dt)*0.1 }; a.play; ( a[1] = \set -> Pbind ( \dur , Prand ([1, 0.5], inf ), \freq , Pwhite (200.0, 1000, inf ), \rate , Pstutter (4, Prand ([1, 3, 6, 10], inf )), \dt , Pwhite (0.01, 0.1, inf ) ) ) ...
-
... l.) // This is a really useful trick: like Pfindur but for value patterns ( p = Pbind ( \degree , Pif ( Ptime ( inf ) < 4.0, Pwhite (-4, 11, inf )), \dur , 0.25 ).play; ) Pstep(levels, durs, repeats): Repeat a 'level' value for its correspo ...
-
... higher than that is the leading tone. ( TempoClock .default.tempo = 84/60; p = Pbind ( \scale , #[0, 2, 3, 5, 7, 8, 10], \root , 2, \degree , Pseq (#[rest, 4, 3, 4, 2, 4, 1, 4, 0, 4, -0.9, 4, 0, 4, 1, 4, 2, 4, -3, 4, -1.9, 4, -0.9, 4, 0, 4 ...
-
... ities of this device: a.caps; // boot the server s.boot; // simple example: p = Pbind( \degree, ( PhidSlot( 0, 3, a, inf )*12 ).round(1), \dur, 0.25 ).play; p.stop; // more complex example, showing multichannel expansion and sequences of sl ...
-
... n Array of Floats - curvature values for each segments. // change a parameter ( Pbind ( \note , Pseg ( Pseq ([1, 5], inf ), Pseq ([4, 1], inf ), \linear ), \dur , 0.1 ).play; ) ( Pbind ( \freq , Pseg ( Pseq ([400, 1500], inf ), Pseq ([4, 4] ...
-
... t the spec a.spec.map a.caps; // boot the server s.boot; // simple example: p = Pbind( \degree, ( PhidKey( \lx, a, inf )*12 ).round(1), \dur, 0.25 ).play; p.stop; // more complex example, showing multichannel expansion and sequences of slot ...
-
... , 200, 8000), 0.1).softclip * 0.8); }, [ \ir , 0]).add; ) ( var p, q, r, o; p = Pbind ( \degree , Prand ((0..7),12), \dur , 0.3, \legato , 0.2); q = Pfxb (p, \echo , \dtime , 0.2, \decay , 3); r = Pfxb (q, \distort , \pregain , 20, \amp , 0 ...
-
... o = value.linlin(0, 127, 0.1, 2.5) }, num: 1); // num: 1 means modwheel ) ( p = Pbind ( \degree , Pwhite (-7, 12, inf ), \dur , Pwrand ([0.25, Pn (0.125, 2)], #[0.8, 0.2], inf ), \legato , Pfunc { ~legato } // retrieves value set by MIDI co ...
-
... te notes: ~kik = Penvir (~kikEnvir, Pn ( Plazy ({ ~init.value; ~addNotes.value; Pbindf ( Pbind ( \instrument , \kik , \preamp , 0.4, \dur , 0.25, *(~pbindPairs.value(#[amp, decay2])) ), \freq , Pif ( Pkey ( \amp ) > 0, 1, \rest ) ) }), inf ...