frac32buffer input with unity gain
frac32buffer 1
frac32buffer 2
frac32buffer 3
frac32buffer 4
frac32buffer 5
frac32buffer 6
frac32buffer 7
frac32buffer 8
frac32buffer mix out
frac32.u.map volume
int32_t gain[32];
int solo[32];
int32_t in[32];
int Solo;
int mod;
int i;
int Solo = 0;
for (i = 0; i < mod; i++) {
Solo += solo[i];
Solo = Solo > 0 ? 1 : 0;
}
in[0] = inlet_1;
in[1] = inlet_2;
in[2] = inlet_3;
in[3] = inlet_4;
in[4] = inlet_5;
in[5] = inlet_6;
in[6] = inlet_7;
in[7] = inlet_8;
int32_t accum = 0;
for (i = 0; i < mod; i++) {
accum = ___SMMLA(in[i], ((Solo > 0) & (!solo[i])) ? 0 : gain[i], accum);
}
outlet_out =
___SMMUL(__SSAT(inlet_bus__in + (accum << 1), 28) << 3, param_volume << 2);