8x smooth

exponential smooth for 8 inputs
Author: Remco van der Most
License: BSD
Github: sss/math/8x smooth.axo

Inlets

frac32 input

frac32 in2

frac32 in3

frac32 in4

frac32 in5

frac32 in6

frac32 in7

frac32 in8

Outlets

frac32 output

frac32 out2

frac32 out3

frac32 out4

frac32 out5

frac32 out6

frac32 out7

frac32 out8

Parameters

frac32.u.map time

Declaration
int32_t val1;
int32_t val2;
int32_t val3;
int32_t val4;
int32_t val5;
int32_t val6;
int32_t val7;
int32_t val8;
Init
val1 = 0;
val2 = 0;
val3 = 0;
val4 = 0;
val5 = 0;
val6 = 0;
val7 = 0;
val8 = 0;
Control Rate
val1 = ___SMMLA(val1 - inlet_in1, (-1 << 26) + (param_time >> 1), val1);
outlet_out1 = val1;

val2 = ___SMMLA(val2 - inlet_in2, (-1 << 26) + (param_time >> 1), val2);
outlet_out2 = val2;

val3 = ___SMMLA(val3 - inlet_in3, (-1 << 26) + (param_time >> 1), val3);
outlet_out3 = val3;

val4 = ___SMMLA(val4 - inlet_in4, (-1 << 26) + (param_time >> 1), val4);
outlet_out4 = val4;

val5 = ___SMMLA(val5 - inlet_in5, (-1 << 26) + (param_time >> 1), val5);
outlet_out5 = val5;

val6 = ___SMMLA(val6 - inlet_in6, (-1 << 26) + (param_time >> 1), val6);
outlet_out6 = val6;

val7 = ___SMMLA(val7 - inlet_in7, (-1 << 26) + (param_time >> 1), val7);
outlet_out7 = val7;

val8 = ___SMMLA(val8 - inlet_in8, (-1 << 26) + (param_time >> 1), val8);
outlet_out8 = val8;

Privacy

© 2024 Zrna Research