-
... re a sine without compensation { SinOsc .ar( MouseX .kr(300, 15000, 1)) * 0.1 }.play; // with one that uses amplitude compensation ( { var freq; freq = MouseX .kr(300, 15000, 1); SinOsc .ar(freq) * 0.1 * AmpComp .kr(freq, 300) }.play; ) // ...
-
... a two point differentiator. See also: HPZ2 // Compare: { WhiteNoise .ar(0.25) }.play; { HPZ1 .ar( WhiteNoise .ar(0.25)) }.play; // HPZ1 is useful to detect changes in a signal: // see also HPZ2 ( { var changingSignal = LFNoise0 .ar(1000); v ...
-
... ar trig = Dust .kr(10); SinOsc .ar( TExpRand .kr(300.0, 3000.0, trig) ) * 0.1 }.play; ) ( { var trig = Dust .ar(MouseX.kr(1, 8000, 1)); SinOsc .ar( TExpRand .ar(300.0, 3000.0, trig) ) * 0.1 }.play; )
-
... or { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufFrames .kr(0))) }.play; // indexing by hand { BufRd .ar(1, 0, K2A .ar( MouseX .kr(0, BufFrames .kr(0)))) }.play;
-
... also be an effect in itself. timeDispersion can be no larger than windowSize. ( play({ z = Blip .ar(800, 6, 0.1); PitchShift .ar(z, 0.02, Line .kr(0.1,4,20), 0, 0.0001) })) ( // pitch shift input - USE HEADPHONES to prevent feedback. play({ ...
-
... tput. (Default 0.1) { Trig1 .ar( Dust .ar(1), 0.2) * FSinOsc .ar(800, 0, 0.5) }.play To create a fixed duration gate ( SynthDef ( "trig1" ,{ arg dt = 0.125; var gate; gate = Trig1 .kr(1.0, dt); Offset Out .ar(0, SinOsc .ar(800, 0.3) * EnvGe ...
-
... (1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; ) // audio rate ( { var a, freq, trig; a = Dseq ({ 10.rand } ! 32, inf ); trig = Impulse .ar( MouseX .kr(1, 10000, 1)); freq = Demand .ar(trig, 0, a) * 30 ...
-
... r( Saw .ar(200,0.1), FSinOsc .kr( XLine .kr(0.7,300,20), 0, 3600, 4000), 0.2) }.play; // filter a modulator ( { var ctl = RHPF .kr( LFSaw .kr(2), SinOsc .kr( XLine .kr(0.07,30,20), 0, 35, 40), 0.05); SinOsc .ar(ctl * 200 + 500) * 0.2; }.pla ...
-
... Saw .ar([220, 530],0,0.3)* LFPulse .ar(12,0,0.3,0.4); [r[0], Delay2 .ar(r[1])]}.play; freq={ SinOsc .kr(0.5,0,4000,4200)}.play; w= Window ( "Filters" ).front; v = ListView (w, Rect (10,10,180,120)) .items_([ "No Filter" , "RLPF" , "RHPF" , ...
-
... // towards hi ( Routine ({ loop({ Synth .new( \help_LinRand ); 0.04.wait; }) }).play; ) // towards lo (doesn't work like that yet) ( Routine ({ loop({ Synth .new( \help_LinRand , [ \minmax , -1]); 0.04.wait; }) }).play; )