Promote to production: Voice to Text tool - #62
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Transcribe speech to text fully on-device via Whisper (transformers.js / onnxruntime-web, WebGPU->WASM). Record from the mic or upload an audio/video file; audio never leaves the browser (only model weights are fetched from CDN on first use, like the OCR tool). - Models: English Fast (whisper-tiny.en), English Accurate (base.en), Multilingual (base). Model-download progress bar. - Output: editable plain text, inline timestamped view, and SRT/VTT subtitle export from Whisper segment timestamps. Copy + download .txt/.srt/.vtt. Pure tested logic in stt.lib.ts (mixToMono, segmentsToText, time formatters, segmentsToSrt/Vtt). SDK boundary stt.engine.ts (only file touching transformers.js). Audio decode in stt-audio.lib.ts (decodeToMono16k). useAudioRecorder hook (MediaRecorder, typed errors, track cleanup) with tests. transformers chunk added to workbox globIgnores. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
feat(voice-to-text): on-device speech-to-text (Whisper)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ships the new on-device Voice to Text (Whisper) tool (PR #61) to production.
🤖 Generated with Claude Code