A level (volume) meter GUI component. The component
is a vertical bar displaying a green-to-reddish bar
for the peak amplitude and a blue bar for RMS value.
To animate the bar, call setPeakAndRMS at a
regular interval, typically around every 30 milliseconds
for a smooth look.
To do
add optional horizontal orientation
,
allow linear display (now it's hard coded logarithmic)
A level (volume) meter GUI component. The component is a vertical bar displaying a green-to-reddish bar for the peak amplitude and a blue bar for RMS value.
To animate the bar, call
setPeakAndRMS
at a regular interval, typically around every 30 milliseconds for a smooth look.add optional horizontal orientation
,allow linear display (now it's hard coded logarithmic)