-
... t) ).postln ); { var index, in, out, f0, fdiff; var bufnum = b; in = Pulse .ar( MouseX .kr(t.minItem, t.maxItem)) * 0.1; f0 = Pitch .kr(in).at(0); index = IndexInBetween .kr(bufnum, f0); fdiff = index.frac * ( Index .kr(bufnum, index + 1) - ...
-
... in = WhiteNoise .ar(0.2); chain = FFT (bufnum, in); chain = PV_MagBelow (chain, MouseX .kr(0, 7)); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0, \bufnum , b]); ) ( SynthDef ( "help-magBelow3" , { arg out=0, bufnum=0, soundBufn ...
-
... 0.2 ) }.play; ) // mouse x controls decay, center of the ( { var decay; decay = MouseX .kr(0.99, 1.00001).min(1.0); SinOsc .ar( PeakFollower .ar( Dust .ar(20), decay) * 1500 + 200, 0, 0.2 ); }.play; ) // follow a sine lfo, decay controlled ...
-
... / LFNoise frequently seems stuck, LFDNoise changes smoothly. { LFClipNoise .ar( MouseX .kr(0.1, 1000, 1), 0.1) }.play { LFDClipNoise .ar( MouseX .kr(0.1, 1000, 1), 0.1) }.play // silent for 2 secs before going up in freq { LFClipNoise .ar( ...
-
... ; // LFNoise frequently seems stuck, LFDNoise changes smoothly. { LFNoise0 .ar( MouseX .kr(0.1, 1000, 1), 0.1) }.play { LFDNoise0 .ar( MouseX .kr(0.1, 1000, 1), 0.1) }.play // silent for 2 secs before going up in freq { LFNoise0 .ar( XLine ...
-
... from high to low freqs, LFDNoise changes smoothly. { SinOsc .ar( LFNoise2 .ar( MouseX .kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play { SinOsc .ar( LFDNoise3 .ar( MouseX .kr(0.1, 1000, 1), 200, 500), 0, 0.2) }.play // LFNoise quantizes time s ...
-
... cy: end frequency matches a second sine wave. ( { var trig, rate, x, sr; rate = MouseX .kr(0.2, 2, 1); trig = Impulse .ar(rate); sr = SampleRate .ir; x = Phasor .ar(trig, rate / sr); SinOsc .ar( [ LinLin .kr(x, 0, 1, 600, 1000), // convert ...
-
... ( { SinOsc .ar( Index .kr( LocalBuf .newFrom([ 200, 300, 400, 500, 600, 800 ]), MouseX .kr(0, 7) ), 0, 0.5 ) }.play; ) ( // indexing into a changeable table s = Server .local; t = [ 200, 300, 400, 500, 600, 800 ]; b = Buffer (s, t.size, 1); ...
-
... inA); chainB = FFT ( LocalBuf (2048), inB); chain = PV_BinWipe (chainA, chainB, MouseX .kr(-1, 1)); Out .ar(out, 0.5 * IFFT (chain).dup); }).play(s,[ \out , 0]); ) ( SynthDef ( "help-binWipe2" , { arg out=0, soundBufnum=2; var inA, chainA, ...
-
... s.boot; ( z = { // toy around with boost/cut BLowShelf .ar( SoundIn .ar([0,1]), MouseX .kr(40,6000, \exponential ), 1.0, // rs MouseY .kr(24.0, -24.0, \linear ), 0.5); // mul }.play) z.release; ( z = { // toy around with rs BLowShelf .ar( S ...