Basic audio analyser which reports the peak sound level.
analyserPeakLevel(level => { console.log(level);}); Copy
analyserPeakLevel(level => { console.log(level);});
Note: Browers won't allow microphone access unless the call has come from a user-interaction, eg pointerup event handler.
Basic audio analyser which reports the peak sound level.
Note: Browers won't allow microphone access unless the call has come from a user-interaction, eg pointerup event handler.