vca

"voltage controlled amplifier", multiplies v and a inputs, with linear interpolation from k- to s-rate
Author: Johannes Taelman
License: BSD
Github: gain/vca.axo

Inlets

frac32 gain input

frac32buffer audio input

Outlets

frac32buffer output

Declaration
int32_t prev;
int32_t step;
Control Rate
step = (inlet_v - prev) >> 4;
int32_t i = prev;
prev = inlet_v;
Audio Rate
outlet_o = ___SMMUL(inlet_a, i) << 5;
i += step;

Privacy

© 2024 Zrna Research