Note Reader CosyVoice
approvedby Note Reader CosyVoice Contributors
Read Obsidian notes through the local CosyVoice TTS pipeline. - This plugin has not been manually reviewed by Obsidian staff.
Note Reader CosyVoice
An Obsidian desktop plugin that reads the current note or selected text through either a local CosyVoice TTS pipeline or an explicitly selected Microsoft Edge online voice mode.
Screenshots
Reader control panel:

Plugin settings. The script path shown here is a redacted example:

Features
- Reads the current note, current selection, or from the current selection start to the end of the note.
- Opens a right-side
CosyVoice Readercontrol panel. - Shows synthesis/playback phase, whole-reading progress, percentage, and text preview.
- Supports pause, resume, stop, Space to pause or resume in the control panel, repeated Left/Right Arrow 5-second seeking, previous/next chunk buttons, and progress dragging while the current audio chunk is playing.
- Provides right-panel speed presets:
1x,1.25x,1.5x,2x,1.1x,1.2x,1.3x, and1.4x. - Lets you choose
Local CosyVoiceorMicrosoft Edge online voicein settings. Local CosyVoice is the default. - Cleans Markdown before synthesis.
- Provides a settings-page
Restore defaultsbutton for resetting all plugin settings. - Handles common LaTeX before synthesis with a configurable
Math reading languagesetting:- Skips formulas longer than 12 non-space characters.
Englishis the default for public releases, for example$a_b$->a subscript b.Chinesekeeps Chinese math words, for example$a_b$->a 下标 b.Skip mathskips short formulas as well as long formulas.- Leaves common Greek commands as English names, such as
\alpha->alpha,\beta->beta, and\pi->pi. - Reads common non-Greek symbols such as
\leq,\times, and_. - Unwraps style commands such as
\textbf{...},\mathbf{...}, and\boldsymbol{...}. - Reads short
\frac{a}{b}asa over bin English mode ora 分之 bin Chinese mode.
Privacy
By default, the plugin uses local TTS. In Local CosyVoice mode, it does not send note text to Microsoft, OpenAI, or any remote TTS service. Text is written to a temporary file under the plugin cache and passed to the configured local CosyVoice wrapper.
If you select Microsoft Edge online voice, the plugin calls the edge-tts command-line tool and sends the chunk text to Microsoft Edge TTS. Use this mode only for notes whose text you are comfortable processing through that online service.
Disclosures
- Network use:
Local CosyVoicemode does not call a remote service directly. Your configured CosyVoice wrapper may talk to a local service such as127.0.0.1.Microsoft Edge online voicemode calls Microsoft Edge TTS throughedge-tts. - Shell execution: the plugin launches the PowerShell wrapper script in local mode, or the
edge-ttscommand in Edge mode. - Direct filesystem access: the plugin writes temporary text and audio files under this plugin's
cachefolder in the vault, checks the configured wrapper script in local mode, and can launch a wrapper stored outside the vault. - Telemetry: the plugin does not include client-side or server-side telemetry.
- Updates: the plugin does not include a self-update mechanism.
Requirements
- Obsidian desktop.
- For
Local CosyVoice: a working local CosyVoice setup and a PowerShell wrapper compatible with:
cosyvoice-wrapper.ps1 -InputPath <txt> -OutputPath <wav> -Speed <speed>
A recommended script path is:
%LOCALAPPDATA%\note-reader-cosyvoice\cosyvoice-wrapper.ps1
For local CosyVoice installation, hardware guidance, OS-specific notes, and wrapper examples, see Local CosyVoice setup.
For Microsoft Edge online voice: install the edge-tts CLI and make sure the edge-tts command is on PATH. The plugin calls it with --file, --write-media, --voice, and --rate.
Install And Configure Microsoft Edge Online Voice
edge-tts is a third-party Python package published on PyPI that calls Microsoft Edge's online text-to-speech service. It is not bundled with this plugin and is not a local voice model.
Recommended command-line-only install:
pipx install edge-tts
If pipx is not installed yet:
py -m pip install --user pipx
py -m pipx ensurepath
Then open a new PowerShell window and run pipx install edge-tts.
Alternative install if you manage Python packages directly:
py -m pip install --user edge-tts
After installation, open a new PowerShell window and verify that the command is available:
edge-tts --help
To list available voices:
edge-tts --list-voices
Then open Settings -> Note Reader CosyVoice:
- Set
Speech enginetoMicrosoft Edge online voice. - Set
Edge TTS voiceto a voice id, for examplezh-CN-XiaoxiaoNeural. - Adjust
Speedif needed. The plugin converts this to theedge-tts --rateoption.
If Obsidian cannot find edge-tts, make sure edge-tts --help works in a normal PowerShell window, then fully restart Obsidian. The plugin does not use the Codex/Hermes internal edge-tts.exe path.
Privacy note: Edge mode sends each text chunk to Microsoft Edge TTS. Keep Speech engine set to Local CosyVoice for private or sensitive notes.
Model Storage, Other TTS Engines, And Chunk Limits
This plugin does not download models. Plan storage for the local TTS runtime before installing a voice model:
- Current CosyVoice model repositories are often several GB each. As of 2026-06, public Hugging Face examples range from about
2.5 GBfor a 300M model to about9 GBfor a 0.5B CosyVoice3 model. - Reserve more than the raw model size. A practical starting point is
10-20 GBfor one model and30 GB+if you keep multiple models, source checkouts, Conda environments, and caches. - Put model files and caches on a local SSD when possible. Avoid syncing model folders through cloud-drive clients.
The configured script can call another local TTS engine instead of CosyVoice if it follows the same wrapper contract: read UTF-8 text from -InputPath, write a valid WAV file to -OutputPath, accept -Speed, and exit non-zero with a clear error on failure. Check the other model's license, language coverage, audio format, speed controls, startup latency, and whether it sends text outside your machine or trusted local network.
Microsoft Edge online voice mode is separate from the local wrapper contract. It writes MP3 files with edge-tts and uses the Edge TTS voice setting, for example zh-CN-XiaoxiaoNeural.
Use Chunk limits to balance startup latency and synthesis stability:
- CPU-only or low-end GPU: start with
30,60,90,120,160,200. - Mid-range GPU: use the default
40,80,120,160,280,320. - Faster GPU or low-latency local service: try
80,140,220,320,480,640. - If synthesis times out, fails, or the first audio takes too long, lower the numbers. If speech sounds too fragmented and your model is stable, raise them gradually.
Commands
Open CosyVoice reader controlsRead current note with CosyVoiceRead selection with CosyVoiceRead from selection with CosyVoicePause or resume CosyVoice readingStop CosyVoice reading
Keyboard And Progress Seeking
When the CosyVoice Reader control panel is focused, Space pauses or resumes reading, and Left Arrow or Right Arrow seek backward or forward in 5-second steps while audio is available.
The triangle buttons beside the progress bar jump to the previous text chunk or the next text chunk. Already synthesized chunks are reused when possible; otherwise the target chunk is synthesized before playback.
The progress bar shows whole-reading progress across all chunks. While audio is playing, the bar can be clicked or dragged. Seeking is limited to the currently loaded audio chunk; dragging outside that chunk is clamped to the nearest point in the current chunk.
Shared Package Contents
The install package contains only:
manifest.jsonmain.jsstyles.cssREADME.mdINSTALL.mdLICENSE
It intentionally excludes data.json, cache, last-error.log, and local test files.
License
MIT.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.