News for hackers. Stuff that matters.
Re:Whisper.cpp example running fully in the browser by NVI on Monday January 23, 2023 @06:35AM (#34487666)
Perhaps we should call it Web Speech API.
Re:Whisper.cpp example running fully in the browser by NVI on Monday January 23, 2023 @06:44AM (#34487723)
I was trolling, sorry.

This API already exists. It isn't nearly as good as Whisper.cpp (at least on macOS).

Docs: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecog...

Demo: https://codepen.io/Rumyra/pen/NWLyLe

Re:Whisper.cpp example running fully in the browser by dessant on Monday January 23, 2023 @07:20AM (#34487964)
An important limitation of Web Speech API is that it only accepts audio from a microphone, you can't transcribe an audio file or a WebRTC call.