-
... LONES /* freq amp 0 - 1 gate 0, 1 pos 0 - 1; pluck position c1 ?? Inverse of DC decay time. c3 ?? Hight frequency loss factor. inp SIGNAL release time in seconds. fB ?? Inharmonicity factor. */ //freq: 440, amp: 0.5, gate: 1, pos: 0.14, c1: ...
-
... s nil. BPFStack .ar( Impulse .ar(1), Vowel ( \a )) ~freq = 100; { BPFStack .ar( Decay .ar( Saw .ar(~freq, 0.1), ~freq.reciprocal), Vowel ( \a )) * EnvGen .kr( Env .perc, 2.0, doneAction: 2)}.play { BPFStack .ar( Decay .ar( Saw .ar(~freq, 0. ...
-
... s synthdef is unstable when instatiated, // muteSecs: mutes output and sets the decay to zero and then scales back to normal during the first muteSecs of the synth's life ~name = \pbell1; ~description = "a variant of a synthesized bell (uns ...
-
... r ldata; ldata = data.copyRange( 0, stlen - 1 ); ^ldata.meanF; } betweenPeakRiseDecay{ var ldata, result; result = Array.fill( 4, 0); if ( crossOn, { crossIDoff = 0 } ); if ( (crossIDon < data.size) and: (crossIDoff < data.size ), { ldata = ...
-
... bell", { arg freq = 440, amp = 0.5, rel = 2, ffreq = 440, rq = 1, delay = 0.25, decay = 1, panning = 0; var ampenv1 = EnvGen.kr(Env.perc(0.00000001, rel, amp * 0.707, -4)); var ampenv2 = EnvGen.kr(Env.perc(0.0000001, rel, amp, -8), do ...
-
... KAZI) /* freq amp 0 - 1 gate 0, 1 pos 0 - 1; pluck position c1 ?? Inverse of DC decay time. c3 ?? Hight frequency loss factor. inp SIGNAL release time in seconds. fB ?? Inharmonicity factor. */ //freq: 440, amp: 0.5, gate: 1, pos: 0.14, c1: ...
-
... frequency } }) } releaseNow { arg sec = 0; // release immediately using linear decay this.release(sec.abs.neg - 1); // -1 = instant decay, -0.5-1 = -1.5 = .5 sec decay } freeMsg { ^[[11, synth.nodeID]] } freeCallBack { ^nil } free { // rem ...
-
... ring_( "Resonance" ); StaticText (~layoutLeft, Rect (0,0, 80, 14)).string_( "Decay" ); StaticText (~layoutLeft, Rect (0,0, 80, 14)).string_( "Envelope" ); ~layoutLeft.decorator.nextLine; // make the synth controls // wave-type ...
-
... 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 ...
-
... 20000, hpF=40, mix=0.75, dur, amp=0.125, pan=0, out=0; var env = {arg dr, ml; Decay.ar(Impulse.ar(0),dr,ml)}; var src1 = SinOsc.ar( freq+env.(dur*Rand(0.05,0.125),freq*(IRand(4,16))),2pi, env.(dur,amp*mix) ); var src2 = SinOsc ...