upsample cheap

Upsampling x2 with linear interpoation
Author: Jan Hofmann
License: BSD
Github: jho/filter/upsample cheap.axo

Inlets

frac32buffer input

Outlets

frac32buffer output, 1st part

frac32buffer output, 2nd part

Control Rate
int i = 0;
for (int j = 0; j < BUFSIZE; j += 2)
  outlet_out__1st[j] = outlet_out__1st[j + 1] = inlet_in[i++];
for (int j = 0; j < BUFSIZE; j += 2)
  outlet_out__2nd[j] = outlet_out__2nd[j + 1] = inlet_in[i++];

Privacy

© 2024 Zrna Research