-
... 25])}.play(s); // modulating shift and phase { FreqShift .ar( SinOsc .ar(10), LFNoise2 .ar(0.3,1500), SinOsc .ar(500).range(0,2pi),[0.5,0.5])}.play(s); // the ubiquitous houston example ( b = Buffer .read(s, "sounds/a11wlk01.wav" ); { FreqS ...
-
... al.sineFill2([[8], [13, 0.5], [21, 0.25], [55, 0.125, 0.5pi]]); // add a little noise real.overDub( Signal .fill(size, { 0.2.bilinrand })); imag = Signal .newClear(size); cosTable = Signal .fftCosTable(size); complex = fft(real, imag, cosTa ...
-
... input = SoundIn .ar(0); inputAmp = Amplitude .kr(input); threshhold = 0.02; // noise gating threshold gate = Lag .kr(inputAmp > threshhold, 0.01); Convolution2L .ar(input*gate, g, 0, a, 1, 0.5); }.play; ) // one last example ( b = Buffer . ...
-
... eX .kr(80,87), 120, 151.13, 179.42, 0.2) }.scope(1, zoom:4); Aperiodic Sources: Noise. LF "Low Frequency" Noise Generators. LFNoise0 , LFNoise1 , LFNoise2 , LFClipNoise arguments: frequency, mul, add { LFClipNoise .ar( MouseX .kr(200, 10000 ...
-
... . read from an audio bus ( s = Server .local; s.boot; ) ( SynthDef ( "help-PinkNoise" , { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }).send(s); SynthDef ( "help-In" , { arg out=0, in=0; var input; input = In .ar(in, 1); Out .ar(out, inpu ...
-
... [ "sine" , Color .black, Color .rand], [ "saw" , Color .black, Color .rand], [ "noise" , Color .black, Color .rand], [ "pulse" , Color .black, Color .rand] ]) .action_({ arg butt; butt.value.postln; }); w.front; ) // does not do action b.va ...
-
... e probably bored you enough with technical details, so let's get back to making noise, which I assume is why you're reading this after all. Trust me though, all this work will pay off later, and believe it or not, we've already covered a fa ...
-
... input = SoundIn .ar(0); inputAmp = Amplitude .kr(input); threshhold = 0.02; // noise gating threshold gate = Lag .kr(inputAmp > threshhold, 0.01); Out .ar(0, Convolution2 .ar(input*gate, g, 0, a, 0.5)); }.play; ) // one more example ( b = ...
-
... synth's. see also SetBuf, ClearBuf // example: FFT ( { var in, chain; in = WhiteNoise .ar(0.1.dup); chain = FFT ({ LocalBuf (2048, 1)}.dup, in); chain = PV_BrickWall (chain, SinOsc .kr([0.1, 0.11])); IFFT (chain) // inverse FFT }.play; ) // ...
-
... s 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 diff ...