allpass

allpass reverb section (32 bit internal buffer)
Author: Smashed Transistor based on Johannes Taelman
License: BSD
Github: tiar/filter/allpass.axo

Inlets

frac32buffer in

Outlets

frac32buffer out

Parameters

frac32.s.map.ratio g

Attributes

spinner delay

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

Privacy

© 2024 Zrna Research