-
... e (8 beat bars) ~songClock = TempoClock(1, 0); ~pat = (); ~pat.intro = Pbind(*[instrument: \bufADSR2, bufnum: ~buffers.steamSynth2, dur: 8, amp: Pn(1, 1), rateScale: 1, out: ~snareBus]); ~pat.thump = Ppar([ Pbind(*[instrument: ...
-
... re, kick drum; and a sawtooth synth used both for chords and a bass line in the Pbind demonstration. ( // Basic drum kit SynthDef("hihat", {arg out = 0, amp = 0.5, att = 0.01, rel = 0.2, ffreq = 6000, pan = 0; var env, snd; env = En ...
-
... snd = Pan2.ar(snd, panning); Out.ar(0, snd); }).add; ) //Pbinds ( ~oldfashioned = Pbind( \instrument, "granny2", \rate, Pseq([1, 0.5], 3.5), \amp, 0.05, \startPos, 0, \attack, 1, \release, 1, ...
-
... unch of "score snippets" // =================================== ( ~kick1 = Pbind( \instrument, "kick", \midinote, Pseq([1], inf), \amp, Pseq([1.5], inf), \rel, 0.72167044595617, \dur, Pseq([0.72, Rest(0.72), 0.72], inf), \g ...
-
... nch of "score snippets" // =================================== ( ~hihat1 = Pbind( \instrument, "hihat", \dur, Pseq([1/8, Rest(2/8), 2/8, 1/8], inf), \att, 0.01, \rel, Pseq([0.3, 1, 0.1, 0.3], inf), \ffreq, 11000, \pan, 0, ...
-
... snd = Splay.ar(snd); Out.ar(0, snd); }).add; ) //Collection of Pbinds (no .play) ( ~hihat = Pbind( \instrument, "hihat", \dur, Pseq([1/4, Rest(1/4), 1/4, Rest(1/4), 1/4, Rest(1/4), 1/8, 1/8, 1/8, 1/8], inf), \att ...
-
... n2.ar(sig, pan, amp).mean; Out.ar(out, sig); }).add; ); ( Pdef(\blik, Pbind( \instrument, \blik, \octave, 3, \degree, 0, \isRest, Pseq([ 1,0,0,0, 0,0,0,0, ],inf).coin.not, \legato, 8.59, \dur, 1, \amp, 0.1/2, ) ...
-
playing Pbinds with a MIDI controller (QuNeo, etc). // Running Fifths // (QuNeo demo) // // // Ctrl + A, then Ctrl + Enter s.waitForBoot({ MIDIIn.connectAll; a = Array.fill(8, {arg count; [count, count+7] }); f = {arg ve ...
-
... tclip; Out.ar(out, Pan2.ar(snd,pan,amp)); }).add; ) // Some testing Pbinds ( ~one = Pbind( \instrument, "play", \rate, 1, \dur, 64, \amp, Pseq([0.25], 1), \startPos, 0, \buffer, c, \panning, 0, \ffreq, 20, ); ...
-
... att)); Out.ar(0, Pan2.ar(carrier, pos)); }).add; ) ( ~firstsynth = Pbind( \instrument, "first", \midinote, Pseq([80], 64), \dur, Pseq([(1/8)], inf), \amp, Pwhite(0.15, 0.2), \att, 0.1, \rel, 3, \ ...