mix st sq

1 stereo input s-rate mixer, square gain scale
Author: Johannes Taelman Philoop
License: BSD
Github: phi/mix/stereomix.axo

Inlets

frac32buffer input l

frac32buffer input r

Outlets

frac32buffer mix out

frac32buffer mix out

Parameters

frac32.u.map.squaregain gain1

Audio Rate
int32_t accum = ___SMMUL(inlet_l, param_gain1);
int32_t accum1 = ___SMMUL(inlet_r, param_gain1);
outlet_L = __SSAT((accum << 1), 28);
outlet_R = __SSAT((accum1 << 1), 28);

Privacy

© 2024 Zrna Research