sat fat

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

Inlets

frac32.positive drive

frac32buffer in

Outlets

frac32buffer out

Parameters

frac32.u.map drive

int32.hradio fat

bool32.tgl smooth

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 << (4 - param_fat);
int32_t tsq31p3 = ___SMMUL(tsq31, ___SMMUL(tsq31, tsq31));
satout = ts + (ts >> param_smooth) - (tsq31p3);

outlet_out = satout;

Privacy

© 2024 Zrna Research