startupFadeIn

smooth volume intro at startup
Author: Remco van der Most
License: BSD
Github: sss/env/startupFadeIn.axo

Inlets

frac32buffer audio input

Outlets

frac32buffer output

Declaration
int32_t i;
int32_t step;
Init
step = 0;
Control Rate
step = step + (((1 << 31) - step) >> (21 + (((1 << 31) - step) >> 29)));
Audio Rate
i += ((step - i) >> 8);
outlet_o = ___SMMUL(inlet_a, i);

Privacy

© 2024 Zrna Research