class
EnvelopeFollowerEffect
Envelope follower — a passthrough tap that publishes the level of what runs through it: the RMS of the last block and a peak envelope with an attack/release, both read from any thread. What lip-sync and a meter read; the audio is untouched.
- Module
- Audio
- Header
#include "Audio/AudioEffect.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
EnvelopeFollowerEffect() | EnvelopeFollowerEffect | |
~EnvelopeFollowerEffect() override | ~EnvelopeFollowerEffect |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | Init | |
ma_node* | GetNode | |
float | GetRms | 0..1 linear levels, the RMS over the last processed block and the smoothed peak; 0 while nothing has run through. |
float | GetPeak |
Function details
EnvelopeFollowerEffect
C++
EnvelopeFollowerEffect()~EnvelopeFollowerEffect
C++
~EnvelopeFollowerEffect() overrideInit
C++
bool Init(ma_node_graph* graph, uint32_t channels, uint32_t sampleRate, float attackMs = 5.0f, float releaseMs = 60.0f)GetNode
C++
ma_node* GetNode() overrideGetRms
C++
float GetRms() const0..1 linear levels, the RMS over the last processed block and the smoothed peak; 0 while nothing has run through.
GetPeak
C++
float GetPeak() constGenerated from Audio/AudioEffect.h via audio.json · Oct 26, 2026Version 1.0.0