Repository navigation
Audio Sources? #241
|
What audio sources can this capture? Only the microphone? |
Replies: 2 comments 7 replies
|
You can send audio bytes from any source. For example I read TV streams, extract the audio and send it to the server that then sends back live subtitles. |
|
The standalone server exposes a binary WebSocket at The complete protocol is documented in docs/API.md. A headless file example is available with: wlk --pcm-input
wlk-test recording.wav --liveThe bundled browser UI captures the microphone. Capturing Zoom, Teams, or general system output requires a loopback or virtual audio device that your client can read and forward. The bundled Chrome extension can capture audio from a browser tab. |
The standalone server exposes a binary WebSocket at
/asr. A client opens that socket, sends encoded audio bytes, or 16 kHz mono s16le PCM when the server uses--pcm-input, reads the JSON updates, then sends an empty binary frame to finish.The complete protocol is documented in docs/API.md. A headless file example is available with:
The bundled browser UI captures the microphone. Capturing Zoom, Teams, or general system output requires a loopback or virtual audio device that your client can read and forward. The bundled Chrome extension can capture audio from a browser tab.