mix 2 st2 sq

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

Inlets

frac32buffer input 1

frac32buffer input 2

frac32buffer input 3

frac32buffer input 4

Outlets

frac32buffer mix out

frac32buffer mix out

Parameters

frac32.u.map.squaregain gain1

frac32.u.map.squaregain gain2

Audio Rate
int32_t accum = ___SMMUL(inlet_l1, param_gain1);
accum = ___SMMLA(inlet_l2, param_gain2, accum);
;
outlet_R = (accum << 1);
int32_t accum1 = ___SMMUL(inlet_r1, param_gain1);
accum1 = ___SMMLA(inlet_r2, param_gain2, accum1);
;
outlet_L = (accum1 << 1);

Privacy

© 2024 Zrna Research