xfade c

crossfade between two inputs with knob
Author: Johannes Taelman
License: BSD
Github: phi/mix/xfade c.axo

Inlets

frac32buffer input

frac32buffer input

Outlets

frac32buffer output

Parameters

frac32.u.map c

Control Rate
int32_t ccompl = ((128 << 20) - param_c);
Audio Rate
{
  int64_t a = (int64_t)inlet_i2 * param_c;
  a += (int64_t)inlet_i1 * ccompl;
  outlet_o = a >> 27;
}

Privacy

© 2024 Zrna Research