SR to O2 6

x2 interpolator (upsampler)
Author: Smashed Transistors
License: BSD
Github: tiar/conv/SR_to_O2_6.axo

Inlets

frac32buffer.bipolar in

Outlets

frac32buffer.bipolar older

frac32buffer.bipolar y0

Declaration
float x0, x1, x2, x3, x4, x5, y0, y1;
Init
x0 = x1 = x2 = x3 = x4 = x5 = y0 = y1 = 0;
Audio Rate
x0 = x1;
x1 = x2;
x2 = x3;
x3 = x4;
x4 = x5;
x5 = (float)inlet_in;
outlet_y1 = (int32_t)x2;
outlet_y0 = (int32_t)((x5 + x0) * 0.025665914601895386f +
                      (x4 + x1) * -0.04277652433649233f +
                      (x3 + x2) * 0.517110609734597f);

Privacy

© 2024 Zrna Research