-
... ynthDef("bass", { arg freq = 440, amp = 0.5, gate = 1; var snd, env, oscfreq, output; oscfreq = {freq * LFNoise2.kr(0.5).range(0.98, 1.02)}!3; snd = Splay.ar(LFSaw.ar(oscfreq, mul: amp)); env = Env.adsr(0.7, 4, 0, 0.1).kr(doneAction ...
-
... http://sccode.org/1-4Ww ( // first run synthdef SynthDef(\piano, {|midinote, outBus=0| Out.ar(outBus, MdaPiano.ar(midinote.midicps, decay:0.5)); // from sc3-plugins }).add; ) ( // now the rest ~dur = {|len1=4, len2=3| Plazy({ ...
-
... wibble = FreeVerb.ar(wibble, 0.3, 0.1, 0.9); // bit of reverb just to taste Out.ar(0, wibble.dup); }).memStore; ) // Choose your MP3... some will work well and most will work badly. // Oh and you'll need the MP3 Quark. m = MP3(". ...
-
... var env = EnvGen.ar(Env.linen(0.1, seconds - 0.2, 0.1), doneAction:2); var output = Mix( Pulse.ar( (400..550) * Line.ar(1, 2.5, seconds), * SinOsc.ar(0.2222) * SinOsc.ar(0.31) * SinOsc.ar(0.123).range(0. ...
-
... ).kr(doneAction: 2, gate: gate); carrier = carrier * env * amp; Out.ar(0, Pan2.ar(carrier, pos)) }).add; ) ( Pbind( \instrument, "AM", \dur, 1/4, \degree, Pseq([0,3,5,7,5,3], inf), \ctransp ...
-
... add(0), Array.rand(3, 0.1, 0.3).add(0.1), -5.rrand(5)), doneAction: 2) ); Out.ar(0, sig); }).add.name; }); data = Array2D(dims[1],dims[0]); buttons = Array.fill(dims[1], { |l| Array.fill(dims[0], { |i| Button( w, Rect( 5 ...
-
... ices; numVoices.do{ |i| q.fd[i] = Synth(\ks); }}; SynthDef(\ks, { |out=0,gain=0,delay=1,blend=440, ffreqs=#[350, 600, 2400, 2675, 2950], fgains=#[0, -20, -32 , -28 , -36], fbws=#[40, 80, 100, 120, 120], lag = 0.1| ...
-
... useDrag. Show also a way to write classes with events ( ~windowize = { arg layout; var win; win = Window.new; win.layout = layout; win.front; }; ~env_controller = ( new: { arg self, env, spec; self = self.deepCopy; ...
-
... d3) * 0.4; sig = car1 + car2 + car3 * env * amp; sig = Pan2.ar(sig, pan); Out.ar(0, sig); }).add; ) // 2. Ejecutar los Synths ( Synth(\droneFM, [\nFreq, 50.midicps]); Synth(\droneFM, [\nFreq, 57.midicps]); Synth(\droneFM, [\n ...
-
... ve fed into the frequency control voltage operating the UJT - frequency of about 8.5Hz, phased shifted of 180 degree, around 4.2 VPP */ ( SynthDef(\stylophone, { |freq = 220, vibAmp = 2, toneAmp = 5, atkTime = 0.01, trigger = 0| ...