interPan

panner, with linear interpolation from k- to s-rate
Author: Remco van der Most
License: BSD
Github: sss/mix/interPan.axo

Inlets

frac32 gain input

frac32buffer audio input

Outlets

frac32buffer output

frac32buffer o2

Declaration
int32_t prev;
int32_t step;
Control Rate
step = (inlet_v - prev) >> 4;
int32_t i = prev;
prev = inlet_v;
Audio Rate
outlet_o1 = inlet_a + (___SMMUL(-inlet_a, i) << 5);
outlet_o2 = (___SMMUL(inlet_a, i) << 5);

i += step;

Privacy

© 2024 Zrna Research