sat

mod of a mod. A saturator distortion based on dist/soft and filter/lp1 - hp1 by Johannes Taelman,modded by sptnk,modded by me.
Author: Robert Schirmer
License: BSD
Github: rbrt/fx/sat.axo

Inlets

frac32.positive drive

frac32buffer in

Outlets

frac32buffer out

Parameters

frac32.u.map drive

Declaration
int32_t f;
int32_t feed;
int32_t satout = 0;
Audio Rate
int32_t ts =
    __SSAT(___SMMLA(satout, (inlet_drive + param_drive) << 4, inlet_in), 27);
int32_t tsq31 = ts << 3;
int32_t tsq31p3 = ___SMMUL(tsq31, ___SMMUL(tsq31, tsq31));
satout = ts + (ts >> 1) - (tsq31p3);

outlet_out = satout;

Privacy

© 2024 Zrna Research