DP *

DP AA ring modulator
Author: Smashed Transistors
License: LGPL
Github: tiar/math/DP STAR.axo

Inlets

frac32buffer input

frac32buffer input

Outlets

frac32buffer output

Declaration
float x0, x1, y0, y1;
Init
x0 = x1 = y0 = y1 = 0;
Audio Rate
x1 = x0;
x0 = inlet_a * (1.0f / (1 << 27));
y1 = y0;
y0 = inlet_b * (1.0f / (1 << 27));
outlet_result = (int32_t)((1 << 27) * (1 / 6.0f) *
                          (x0 * (2 * y0 + y1) + x1 * (y0 + 2 * y1)));

Privacy

© 2024 Zrna Research