OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
ossia::meters::peak_hold Struct Reference

Detailed Description

Peak hold: keeps the highest level for hold seconds, then lets it fall at fall_db_per_s. Fed once per block with that block's level.

Public Member Functions

void prepare (double rate, double hold_s=1.5, double fall_db_per_s=20.) noexcept
void feed (double level, int frames) noexcept

Public Attributes

double value {}
double hold_frames {}
double since {}
double fall_per_frame {}