mix2cs

const + 2 input k-rate signed mixer
Author: Smashed Transistors
License: LGPL
Github: tiar/mix/mix 2 signed const.axo

Inlets

frac32 input 1

frac32 input 2

Outlets

frac32 mix out

Parameters

frac32.s.map const

frac32.s.map gain1

frac32.s.map gain2

Control Rate
{
  int32_t accum = ___SMMLA(inlet_in1, param_gain1, param_const >> 5);
  accum = ___SMMLA(inlet_in2, param_gain2, accum);
  outlet_out = accum << 5;
}

Privacy

© 2024 Zrna Research