|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
Ring modulation - multiplies the signal by an oscillator carrier. More...
#include "../Core/AudioBuffer.h"#include "../Core/AudioSpec.h"#include "../Core/DenormalGuard.h"#include "../Core/DspMath.h"#include "../Core/Phasor.h"#include "../Core/StateBlob.h"#include <algorithm>#include <array>#include <atomic>#include <cmath>#include <cstddef>#include <cstdint>#include <numbers>#include <vector>

Go to the source code of this file.
Classes | |
| class | dspark::RingModulator< T > |
| Signal x carrier ring modulation with mix control and zero-latency smoothing. More... | |
Namespaces | |
| namespace | dspark |
| Main namespace for the DSPark framework. | |
Ring modulation - multiplies the signal by an oscillator carrier.
Produces sum and difference frequencies by multiplying the input signal with a sine wave carrier. Classic effect for metallic, bell-like, or robotic tones. Includes a dry/wet mix control and parameter smoothing to prevent zipper noise during real-time automation.
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, StateBlob.h.
Definition in file RingModulator.h.