-
... thFree = false; var synth = SynthDef(\GMLFO, { |amp = 0.25, rate = 1| var snd = Saw.ar(220, mul: amp * SinOsc.kr(rate)); snd = LPF.ar(snd, 880); Out.ar(0, snd!2); }).play; var keyboard = GMMultiButton() .states_(rates.collect({ |item| item. ...
-
... t = 0, freq = 440, amp = 0.1, detune = #[0.999, 1.001], gate = 1| var sig = Mix(Saw.ar(freq * (detune ++ [1]), amp)), env = EnvGen.kr(Env.adsr, gate, doneAction: Done.freeSelf); Out.ar(out, (sig * env) ! 2); }).add; SynthDescLib.global[\con ...
-
... k.resetActions; // boot the server s.boot; ( // play a sound x = { Splay.ar( LFSaw.ar([ \freq1.kr(700, lag: 0.3), \freq2.kr(150, lag: 0.3), \freq3.kr(100, lag: 0.3) ])) * 0.2 }.play; // add a spec for the controls Spec.add(\freq1, [100, 10 ...
-
... ar distortion function. Implements: this / (1.0 - abs(this)) Visualize: ( { var saw = LFSaw.ar(2 * 0.01.reciprocal); [saw, saw.distort] }.plot.superpose_(true) ) ⧉ ✔ . softclip Distortion with a perfectly linear region from -0.5 to +0.5. Im ...
-
... gging it from the defs window . This basically does the same as c[0].defName = \saw , and it keeps all the corresponding parameter settings. The unit itself is not replaced, it is just based on a new Udef. Synths U's are usually wrappers fo ...
-
... .kr(1,0,0.01,doneAction:2)); }).store; SynthDef(\leadsynth,{ Out.ar(0,Resonz.ar(Saw.ar(400,0.5).clip2(0.1)*4*Line.kr(1,0,0.1,doneAction:2),Line.kr(2000,400,0.1),0.2)); }).load(s); ) //test Synths Synth(\kicksynth); Synth(\leadsynth); //setu ...
-
... 6 step sequencer ⧉ ✔ Activate a ProxyChain // create a synthdef ( SynthDef(\percSaw, {|out| var sig = Saw.ar(\freq.kr(200.0)); var env = EnvGen.kr(Env.perc( attackTime: \attackTime.kr(0.01), releaseTime: \releaseTime.kr(0.1), ), doneAction: ...
-
... g i; (i+1) * 0.1 }!~numFlies; ~bForm = HOAEncPan.ar(~order, // Ambisonics order Saw.ar(~flyVoices, mul: 0.1), // pitch of the flies LFSaw.ar(~flyAz,0, 360), // azimut speed of the flies SinOsc.ar(~flyEle,0, -180, 90), // elevation speed of ...
-
... for data storage that will also encapsulate the unique logic for each part. We saw earlier that Penvir maintains a distinct environment for each stream made from the pattern. In other words, Penvir allows more complicated behavior to be mo ...
-
... b= Pbind(\out, 4, \pan, Pseq([-1, 1], inf), \amp, 0.7).play; //src1 c= {BPF.ar(Saw.ar(LFNoise2.kr(1).exprange(100, 1000)*[1, 1.01]))}.play(outbus: 6); //src2 a= RedMixer(#[4, 6], #[0]); //take stereo input from [4,5] and [6,7], mix to [0,1 ...