This is a demo using the not at all documented rnnoise-wasm dist to determine if input audio is voice. This also demonstrates rendering a simple live frequency chart for audio.
jivers/rnnoise-demo
A web demo of rnnoise-wasm to detect the presence of speech in-browser
JavaScriptCC0-1.0