-
... mples ( w = Window .new.front; v = ListView (w, Rect (10,10,120,70)) .items_([ "SinOsc" , "Saw" , "LFSaw" , "WhiteNoise" , "PinkNoise" , "BrownNoise" , "Osc" ]) .background_( Color .clear) .hiliteColor_( Color .green(alpha:0.6)) .action_({ ...
-
... goo" , { arg freq=440,formfreq=100,gate=0.0,bwfreq=800; var x; x = Formant .ar( SinOsc .kr(0.02, 0, 10, freq), formfreq, bwfreq ); x = EnvGen .kr( Env .adsr, gate, Latch .kr(gate,gate)) * x; Out .ar(0, x); }).send(s); x = Synth ( "sik-goo" ...
-
... v = EnvGen .kr( Env .perc(0.01, sustain, 0.2, amp), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a; a = Pnaryop ( \wrap , Pseries (0, 1, 12), [3, 7]).asStream; { a.do { |val| Synth ( \help_sinegrain , [ \freq , (val ...
-
... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = Pfsm ([ #[0,1], 67, #[0, 0, 3], 72, #[2], 73, #[0, 2], Pseq ([74, 75, 76, 77]), #[2, 3, 3], nil , nil ], inf ).asStrea ...
-
... send it to audio bus zero. ( SynthDef ( "sine" , { arg freq=800; var osc; osc = SinOsc .ar(freq, 0, 0.1); // 800 Hz sine oscillator Out .ar(0, osc); // send output to audio bus zero. }).writeDefFile; // write the def to disk in the default ...
-
... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var t; a = Pprob ([0, 0, 1, 0, 1, 1, 0, 0], 60, 80); t = a.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , ...
-
... noise onto the buffer d= SynthDef ( "noise" , { arg bus; var z; z = LFSaw .ar( SinOsc .kr(0.1).range(300,1000),[0,1]*pi) * 0.1; Out .ar(bus, z); }).play( s, [ \bus ,b.index] ); ) c.style = 0 // vertically spaced c.style = 1 // overlapped c ...
-
... ues and posts them - a little bit pointless! ( x = { var sig, chain, unp; sig = SinOsc .ar; sig = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); chain = FFT (b, sig); // Using the frombin & tobin args makes it much more efficient, limitin ...
-
... lass methods (not instance methods) of the class. So, for example, if you type: SinOsc . the window will display the options: ar(freq, phase, mul, add) buildSynthDef() buildSynthDef_() .... If you type the first few letters into the text bo ...
-
... Decay2 .kr( Impulse .kr(0), 0.05, 8, amp); out = RLPF .ar( LFPulse .ar(freq, 0, SinOsc .kr(0.12,[0,0.5pi],0.48,0.5), amp), freq * SinOsc .kr(0.21,0,4,8), 0.07 ); #a, b = out; DetectSilence .ar(a, 0.0001, doneAction: 2); Out .ar(i_out, Mix . ...