vca2in1out

2 input s-rate mixer, square gain scale with external control inlets for both inputs
Author: Remco van der Most
License: BSD
Github: sss/gain/vca2in1out.axo

Inlets

frac32buffer input 1

frac32buffer in2

frac32 gain1

frac32 gain2

Outlets

frac32buffer mix out

Parameters

frac32.u.map.squaregain gain1

frac32.u.map.squaregain gain2

Audio Rate
int32_t accum = ___SMMUL(inlet_in1, param_gain1 + (inlet_gain1 << 2));
accum = ___SMMLA(inlet_in2, param_gain2 + (inlet_gain2 << 2), accum);
;
outlet_out = __SSAT((accum << 1), 28);

Privacy

© 2024 Zrna Research