allpass m

allpass reverb section with modulation input
Author: Johannes Taelman / Jan Hofmann
License: BSD
Github: jho/filter/allpass m.axo

Inlets

frac32buffer in

frac32buffer modulation input

Outlets

frac32buffer out

Attributes

spinner delay

Declaration
int16_t d[attr_delay];
int dpos;
Init
int i;
for (i = 0; i < attr_delay; i++)
  d[i] = 0;
dpos = 0;
Control Rate
int32_t g2;
Audio Rate
g2 = inlet_mod << 4;
int32_t dout = d[dpos] << 16;
int32_t din = ___SMMLA(g2, dout, inlet_in >> 1);
d[dpos++] = din >> 15;
outlet_out = ___SMMLS(g2, din << 1, dout >> 1) << 1;
if (dpos == attr_delay)
  dpos = 0;

Privacy

© 2024 Zrna Research