-
( var spring, num; s.waitForBoot{ SynthDef(\part, {|out= 40, x= 0, y= 0, z= 0| var pan= x; var freq= y.linexp(-1, 1, 50, 2000); var amp= z*0.3; var src= SinOscFB.ar(freq, z.abs.lag(1), amp); Out.ar(out, Pan2.ar(src, pan)); }, #[\ir, 0.001, ...
-
( var spring, num; s.waitForBoot{ SynthDef(\part, {|out= 40, x= 0, y= 0, z= 0| var pan= x; var freq= y.linexp(-1, 1, 50, 2000); var amp= z*0.3; var src= SinOscFB.ar(freq, z.abs.lag(1), amp); Out.ar(out, Pan2.ar(src, pan)); }, #[\ir, 0.001, ...
-
... { var seconds = 400; var source, effect, verbBus, verb, pulse1, pulse2; SynthDef(\verb, {|outbus = 0, inbus, room = 0.15, damp = 0.5, seconds = 400| var mix = SinOsc.kr(0.06).range(0.50, 1); var input = In.ar(inbus); var ve ...
-
... nteger value in uniform distribution from lo to hi . It generates this when the SynthDef first starts playing, and remains fixed for the duration of the synth's existence. Class Methods IRand. new ( lo: 0 , hi: 127 ) Arguments: lo Lower lim ...
-
... alue in an exponential distributions from lo to hi . It generates this when the SynthDef first starts playing, and remains fixed for the duration of the synth's existence. Class Methods ExpRand. new ( lo: 0.01 , hi: 1.0 ) Arguments: lo Lowe ...
-
... ut may introduce amplitude modulation artifacts. ( // example signal to process Synth .play({ var z; z = Decay2 .ar( Impulse .ar(8, LFSaw .kr(0.25, -0.6, 0.7)), 0.001, 0.3, FSinOsc .ar(500)); }, 0.8) ) ( Synth .play({ var z; z = Decay2 .ar( ...
-
... thm of your // choice. Just make sure that the values returned are in [0..1]. SynthDef(\loudness, { |in = 0, shortRate = 6, longRate = 6| var sig, chain, loudness; sig = In.ar(in, 1); chain = FFT(LocalBuf(1024), sig); loudness = ...
-
... itClass { ServerBoot.addToAll({ 8.do{|i| //change here for more channels than 8 SynthDef("redSampler-"++(i+1), { |i_out= 0, bufnum, amp= 0.7, attack= 0.01, sustain, release= 0.1, gate= 1, offset= 0| var src= PlayBuf.ar( i+1, bufnum, BufRate ...
-
SynthDesc description of a synth definition Contains a description of a SynthDef, including its name, control names and default values. Information is also stored on its outputs and inputs and whether it has a gate control. See also: SynthD ...
-
... thods Examples /* Compare the values of RunningSum vs. MovingAverage */ /* load synthdefs */ ( s.waitForBoot({ var maxWin = 1.0; // maximum summing/averaging window, in seconds. // noise source: Pink Noise SynthDef(\noisrc, { |out| Out.ar(o ...