mix 2 mono

stereo to mono s-rate mixer, square gain scale
Author: Johannes Taelman/philoop
License: BSD
Github: phi/mix/mix 2 mono.axo

Inlets

frac32buffer input with unity gain

frac32buffer input 1

Outlets

frac32buffer mix out

Parameters

frac32.u.map.squaregain gain1

Audio Rate
int32_t accumr = ___SMMUL(inlet_l, param_gain1);
int32_t accuml = ___SMMUL(inlet_r, param_gain1);
outlet_out = __SSAT(((accuml + accumr) << 1), 28);

Privacy

© 2024 Zrna Research