16#ifndef SBL_DSP_COMP_WARM_SATURATOR_HPP_
17#define SBL_DSP_COMP_WARM_SATURATOR_HPP_
41 void process(
float* buf, uint16_t frames,
float drive) {
42 for (uint16_t i = 0; i < frames; ++i) {
43 buf[i] =
process(buf[i], drive);
Asymmetric distortion primitive.
float asymmetry() const
Current asymmetry depth.
void set_asymmetry(float k)
Set asymmetry depth (structural character parameter)
void process(float *buf, uint16_t frames, float drive)
Process a block in-place with constant drive.
float process(float x, float drive)
Process a single sample with per-sample drive.
float process(float x)
Process a single sample.
void set_asymmetry(float k)
Set asymmetry depth (not a signal — structural character parameter)
float asymmetry() const
Current asymmetry depth.
float process(float x)
Process a single sample.
Compositions: subcircuits of primitives.