-
... at sound takes to travel that distance t = d/340. 3 - calculate amplitude decay due to that distance a = 1/d 4 - delay sound by the delay time and multiply by amplitude. */ // your speaker positions p = 112.collect{ |i| Poin ...
-
... numIRs.collect{ arg nth; // nth is here not used, but can be useful to scale decay time. [0] ++ 0.dup(100) ++ Array.fill( numSamples, { arg i; (i%nextmod==0).if { nextmod= rrand(80, 120); (i.asFloat/numSample ...
-
... ty.ar(16/rt,0,Dseq([60,68,67,59,61,64,65].midicps,inf)); src = Saw.ar(freq)*Decay.ar(Impulse.ar(rt),1/rt,0.25); //src = SoundIn.ar(0); loc = LocalIn.ar(2)+src; loc = FreqShift.ar(loc,-1); loc = loc+DelayC.ar(loc,0.2,freq.recipro ...
-
... s multi-voice detuning and stereo expansion for a nice, wide feel, as well as a decaying low pass filter over the course of the sound. Be careful when using higher notes or else the filter may clip. ( SynthDef("bass", { arg freq = 440, am ...
-
... ef(\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({ var dur = len1; inf.do{|n| var overlap = (n % ...
-
... loop:1); // snare //input= WhiteNoise.ar(0.125) + SinOsc.ar(200, mul:0.125) * Decay.ar(Impulse.ar(1/4),1); Out.ar(0, input * mix + (1-mix * PartConv.ar(input, ~fftsize, ~irspectrum.bufnum, 0.25)) ); }.play; )
-
... | out=0, referencefreq=130, amp=0.5, freq=440, buffer=1, gate=1, attack=0.1, decay=0.2, sustain=0.6, release=2, filtercutoff=10000, filterresonance=1.0, filterattack=0.01, filterdecay=0.2, filtersustain=0.8, filterrelease=2, filtergain=1 ...
-
... attack = 0.02, release = 0.5, ffreq = 1000, rq = 0.1, panning = 0, delay = 0.3, decay = 1; var snd, env; env = Env.perc(attackTime: attack, releaseTime: release, level: amp).kr(doneAction: 2); snd = PlayBuf.ar( numCh ...
-
... trig = Impulse.ar(4/timA); // Used to progress pos and pos2 as well as trigger Decay and reset Phasor. If you're ciurious on how exactly buffers work in this work please go to: https://mycelialcordsblog.wordpress.com/2015/11/09/glitch-buff ...
-
... // if you like bass wobbles SynthDef(\wobble, { arg out=0, wflo=1, wfhi=6, decay=0, gate=1, wfmax=8500, freq, iphase; var env = Linen.kr(gate, releaseTime: 0.01, doneAction: Done.freeSelf); var son = MoogVCF.ar( in: ( Pulse ...