reverb

a reverb effect, based on the rings reverb dsp code open sourced by mutable instruments. any bugs/issues you find are our own, report on the axoloti forum. Thanks to Olivier Gillet from Mutable Instruments for open sourcing their code. http://mutable-instruments.com
Author:
License: GPL
Github: fx/rngs/reverb.axo

Inlets

frac32buffer l

frac32buffer r

Outlets

frac32buffer l

frac32buffer r

Parameters

frac32.u.map amount

frac32.u.map time

frac32.u.map diffusion

frac32.u.map gain

frac32.u.map lowpass

Declaration
rings_fx::Reverb reverb;
Init
reverb.Init((uint16_t *)sdram_malloc(32768));
Control Rate
static float left[BUFSIZE];
static float right[BUFSIZE];

int i;

reverb.set_amount(q27_to_float(param_amount));
reverb.set_input_gain(q27_to_float(param_gain));
reverb.set_time(q27_to_float(param_time));
reverb.set_diffusion(q27_to_float(param_diffusion));
reverb.set_lp(q27_to_float(param_lowpass));

for (i = 0; i < BUFSIZE; i++) {
  left[i] = q27_to_float(inlet_l[i]);
  right[i] = q27_to_float(inlet_r[i]);
}

reverb.Process(left, right, BUFSIZE);

for (i = 0; i < BUFSIZE; i++) {
  outlet_l[i] = float_to_q27(left[i]);
  outlet_r[i] = float_to_q27(right[i]);
}

Privacy

© 2024 Zrna Research