Skip to main content

Module meter

Module meter 

Source
Expand description

Meter — audio-level bars (M-UI.4 / AUT-124).

Renders bar_count segments, lit from the left up to the integer count corresponding to level (clamped to [0, 1]). Pure presentation; the parent feeds in the current normalized level.

Structs§

MeterProps
Props for the Meter component.

Functions§

Meter
Required Props
lit_segments
How many of bar_count segments to light at level.