-
... istance 0.19cm) // no HRTFs involved (yet..) var distances, globalDist, delays, amplitudes; globalDist = (0@0).dist( point ); distances = BinauralDistance( globalDist, point.angle.neg, 0.18/2 )[[0,1]]; delays = ((distances + 0.09 - globalDi ...
-
... , globalAngle, speakerAngleRange, focusFades, fadeArea; var adifx, angles, angleAmplitudes, angleLimit = 1; // rotate point to array pos = (inPos ? pos ? (0@0)).rotate( angle.neg ).asPoint; globalDist = pos.dist( 0 @ 0 ); // distance to cen ...
-
... , sineAmp: 0.5, sawAmp: 0.5], )).add; } } /** * Calculates voltage for supplied amplitude. * Maximum: 10 * Minimum: -10 * @return voltage that corresponds to the amplitude supplied. */ *amplitudevoltage{ arg amplitude; var voltage = 0.0; if ...
-
... ower of two; N is eventual size of wavetable // first kind *chebyTFill { |size, amplitudes, normalize = true| ^Signal.chebyTFill(size, amplitudes, normalize).asWavetableNoWrap } // second kind *chebyUFill { |size, amplitudes, normalize = tr ...
-
... se=0.1; // detect the slope (sensitive to transients) and use that to spike the amplitude // with variable attack and release. // you can do strange audio-refresh effects Amplitude.kr( Slope.kr(A2K.kr(audio),sensitivity), attack, release) * ...
-
... r, source, delay, amp, add ); } { ^[ delay, source * amp ] // return delays and amplitudes (if not in a SynthDef) }; } } // the actual panners: WFSPrePan : WFSBasicPan { // pre panning stage: /* - add large global delay (based on distance f ...
-
/* \amp A simple amplitude gain stage. Can set an amplitude (multiplier) and inverse phase. Note that this Udef can only make the input signal softer, not louder. amp: amplitude (0-1) inverse: inverse phase (false/true) numChannels: number ...
-
/* \amp A simple amplitude gain stage. Can set an amplitude (multiplier) and inverse phase. Note that this Udef can only make the input signal softer, not louder. amp: amplitude (0-1) inverse: inverse phase (false/true) numChannels: number ...
-
// removes (filters away) // drive by amplitude : a crossfade of slew limited vs. original Instr("remover.bySlew",{ arg audio=0.0,sensitivity=0.0,slope=500; var slewed,mix,add; slewed = Slew.ar(audio,slope,slope); add = sensitivity.round(1. ...
-
... is buffer with a series of Hann enveloped cosine wave harmonics using specified amplitudes. | | `packet2` | Fill this buffer with a series of Hann enveloped cosine wave harmonics using specified frequencies and amplitudes. | | `packet3` | F ...