vcaST

"voltage controlled amplifier", multiplies v and a inputs, with linear interpolation from k- to s-rate
Author: Remco van der Most
License: BSD
Github: sss/gain/vcaST.axo

Inlets

frac32 gain input

frac32buffer audio input

frac32buffer a2

Outlets

frac32buffer output

frac32buffer o2

Declaration
int32_t prev;
int32_t step;
Control Rate
step = (inlet_v - prev) >> 4;
int32_t i = prev;
prev = inlet_v;
Audio Rate
outlet_o1 = ___SMMUL(inlet_a1, i) << 5;
outlet_o2 = ___SMMUL(inlet_a2, i) << 5;
i += step;

Privacy

© 2024 Zrna Research