-
... olor.red; value = [ 0, 1 ]; synth_amount_range = [ 0.5, 10000 ]; synth = SynthDef(\poussiere, { |out = 0, freq = 440, amp = 0, amount = 0| var snd; snd = Dust2.ar(amount, 1); Out.ar(out, Pan2.ar(snd, 0, amp)); }).play; wi ...
-
... 01.wav"); buffer = Buffer.readChannel(s, soundFile.path, channels: [0]); { SynthDef(\grain, { |bufNum = 0, pos, dur, env = 0.05, pitch = 1, pan = 0, amp = 0.5| var envl, sig; envl = EnvGen.kr(Env.linen(env, dur, env, amp, -3), ...
-
... ccurrences of all the numbers wrapped between 0 en 11 Server.default.boot; ( SynthDef(\beep, { |freq=440, cutoff=1000, pan=0| Out.ar(0, (Pan2.ar(LPF.ar(VarSaw.ar(freq, width: 0.01), cutoff), pan))*0.4 )}).send(s); ) ( var highest=1, ...
-
... onfigure more than 4 operators by changing the value of the numops variable. ( SynthDef(\pm4, { var numops = 4; var fb = LocalIn.ar(numops); var gate = \gate.kr(1); var in_freq = \freq.ar(261).lag(\glis.kr(0)); var bend = \be ...
-
... \freq, Pseq( ( 440 * Scale.at( symbol ).ratios ++ [ 880 ] ) ) ).play }; SynthDef(\simple_sine, { | out = 0, amp = 0.25, freq = 110 | var snd, env, envctl, envgen; env = Env.perc( 0.01, 0.666 ); envgen = EnvGen.kr( env, doneA ...
-
... vibratoDepth, vibratoDepth])}, {synth.release; synth = nil}) }); // SynthDef SynthDef("formantVoice", { arg freqs = #[ 400, 750, 2400, 2600, 2900 ], amps = #[ 1, 0.28, 0.08, 0.1, 0.01 ], qs = #[ 0.1, 0.1, 0.04, 0.04, ...
-
fun patch using sloth canons to control places of a monzo ( SynthDef.new(\gauss, { arg freq = 500, dev = 0, svfFreq = 1000, decay = 0.1, attack = 0.01, k = 0.4, semRatio = 1; var sig, env, sigM, sigS; freq = freq.lag2(0.01); sig = ...
-
... 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 = ...
-
fairies and ghosts ( ~name = \ghosts; SynthDef(~name, { arg freq=440, detune=3.0, atk=6, sus=4, rel=6, curve1=1, curve2=(-1), minCf=30, maxCf=6000, minRq=0.005, maxRq=0.04, minBpfHz=0.02, maxBpfHz=0.25, lowShelf=220, ...
-
... ound Design) // Winter 2016 // tEtRiS: tHeMe AnD vArIaTiOnS //Synths ( SynthDef("Synth1", { arg freq = 440, modfreq = 1, amp = 0.5, attack = 0.01, dur = 2, pos = 0; var carrier, modulator, env; modulator = LFSaw.kr(modfreq).range ...