-
... * ~b[1]) }; p = Pbind ( \dev , Ptime ().collect(f), \midinote , Pkey ( \dev ) + Pfunc { ~add }, \amp , 0.05, \dur , 0.15 ); // add some harmonies q = Padd ( \midinote , [-12, -7, 0, 5], p); r = Padd ( \midinote , [0, 2.5], p); v = VarGui ([ ...
-
... lowing events. Basic example of a Pbind to get envir values: p = Pbind ( \dur , Pfunc { ~dur } * Pseq ([2,1,1], inf ), \legato , Pfunc { ~legato }, \amp , Pfunc { ~amp } ) // or p = Pbind ( \dur , PL ( \dur ) * Pseq ([2,1,1], inf ), \legato ...
-
... 5; //Pattern a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.5 }, dur: Pfunc { var val = ~dur.next; val.postln; val } )).play(chans:2); //Click b = AP(( def: { EnvPerc.ar(release: SampleDur.ir); Impulse.ar(0) }, dur: 1 )).play(chan ...
-
... \instrument, \temposync, \dur, Pwhite(0.1, 1.0, inf), \legato, 1, \tbeat, Pfunc({thisThread.clock.beats}), \tempo, Pfunc({thisThread.clock.tempo}), ));
-
... ]).sin * ~b[1]) }; p = Pbind( \dev, Ptime().collect(f), \midinote, Pkey(\dev) + Pfunc { ~add }, \amp, 0.05, \dur, 0.15 ); // add some harmonies q = Padd(\midinote, [-12, -7, 0, 5], p); r = Padd(\midinote, [0, 2.5], p); v = VarGui([70, 55].c ...
-
... grace notes p = Pbind ( \note , Pseq (x.notes, 1), #[midinote, delta, sustain], Pfunc ({ |ev| #[freq, dur, length].collect({ |key| ev[ \note ].tryPerform(key) }); }), \instrument , \default , \amp , 0.4 ).play; // apply arbitrary duration w ...
-
... grace notes p = Pbind ( \note , Pseq (x.notes, 1), #[midinote, delta, sustain], Pfunc ({ |ev| #[freq, dur, length].collect({ |key| ev[ \note ].tryPerform(key) }); }), \instrument , \default , \amp , 0.4 ).play; // apply arbitrary duration w ...
-
... Pn(Pshuf([\bd, \hh, \cp, \imp], 5)), \begin, Pn(Pseries(0, 0.002, 20)), \bandf, Pfunc { exprand(130, 10000) }, \dur, 0.1, \legato, Pwhite(0.01, 0.4) ) ).play; ) // if you want to simplify it a little // and keep with supercollider standards ...
-
... vent stream superclass: Pattern *new(makeFunction, patternOrPatternArray, cleanupFunction) Pproto uses the makeFunction to allocate resources (buffers, buses, groups) and create a protoEvent that makes those resources available to a pattern ...
-
... \dur, Pseq([0.75,0.75], 4), \amp, 0.3, \detune, 1.005, \ffreq, Pfunc({~ffreq}) ); t = Pmono(\bass, \midinote, Prand([36, 42, 41, 33], 4), \dur, Pseq([0.25, 0.25, 0.25, 0.75], 4), \amp, 0.3 ...