Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Namespaces | Functions
saturate.hpp File Reference
#include <cstdint>
#include <sbl/dsp/fixed.hpp>
Include dependency graph for saturate.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs functionality.
 
namespace  sbl::dsp
 DSP atoms for audio signal processing.
 

Functions

float sbl::dsp::soft_limit (float x)
 Smooth saturation with unity gain at origin.
 
float sbl::dsp::soft_clip (float x)
 Bounded soft clipper — output in [-1, 1].
 
int32_t sbl::dsp::soft_clip_24 (int32_t x)
 Soft saturation for 24-bit audio samples.