I have got the input of the microphone with Tone.JS library and I'm able to switch it on and off using a checkbox. I would like to calculate the decibel level and then display it on the screen in real-time.
Has anyone got any pointers for this, like code snippets or websites that could help me?
Any help is much appreciated.
Thanks, Alfie