|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
Real-time safe dry/wet mixer with parameter smoothing and mix laws. More...
#include "AudioBuffer.h"#include "AudioSpec.h"#include <algorithm>#include <atomic>#include <cmath>

Go to the source code of this file.
Classes | |
| class | dspark::DryWetMixer< T, MaxChannels > |
| Pre-allocated, SIMD-friendly dry/wet blender for real-time audio. More... | |
Namespaces | |
| namespace | dspark |
| Main namespace for the DSPark framework. | |
Real-time safe dry/wet mixer with parameter smoothing and mix laws.
Captures a copy of the dry (unprocessed) signal before an effect runs, then blends it with the wet (processed) signal. Includes block-level parameter smoothing to prevent zipper noise during DAW automation, and supports both Linear and Equal Power mixing laws.
Threading: pushDry() / mixWet() belong to the processing thread. setMixRule() is atomic and callable from any thread. prepare() and setLatencyCompensation() allocate and belong to the setup thread.
Dependencies: AudioBuffer.h, AudioSpec.h, C++20 standard library (<algorithm>, <atomic>, <cmath>).
Definition in file DryWetMixer.h.