If you need speech2text try this, https://ccoreilly.github.io/vosk-browser/