ep1

This is an equal powered scaled knob. The scaling is based on an offset and limited cosine, using the last 1/4 of the cosine wave to create a smooth curve, instead of a completely linear 0-64. The same algorihtm is used for the crossfader mix/xfade2 & mix/xfade3.
Author: Jaffasplaffa
License: BSD
Github: jaffa/math/ep1.axo

Inlets

frac32.positive control

Outlets

frac32 o

Control Rate
int32_t r;
SINE2TINTERP((inlet_i << 3) + (1 << 30), r)
outlet_o = (-(r >> 4)) + (1 << 27);

Privacy

© 2024 Zrna Research