mix 8 g

8 input k-rate mixer, shows gain units
Author: Johannes Taelman
License: BSD
Github: mix/mix 8 g.axo

IO Variants: 2


Variant: 1

Inlets

frac32 input with unity gain

frac32 input 1

frac32 input 2

frac32 input 3

frac32 input 4

frac32 input 5

frac32 input 6

frac32 input 7

frac32 input 8

Outlets

frac32 mix out

Parameters

frac32.u.map.gain gain1

frac32.u.map.gain gain2

frac32.u.map.gain gain3

frac32.u.map.gain gain4

frac32.u.map.gain gain5

frac32.u.map.gain gain6

frac32.u.map.gain gain7

frac32.u.map.gain gain8

Control Rate
int32_t accum = ___SMMUL(inlet_in1, param_gain1);
accum = ___SMMLA(inlet_in2, param_gain2, accum);
;
accum = ___SMMLA(inlet_in3, param_gain3, accum);
;
accum = ___SMMLA(inlet_in4, param_gain4, accum);
;
accum = ___SMMLA(inlet_in5, param_gain5, accum);
;
accum = ___SMMLA(inlet_in6, param_gain6, accum);
;
accum = ___SMMLA(inlet_in7, param_gain7, accum);
;
accum = ___SMMLA(inlet_in8, param_gain8, accum);
;
outlet_out = __SSAT(inlet_bus__in + (accum << 1), 28);

Variant: 2

Inlets

frac32buffer input with unity gain

frac32buffer input 1

frac32buffer input 2

frac32buffer input 3

frac32buffer input 4

frac32buffer input 5

frac32buffer input 6

frac32buffer input 7

frac32buffer input 8

Outlets

frac32buffer mix out

Parameters

frac32.u.map.gain gain1

frac32.u.map.gain gain2

frac32.u.map.gain gain3

frac32.u.map.gain gain4

frac32.u.map.gain gain5

frac32.u.map.gain gain6

frac32.u.map.gain gain7

frac32.u.map.gain gain8

Audio Rate
int32_t accum = ___SMMUL(inlet_in1, param_gain1);
accum = ___SMMLA(inlet_in2, param_gain2, accum);
;
accum = ___SMMLA(inlet_in3, param_gain3, accum);
;
accum = ___SMMLA(inlet_in4, param_gain4, accum);
;
accum = ___SMMLA(inlet_in5, param_gain5, accum);
;
accum = ___SMMLA(inlet_in6, param_gain6, accum);
;
accum = ___SMMLA(inlet_in7, param_gain7, accum);
;
accum = ___SMMLA(inlet_in8, param_gain8, accum);
;
outlet_out = __SSAT(inlet_bus__in + (accum << 1), 28);

Privacy

© 2024 Zrna Research