Tracktion / tracktion_engine

Tracktion Engine module
Other
1.2k stars 152 forks source link

how can we get realtime dB value on timer #60

Closed imiskolee closed 3 years ago

imiskolee commented 3 years ago

hi:

i am building the Mixer widget now, and can not find a way to get the last dB value with a timer for update UI.

imiskolee commented 3 years ago

looks like it's LevelMeter Plugin and LevelMeasurer ?

drowaudio commented 3 years ago

Yes, just get the LevelMeasurer from the LevelMeterPlugin and call its getAndClearAudioLevel etc. methods on a timer.