-
... ( \stepper , { var rate, clock, index, freq, ffreq, env, out, rev, lfo; rate = MouseX .kr(1,5,1); clock = Impulse .kr(rate); env = Decay2 .kr(clock, 0.002, 2.5); index = Stepper .kr(clock, 0, 0, 15, 1, 0); freq = BufRd .kr(1, 10, index, 1, ...
-
... s but you do not need to { Out .ar(1, PinkNoise .ar(0.1)) }.play; { XOut .ar(0, MouseX .kr(0,1), PinkNoise .ar(0.1*[1,1])) }.play; // mouse x controls level synthDef.play(target, args, addAction) returns: a Synth Note that you need an out u ...
-
... SynthDef ( "help-VDiskin" , { arg bufnum = 0; Out .ar(0, VDiskIn .ar(1, bufnum, MouseX .kr(0.5, 2.0))); }).send(s); ) ( x = Synth .basicNew( "help-VDiskin" ); m = { arg buf; x.addToHeadMsg( nil , [ \bufnum , buf])}; b = Buffer .cueSoundFile ...
-
... = FFT ( LocalBuf (2048), in); chainB = PV_Copy (chain, LocalBuf (2048)); pan = MouseX .kr(0.001, 1.001, 'exponential' ) - 0.001; chain = PV_BrickWall (chain, pan); chainB = PV_BrickWall (chainB, -1 + pan); 0.5 * IFFT ([chain, chainB]); }.p ...
-
... 0, bufoffset=0, freq=240; var x; // mouse x controls the wavetable position x = MouseX .kr(0,7); Out .ar(out, VOsc3 .ar(bufoffset+x, freq+[0,1],freq+[0.37,1.1],freq+[0.43, -0.29], 0.3) ) }).play(s,[ \out , 0, \bufoffset , 0]); ) ( 8.do({ ar ...
-
... 's create a quick ring-modulator effect: z = { AudioIn .ar([1,2]) * SinOsc .ar( MouseX .kr(100, 1000)) }.play(u) Inside the bundle As an AudioUnit plugin, SuperColliderAU is packaged in a component bundle. All the files needed by SuperColli ...
-
... so can keep bus mappings. a control can be mapped to any control proxy : ~c = { MouseX .kr(300, 800, 1) }; ~y.map( \freq , ~c); // also here the context is kept: ~y = { arg freq=500; Formant .ar(4, freq * [1, 1.1], 70) * 0.1 }; xmap is a va ...
-
... , 200, 1)); Out .ar(out, PlayBuf .ar(1, bufnum, BufRateScale .kr(bufnum), trig, MouseX .kr(0, BufFrames .kr(bufnum)), 1) ) }).play(s, [ \out , 0, \bufnum , b]); // accelerating pitch SynthDef ( \help_PlayBuf , { | out = 0, bufnum = 0 | var ...
-
... m.maxFPS_(20); n.maxFPS_(20); m.start; n.start; ~meters = [m, n]; ) s.boot; // MouseX controls noise amp ( o = OSCresponder (s.addr, '/tr' , { arg time, resp, msg; {~meters[msg[2]].level = (msg[3] + 0.01).explin(0.01,1.01, 0, 1);}.defer; } ...
-
... stomize the parameters for more informative scoping { |in| MoogFF .ar(in, freq: MouseX .kr(10, 10000, 1), gain: MouseY .kr(4,0))}.scopeResponse Instance Methods kill Very important . This must be run when the parent window is closed to avoi ...