|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
Multi-mode clipping processor with oversampling, multi-stage architecture, and time-aware slew limiting. More...
#include "../Core/AudioBuffer.h"#include "../Core/AudioSpec.h"#include "../Core/DspMath.h"#include "../Core/DryWetMixer.h"#include "../Core/Oversampling.h"#include "../Core/StateBlob.h"#include <algorithm>#include <atomic>#include <bit>#include <cmath>#include <cstddef>#include <cstdint>#include <memory>#include <numbers>#include <vector>

Go to the source code of this file.
Classes | |
| class | dspark::Clipper< T > |
| Real-time audio clipper with analog modeling and anti-aliasing features. More... | |
Namespaces | |
| namespace | dspark |
| Main namespace for the DSPark framework. | |
Multi-mode clipping processor with oversampling, multi-stage architecture, and time-aware slew limiting.
Zero-allocation in the audio thread and entirely lock-free. Four clipping modes are supported:
ceiling/phi, then transitions using a smooth rational asymptotic curve to the ceiling.Threading model:
Channel handling: without oversampling up to 16 channels are clipped; the dry/wet blend and the oversampled path cover only the prepared channel count, so keep the view within the prepared spec for consistent behaviour.
Dependencies: Core/AudioBuffer.h, Core/AudioSpec.h, Core/DspMath.h, Core/DryWetMixer.h, Core/Oversampling.h, Core/StateBlob.h.
Definition in file Clipper.h.