RMtableosc

ringmodulator with internal wavetable oscillator (use tables containing up to 1024 1024-samples-long waveforms) audio input also phase-modulates the waveform
Author: Remco van der Most
License: BSD
Github: sss/dist/RMtableosc.axo

Inlets

frac32 shpLvl

frac32 pitch

frac32buffer in

int32 shape

Outlets

frac32buffer o

Parameters

frac32.s.map.pitch pitch

Attributes

objref shape

Declaration
uint32_t phase;
Control Rate
int32_t freq;
MTOFEXTENDED(inlet_pitch + param_pitch, freq)
Audio Rate
phase += freq;
outlet_o =
    inlet_in +
    ___SMMUL(attr_shape.array[((((inlet_in >> 17) + (phase >> 22)) & 1023) +
                               (inlet_shape * 1023)) &
                              attr_shape.LENGTHMASK]
                 << 3,
             ___SMMUL(inlet_shpLvl << 4, inlet_in << 4) << 3);

Privacy

© 2024 Zrna Research