-
... ar(out, (snd * amp)!2); }).add; Ndef(\ping, Pbind( \instrument, \ping, \scale, Scale.mixolydian, \n, Pwhite(1,4,inf), \octave, Pclump(Pkey(\n), Prand([6,7], inf)), // \degree, Pclump(Pkey(\n), Pwrand([0,2,3,4,5,6], [10,7,3,5,2, ...
-
... define a simple melody lick ( Pbindef(\cello_lick, \instrument, \cello, \scale, Scale.minor, \octave, Prand([3,4], inf), \degree, Prand([0,2,4,5,6,7], inf), \pan, 0.0, \dur, Pstutter(Prand([1,2,3,4], inf), Prand([0.25, 0.5, 1 ...
-
... }.dup(2), [0.01.rand,0.001.rand,0.5.rand].choose, 1.0); freq = [ Scale.minorPentatonic.degrees, Scale.minorPentatonic.degrees.choose ].choose + (12 * (2..6).choose); freq = freq.midicps; filterenv = En ...
-
... b.delay]); ) ( Pdef(\sine, Ppar([ Pbind( \instrument, \sine, \scale, Scale.harmonicMinor, \degree, Ppatlace([ Pseq([0,2,4,6],inf), Pseq([0,2,4,6],inf)+7 ],inf), \harmonics, Pbrown(-20,6,3,inf).clip(1, ...
-
... is its own inverse (applying it twice gives you the original signal back - but scaled with some constant). This code only contains the transformation. It could be an interesting experiment to use this building block for making filters by m ...
-
... eq([0,5], inf), Pwhite(1,4) ], 14), Pseq([8,7,6,5,4,3,2,1], 1) ], inf), \scale, Scale.ritusen, \octave, Prand([4,5], inf), \ctranspose, Pstutter(16, Pseq([0, 2], inf)) )); //////////////////// // 5 (~fm4[10] = \set -> Pbind ...
-
... dd; ) ( Pmono(\bass, *[ octave: 3, amp: 0.4, dur: 3.0, scale: Scale.minor, degree: Pseq([7, 6, 2, 3, 5], inf), legato: 1.1 ]).play; ) // contributors so far: nathan ho
-
... (will create a linear glisson sweep) amp: if(~prob.coin, {~volume}, {0}), //scale the amplitude of the original sound + random waveset omission from 0 - 100% pan: ~pan, //stereo panorama position legato: ~legato //scales the dur ...
-
... .plot; ) // Then run this whole block ( var factor = 8, waitTime = 0.3, scale = 0.3, sigSize = x.size * factor, sig, intermediateSig = nil, interp = 0, w = Window("inverse Fourier", Rect(400, 200, 800, 600)).front, m, uv, r, ...
-
... rmalizeSum; var env = Env(levels,durs,shape); EnvGen.kr(env, gate:trig, timeScale:dur).range(min, max); }; ~ctrls = {arg freq, trig, dur; var ctrls = (0..5).collect({arg val; var min = rrand(0.25, 1.0); var max = rrand(1.0 ...