David Manthey532 downloadsOffline speech-to-text using Whisper
Offline speech-to-text using Whisper
This plugin provides speech-to-text transcription for Obsidian using Whisper models. It is designed to function entirely offline after the initial model download. It supports both desktop and mobile environments.
The plugin uses different underlying engines to ensure performance and compatibility across devices.
On desktop operating systems (Windows, MacOS, Linux), the plugin utilizes whisper.cpp. One first use, the appropriate whisper.cpp command-line binary is downloaded for the operating system.
On mobile operating systems (Android, iOS), the plugin utilizes a bundled version of transformers.js that runs via WebAssembly.
Navigate to the plugin settings to select a model. Models are downloaded from Hugging Face on first use. The larger the model, the slower it is. On the tested devices, the "base" model works on mobile devices and the "small" model works on desktop devices. It is recommended that you choose the largest model that can keep up with transcribing speech.
In any note, select the ribbon icon or the command palette 'Toggle Voice Transcription' command to start transcribing. Select it again to stop. The audio is not saved except briefly on desktop platforms to perform the transcription.
This plugin processes all audio data locally on your device. No audio recordings or transcriptions are transmitted to external servers at any point.
On the desktop, this plugin will install an executable from one of these locations:
https://github.com/bizenlabs/whisper-cpp-macos-bin/releases/latest
https://github.com/dscripka/whisper.cpp_binaries/releases/latest
Both the desktop and mobile versions fetch models from huggingface:
(Mobile) https://huggingface.co/Xenova