Converts an audio stream to speech events in the browser