smthfade

smoothed crossfade between two inputs
Author: Remco van der Most
License: BSD
Github: sss/mix/smthfade.axo

Inlets

frac32buffer input

frac32buffer input

frac32.positive control

Outlets

frac32buffer output

Declaration
int32_t in;
Audio Rate
in = in + ((inlet_c - in) >> 8);

int32_t ccompl = ((128 << 20) - in);

{
  int64_t a = (int64_t)inlet_i2 * in;
  a += (int64_t)inlet_i1 * ccompl;
  outlet_o = a >> 27;
}

Privacy

© 2024 Zrna Research