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

SignatureNameDescription
EnvelopeFollowerEffect()EnvelopeFollowerEffect
~EnvelopeFollowerEffect() override~EnvelopeFollowerEffect

Public functions

ReturnsNameDescription
boolInit
ma_node*GetNode
floatGetRms0..1 linear levels, the RMS over the last processed block and the smoothed peak; 0 while nothing has run through.
floatGetPeak

Function details

EnvelopeFollowerEffect

C++
EnvelopeFollowerEffect()

~EnvelopeFollowerEffect

C++
~EnvelopeFollowerEffect() override

Init

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() override

GetRms

C++
float GetRms() const

0..1 linear levels, the RMS over the last processed block and the smoothed peak; 0 while nothing has run through.

GetPeak

C++
float GetPeak() const
Generated from Audio/AudioEffect.h via audio.json · Oct 26, 2026Version 1.0.0