-
... 4), \lin), dur: Pfunc({ thisThread.clock.beatDur }) * Pkey(\delta), // set dur to delta duration freq_l: Pcollect(`_, Ptuple({ Pbrown(0,1,0.05).linexp(0,1,40,4e3) } ! size, inf)), // array refs - freq envelope levels ...
-
... , 100)); cspec= ControlSpec(70,1000, 'exponential', 10, 440); slid.action_({x.set(\rate, cspec.map(slid.value)); }); slid.value_(0.3); slid.action.value; w.front; changed=false; ms.action_({b.sine1(ms.value, false, true, true) ...
-
... out = out*0.7; Out.ar(0, out); }).add; ) ( x = Synth("4for8") x.set(\width, 5, \level, 0.2) )
-
... eq = 70, bwfreq = 200, gate = 1, amp = 0.1| var env = EnvGen.kr(Env.adsr(releaseTime:0.5, decayTime:0.1), gate, doneAction:2); var sig = Formant.ar(freq * ((-1..1)/500 + 1), formfreq * env.range(0.01,2), bwfreq); sig = sig * env; Ou ...
-
... harmonic env = Env.asr( attackTime: attack, sustainLevel: amp, releaseTime: release).kr(doneAction: 2, gate: gate); carrier = carrier * env; Out.ar(0, Pan2.ar(carrier, pos)) }).add; ) ( // Using these settings you can ...
-
... (\trigfreq * (2 to the power of (this * an LFNoise UGen with range -1 to 1))); setting this to 0 will result in a constant trigger frequency startmul = 1, // \trigfreq also controls the frequency of an LFNoise UGen which changes ...
-
... e:8888/MusicTechnology/868 (scsolar 2007) ( var res = 20, scrsize = 200, val, set, win, scr, currentColor = Color.gray, setColor; win = Window.new("color picker",Rect(400, 400, 2*scrsize+20, scrsize),false).front; //win.view.backgroun ...
-
... gets a sound similar to that of a carousel at a carnival. Toy with the \dur and set to 1/2 and it gives a spookier run down sound or speed up 1/16 to get the sound of some one repeating "yayayaya". Reminiscent of Roller Coaster Tycoon ( Sy ...
-
... I wrote this visual, interactive demonstration. Use the slider at the bottom to set the frequency -- 1.0 corresponds to one cycle shown in the window. Tested with Qt and Swing GUIs. Should work in cocoa, but not tested. ( var screen = W ...
-
... createLoopr = {arg dur; var obj = ( grid: [], dur: 1, setDur: {arg self, dur; self.dur = dur; self.seq = self.dur.asStream; }, getDur: {arg self; self.dur; }, seq: 1.asStream, ...