chorus

chorus effect from the rings 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/chorus.axo

Inlets

frac32buffer l

frac32buffer r

Outlets

frac32buffer l

frac32buffer r

Parameters

frac32.u.map amount

frac32.u.map depth

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

int i;

chorus.set_amount(q27_to_float(param_amount));
chorus.set_depth(q27_to_float(param_depth));

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

chorus.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