smVCA

"voltage controlled amplifier", multiplies v and a inputs, with lowpass filter smoothing from k- to s-rate. This makes envelopes a bit more dampened then with linear interpolation.
Author: Remco van der Most
License: BSD
Github: sss/gain/smVCA.axo

Inlets

frac32buffer audio input

frac32 gain input

Outlets

frac32buffer output

Declaration
int32_t prev;
int32_t step;
Audio Rate
step = step + ((inlet_v - step) >> 7);
outlet_o = ___SMMUL(inlet_a << 3, step << 2);

Privacy

© 2024 Zrna Research