-
... tates_([ ["sine", Color.black, Color.rand], ["saw", Color.black, Color.rand], ["noise", Color.black, Color.rand], ["pulse", Color.black, Color.rand] ]) .action_({ |butt| butt.value.postln; }); w.front; ) // does not do action b.value = 2; / ...
-
... r sustain A trigger/gate input to keep the resonator open (feeding it crackling noise) f0 The base scale for the frequency expressed in herz. This is sort of arbitrary and will be scaled by amount of modes and a combination of the other par ...
-
... instance methods Examples read from an audio bus: s.boot; ( SynthDef("help-PinkNoise", { |out = 0| Out.ar(out, PinkNoise.ar(0.1)) }).add; SynthDef("help-In", { |out = 0, in = 0| var input; input = In.ar(in, 1); Out.ar(out, input); }).add; ...
-
... meter s.waitForBoot({ b = Buffer.read(s, ExampleFiles.child); x = { var colum, noise, imp, delimp, mul = 1; imp = Impulse.kr(10); delimp = Delay1.kr(imp); colum = PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 1) * mul; // measure rms and Peak ...
-
... efers to one of these functions. Each of these wraps a particular UGen: 0 White noise (using LFNoise2 ) 1 Brownian movement (using LFBrownNoise2 ) 2 Lorenz attractors (using LorenzL ) 3 Feedback sine (using FBSineC ) 4 Onset detection (usin ...
-
... oes between -1 (left) and 1 (right). Take a look at this example: { Pan2.ar(PinkNoise.ar(0.2), SinOsc.kr(0.5)) }.play; ⧉ ✔ This uses a SinOsc to control the position (remember it outputs values from -1 to 1, or left to right), but uses a di ...
-
... alloc(s, 256); z = Buffer.alloc(s, 256); ) // analyse a short snippet of random noise ( { var src = LFDNoise3.ar(5000); ZeroXBufWr.ar(src, b, z, startWithZeroX: 0, doneAction: 2); Silent.ar }.play ) // plot buffer, most likely it doesn't st ...
-
... // watch the scope window for you binaural results s.scope(2); ⧉ ✔ Now encode a Noise source over VBAP with the Lebedev speaker positions and feed this 50 channels into the HOAEncLebedev50 e.g. for the 5th order. Then, binauralize the resul ...
-
... e; input = SoundIn.ar(0); inputAmp = Amplitude.kr(input); threshhold = 0.02; // noise gating threshold gate = Lag.kr(inputAmp > threshhold, 0.01); Convolution2.ar(input*gate, g.bufnum, 0, a, 0.5) }.play; ) // one last example ( b = Buffer.a ...
-
... PanB is the SuperCollider inbuilt equivalent. This first example encodes a PinkNoise source as a planewave and decodes to stereo. Server.default = s = Server.local.boot; ( var decoder; // First we will define our decoder // stereo decoder ...