allpass m hq

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

Inlets

frac32buffer in

frac32buffer modulation input

Outlets

frac32buffer out

Attributes

spinner delay

Declaration
int32_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];
int32_t din = ___SMMLA(g2, dout, inlet_in >> 1) << 1;
d[dpos++] = din;
outlet_out = ___SMMLS(g2, din, dout >> 1) << 1;
if (dpos == attr_delay)
  dpos = 0;

Privacy

© 2024 Zrna Research