|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
Amplitude modulation (tremolo) with configurable LFO and analog-style shaping. More...
#include "../Core/AudioBuffer.h"#include "../Core/AudioSpec.h"#include "../Core/DenormalGuard.h"#include "../Core/DspMath.h"#include "../Core/Phasor.h"#include "../Core/Smoothers.h"#include "../Core/StateBlob.h"#include <algorithm>#include <atomic>#include <cmath>#include <cstddef>#include <cstdint>#include <vector>

Go to the source code of this file.
Classes | |
| class | dspark::Tremolo< T > |
| LFO-driven amplitude modulation with stereo auto-pan option. More... | |
Namespaces | |
| namespace | dspark |
| Main namespace for the DSPark framework. | |
Amplitude modulation (tremolo) with configurable LFO and analog-style shaping.
Implements a highly optimized amplitude modulator. Features zero-allocation processing, thread-safe parameter handling, and click-free analog-style waveforms (smoothed square wave). Optional stereo mode creates a 180-degree out-of-phase LFO on the right channel for wide auto-pan effects.
Threading: prepare() belongs to the setup thread; processBlock() and reset() belong to the audio thread. Setters are lock-free atomic publications, safe from any thread, consumed at the next processBlock(). Non-finite setter arguments are ignored.
Dependencies: Phasor.h, DspMath.h, AudioSpec.h, AudioBuffer.h, Smoothers.h, DenormalGuard.h, StateBlob.h.
Definition in file Tremolo.h.