DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
Loading...
Searching...
No Matches
EnvelopeGenerator.h File Reference

ADSR envelope generator for synthesis and dynamics. More...

#include "DspMath.h"
#include "AudioSpec.h"
#include <algorithm>
#include <cmath>
Include dependency graph for EnvelopeGenerator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dspark::ADSREnvelope< T >
 Classic ADSR envelope generator with exponential curves. More...
 

Namespaces

namespace  dspark
 Main namespace for the DSPark framework.
 

Detailed Description

ADSR envelope generator for synthesis and dynamics.

Provides per-sample envelope generation with configurable attack, decay, sustain, and release stages. The envelope output is a gain value in [0, 1] that can be applied to audio signals, filter cutoffs, or any modulation target.

Dependencies: DspMath.h, AudioSpec.h.

Definition in file EnvelopeGenerator.h.