bp74 / StageXL

A fast and universal 2D rendering engine for HTML5 and Dart.
http://www.stagexl.org
Other
880 stars 82 forks source link

How to show sound level with stagexl audio? #331

Open linuxerwang opened 4 years ago

linuxerwang commented 4 years ago

I'd like to create a sound meter to show the sound level, like this: https://ourcodeworld.com/articles/read/413/how-to-create-a-volume-meter-measure-the-sound-level-in-the-browser-with-javascript or https://webaudioapi.com/samples/visualizer/. I am not trying to visualize the input voice, but the level of sound played through AudioElementSound.

Can anybody give a hint how to do it?

Thanks!