Overview of whisper.wasm
masterwhisper.wasm is a WebAssembly (WASM) port of the whisper.cpp implementation that allows running OpenAI's Whisper ASR model directly inside a web browser.
Key Characteristics:
- Privacy: Audio data is processed locally on the user's machine and does not leave the computer.
- Performance: Achieves approximately 2x to 3x real-time transcription for
tinyandbasemodels on modern CPUs. Performance degrades for models larger thansmall. - Capabilities: Supports both transcription and translation using the
Greedysampling strategy. - Input Support: Supports loading audio from a file or recording via microphone (maximum 120 seconds).
- Requirements: Requires a browser that supports WASM SIMD 128-bit intrinsics.