mix 2add

2 input k-rate mixer with with added gain instead of bus in
Author: Johannes Taelman philoop
License: BSD
Github: phi/mix/mix 2add.axo

Inlets

frac32 input 1

frac32 input 2

Outlets

frac32 mix out

Parameters

frac32.u.map add

frac32.u.map gain1

frac32.u.map gain2

Control Rate
{
  int32_t accum = ___SMMUL(inlet_in1, param_gain1);
  accum = ___SMMLA(inlet_in2, param_gain2, accum);
  ;
  outlet_out = __SSAT(param_add + (accum << 5), 28);
}

Privacy

© 2024 Zrna Research