-
... \midinote, Pseq([ [31, 33, 35], [32, 34, 36], [34, 37, 38]], 32), \dur, Prand([ 3, 4, 5, 4.5], inf), \att, 0.1, \rel, Pkey(\dur) + -1, \hifreq, 3000, \amp, 0.2, ).play; Pbind( \instrument, "sawSynth", \midinote, P ...
-
... vent morphing Pdef(\plop, Pbind( \instrument, \lead2, \degree, Pseq([0,2,4,Prand([0,2,4,7,9,-5,-3])],inf), \mtranspose, Pstep(Pseq([0,3,1,4, 0,2,1,3],inf),2), //\mtranspose, Pstep(Pseq([0,2,1,3],inf),4), \dur, 0.25, \sustain, P ...
-
... / map the audio to the "input" argument (see synthdef above) \modfreq, Pseq([2, Prand([3, 7], 1), 0.3, 0.4], inf), \rq, Pwhite().linexp(0, 1, 0.05, 0.3), \dur, 1, //1/Pseq([1, 3, 2, 1], inf), \legato, 2, \pan, 0, //Pseq([0, 1], inf) ) ]) ). ...
-
... ext.post; Char.tab.post } // with stream m = ShannonFinger.fill(30, Pseq([1, 2, Prand([3, 7])],inf).asStream); m.data m.lookUp; x = m.asStream; 60.do { x.next.post; Char.tab.post } SynthDescLib.read; // listen to the set ( Pbind( \degree, P ...
-
... lin(0, 1, 0.65, 0.45)}, 4, {~riff1.dynamic = 0.4}, 5, {~riff1.dynamic = Prand([0.75,0.65,0.55,0.45,0.35],inf)}, ); }); // Tone blank = StaticText(~subPanel[2], Rect(0,0,200,5)).string_(" "); label = StaticText(~subPanel ...
-
... dio, in: AlgaTemp({ SinOsc.ar(Rand(1, 1000)) }), time: Pwhite(0.01, 1), ), dur: Prand([0.5, 1, 2], inf) ), interpTime: 2); //The AlgaNode to modulate using both FM and AM ~sine = AlgaNode({ SinOsc.ar(\freq.ar(440!2)) }, [\freq, ~seq.freq, \ ...
-
... 7, 10]; avaroh = #[0, 1, 3, 5, 7, 9, 10]; synth = Synth .head(s, \ivg ); pat = Prand ([0, 2, 3, 4, 2, 1, 0, -1, -2], inf ); str = Pavaroh (pat, aroh, avaroh).asStream; Routine ({ loop({ synth.set( \freq , midicps(str.next + 60) ); rrand([0 ...
-
... PmonoPar([ [ \dur, 1.0, \pan, Pser([-0.9, 0, 0.9], 8) ],[ \dur, 0.4, \freq, Pexprand(300, 1000, 24) ],[ \dur, 0.2, \amp, Pseq([0.05, 0.3], 30) ] ]).trace.play; ) ⧉ ✔ Ex.1b: Passing values by using the value conversion framework // if \degr ...
-
... .postln }; // training by a stream m = MarkovSetN .fill(100, Pseq ([1, 2, 3, 4, Prand ([5, 55, 555])], inf ).asStream, 2); 8.do { m.next([1,2]).postln }; 8.do { m.next([3,4]).postln }; 8.do { m.next([4,5]).postln };
-
... = ~numOfPatterns.collect{|val| Pbind(*[dur: Pn(1/val, val)])}; ~randPattern = Prand(~patterns, 1); ~patterns = ~buffers.collect{|buf| Pbind(*[bufnum: buf]) <> ~randPattern}; SynthDef(\bufPlay, {|out = 0, bufnum, rateScale = 1, amp = 1 ...