minuit

MeterComponent and WaveComponent

Shows a sound level in decibels. WaveComponent follows a level from 0 to 1.

Java

Inside a PanelComponent constructor. The same call draws in every family and chroma.

Java
MeterComponent meter = add(new MeterComponent(at(new Box("meter", 10, 10, 160, 8))));
meter.level(rms, thresholdRms, System.currentTimeMillis());
WaveComponent wave = add(new WaveComponent(at(new Box("wave", 10, 22, 160, 10))));
wave.level(0.7F);

Levels

A made-up voice. The meter turns green above the gate.

MeterComponent and WaveComponent, levels: A made-up voice. The meter turns green above the gate.