-
... slewDelay) ); outsig = LPF.ar(outsig, lpHz); outsig = BHiPass.ar(outsig, hpHz); Pan2.ar(outsig, panIndex); };
-
... them up in the environment. ( var a, b, c, n; n = 40; a = { arg freq, amp, pan; Pan2 .ar( SinOsc .ar(freq), pan, amp); }; b = { arg amp, pan, freq; Pan2 .ar( RLPF .ar( Saw .ar(freq), freq * 6, 0.1), pan, amp); }; c = { arg pan, freq, amp; P ...
-
... ,ffreq,LFNoise2.kr(1/t,1.4,1.5)).tanh; sig = RLPF.ar(sig,1e4,0.9).tanh; Pan2.ar(sig*amp,LFNoise2.kr(t.rand)); }; t.wait; }; }; // this was inspired by http://sccode.org/1-4EG // good way to get the reverb out of the ...
-
... ); snd = Limiter.ar(snd); DetectSilence.ar(in: snd, doneAction: 2); Out.ar(out, Pan2.ar(snd, pan)); }, metadata: ( credit: "by Josh Mitchell", category: \percussion, tags: [\pitched, \modal] ) ).add;
-
... mp, gate,0.1,1,c3,inp); DetectSilence.ar(son, 0.001, doneAction:2); Out.ar(out, Pan2.ar(son * 0.1, pan)); }).add; ) //Use it. ( a = Scale.new( #[0, 1, 3, 5, 7, 8, 10], 12, Tuning.new([0, 0.75, 2, 3.5, 4, 5, 6, 7, 8, 9, 10, 11]), "Custom" ); ...
-
... ind { SynthDef ( "tpulse2" , { arg out=0, freq=700, sawFreq=440.0; Out .ar(out, Pan2 .ar( SyncSaw .ar(freq, sawFreq, 0.1), SinOsc .kr(8)) ) }).send(s); s.sync; // wait until synthdef is loaded x = Synth .new( "tpulse2" ); a = Bus .control.s ...
-
... nvGen.kr(Env.perc(0.01, sustain), doneAction: Done.freeSelf) * amp; Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; ) Pdef(\x, Pbind(\dur, Pn(0.25, 3), \instrument, \gpdef)); Pdef(\y, Pchain(Pbind(\degree, Prand([5, 9, 0], inf), ...
-
... numChannels = 1, no panning is done. If numChannels = 2, panning is similar to Pan2. if numChannels > 2, pannins is the same as PanAz. envbufnum - the buffer number containing a singal to use for the grain envelope. -1 uses a built-in Hann ...
-
... ( SynthDef(\grain, {arg globenv = 1, outbus, freq, dur, amp = 1; Out.ar(outbus, Pan2.ar(SinOsc.ar(freq, 0, Line.kr(amp, 0, dur) * globenv))) }) ); // 5 iterations a = CtkEvent(0.0, 5, 5, server: s); a.function_({arg event, group, envbus, in ...
-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... Osc.ar(fundamental.lag(0.5) * ratio); sig = sig * env * amp.lag(0.5); sig = Pan2.ar(sig, pan); //sig = FreeVerb.ar(sig); //sig = HPF.ar(sig, 30); //DetectSilence.ar(sig, doneAction: 2); Out.ar(out, sig); }).add; SynthD ...