-
... d; ) ~bus = ~bus ?? { {Bus.audio(s, 2)} ! 10 }; ( Pdef(\zed, Ppar([ Pbind( \instrument, \default, \note, Pseq([0,4,Rest(1),-2],inf) + Pseq([Pn(0,8),Pbrown(0,4,1,8)],inf), \dur, 1/4, \amp, 0.1, \sustain, 0.1, ...
-
... pan); sig = sig * amp; Out.ar(out, sig); }).store; ) ( Pdef(\plopbla, Pbind( \instrument, \noisecomb2, \note, Pseq([[0,7],[1,8],[-1,5]]-2,inf), //\note, Pseq([0,1,2,3,4],inf) \octave, Pstep(Pseq([3,4],inf),Pseq([5,0.75],in ...
-
... pler, {RecordBuf.ar(In.ar(~fxBus), b.bufnum, loop:1)}).play; Pdef(\kick, Pbind(\instrument, \kick, \out, [~kickOut,~fxBus], \amp, [0.65, 0.24], \peakFreq, [102, 282], \attack, Pwrand([0.0035, 0.5], [0.95, 0.05], inf), ...
-
... Out.ar(outbus, sig!2); }).add; ) ( TempoClock.default.tempo = 1.8; Pbind( \instrument, \bass, \midinote, Pseq([ Pseq([Rest, 42, 42], 3), Pseq([Rest, 42, 42, 42]), Pseq([Rest, 42, 42], 3), Pseq([Rest, 4 ...
-
functors - Using Pdef for building abstract pattern functions while live coding by julianrohrhuber (julian.rohrhuber) Code
... ern) }); // this defines a function that maps one pattern to another. Pdef(\x, Pbind(\instrument, \Pdefhelp, \note, Pseq([0, 4, 7, 3, 0, 1, 0], inf))); Pdef(\y, Pdef(\stut) <> (pattern: Pdef(\x), stutter: Pseq([2, 2, 4, 3], inf)) <> (dur: ...
-
... }).add; }); Synth(\reverb,[\mix,-0.5],addAction:'addToTail'); ~rainbow = Pbind( \instrument, \rainbow, \dur, Prand([0.2,1.3],inf), \buf, ~scale1, \root, Prand([23,30,35,37],inf), \amp, Pwhite(0.15,0.5,inf), \bottom, Prand ...
-
... dur], 1), \legato, 1 ] ++ params.asKeyValuePairs; args.postln; score = Pbind(*args).asScore(dur); score.score.printAll; // add synthdef after g_new score.score = score.score.insert(1, [ 0, [\d_recv, synthdef.asBytes ] ] ...
-
... = [1, Pseq([1/2], 22*8), 2,2, 2,2, 4]; var instr = \mdapiano; var bA = Pbind(\instrument, instr ,\midinote, Pseq(bNotes), \dur, Pseq(bDur), \legato, 0.8, \vel, 60, \random, 0.0, \stret, 0.0); var tA = Pbind(\instrument, instr ...
-
Micro-Rythms and micro-melodies with granular synthesis. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code
... ar(sig,0)); }).add; ) a=Synth(\essai) TempoClock.tempo=1 Pdef(\essai,Pbind(\instrument,\essai,\degree,Pseq([[0,2,4],[2,4,6],[2,4,7],[4,6,8],[-1,0,2],[2,4,5]],inf),\dur,1,\amp,10,\octave,3)) Pdef(\essai,Pmono(\essai,\degree,Pseq( ...
-
... ToTail).yield; ~distCtrl = [\set, ~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, ...