Offline TTS
БесплатноБез исполняемых скриптовНе проверенReads a text aloud into an audio file (mp3, m4a or wav) with the computer's own voices, offline: Siri voices on a Mac, Piper or system voices on Linux and…
от geragarazagh201 установка в других каталогахОб этом скилле
Offline TTS
Turns a text into an audio file on the person's computer with voices that are already there or installed once, offline. Answer in the language of the person's message, briefly.
The audio is made only by running a speech program on the person's computer. If you cannot run commands here, say in one sentence that this skill needs an assistant that runs commands on the person's computer, and stop. Never say a file was made unless the command wrote it and you checked it, never play the audio unless asked, and never offer your own voice mode, a summary or a retelling instead of the file.
Before the first file: ask once
Three choices change the result and only the person can make them. Unless the request already names them (or says «any voice», «just do it»), do not start yet: your first reply is only this short message, after you have listed the voices (step 2 below), with the default for each:
- Voice: two to four real voices for the text's language, by the names the computer uses, with their gender. Default: the best female voice.
- Speed: normal, or faster or slower (for example 1.5× or 0.8×). Default: normal.
- Where to save it and the format. Default: mp3 next to the text file, or in the Downloads folder when the text came in the message.
A reply such as «ok» or «go» takes the defaults. Keep the answers for the
rest of the conversation and do not ask again. If the agent keeps files,
offer once to save the answers in ~/.config/offline-tts.txt (plain
lines such as voice: Voice 2) and read that file before asking next time.
Every file
- Find the engine for this computer, once per conversation (section
«Engines»): macOS with the
ttscommand, macOS without it, Linux, Windows. - List the voices for the text's language with that engine's command.
- Put the text in a plain UTF-8 file in a temporary folder (never change the person's own file). Remove what is not meant to be heard: Markdown marks, links, code, tables turned into sentences.
- Unless the engine is
tts, prepare the text for the ear (section «Text for the ear»).ttsdoes this itself for Russian and Ukrainian. - Run the engine's command with the voice, speed and output path.
- Check the file (section «Check») and report in one or two lines: name and folder, length in minutes, voice, speed.
File name: the text file's name, or the first three or four words of the text, with the format's extension. If that name exists, add « (2)»; never overwrite a file.
Engines
macOS with tts (best)
tts is a free open-source command (MIT, github.com/geragarazagh/tts). It
is the only way found for a command to use the Siri voices of macOS; it
also writes numbers, dates, units and abbreviations as words in Russian and
Ukrainian in the right grammatical case and gives each paragraph the voice
of its language.
Find it, in this order, and use the first that prints a line starting with
usage: tts [-v VOICE]:
/Applications/TTS.app/Contents/Resources/tts -h
tts -h
Another program called tts (Coqui TTS has one) prints something else: do
not use it. Below, TTS stands for the full path of the one that worked.
- Voices:
TTS -L ru(any language code:en,uk,de). Columns: language, name, gender, kind (Siri is best, then premium, enhanced, compact), which voicefemaleandmalepick, id. Siri voices are named «Voice 1», «Voice 2» in English. - See the text as it will be read:
TTS -t FILE(one[lang]line per paragraph). Use it when numbers or language matter. - Make the file:
TTS -v female -r 1 -o "OUTPUT.mp3" "TEXT.txt"
-v: female, male, or a name or id from the list ("Voice 1",
Milena; several, comma-separated, one per language). -r: speed, 1 =
normal, 0.6 to 3.9 (the voice speaks faster itself, no stretching). -o: a
folder or a file path; the extension sets the format (mp3, m4a, wav, aiff).
mp3 needs ffmpeg; without it use .m4a. It prints the path and length,
for example /Users/ann/Downloads/Report.mp3 1:27.
A language with no Siri voice on the Mac falls back to the best other
voice. Siri voices have to be downloaded once, by the person: System
Settings › Accessibility › Read & Speak (Spoken Content on macOS 13-15) ›
the ⓘ next to System voice (Manage Voices… on 13-15) › the language › a
Siri voice. Mention it once when -L shows no Siri voice for the language.
macOS without tts
Offer to install it first (it is much clearer for Russian and Ukrainian and
has Siri voices); see «Install». If the person declines, use the built-in
say, which has no Siri voices and reads digits less well:
- Voices:
say -v '?' | grep ru_RU(the locale:en_US,uk_UA,de_DE). Prefer a name with «(Premium)» or «(Enhanced)». - Make the file, m4a:
say -v "Milena" -r 175 -f "TEXT.txt" --file-format=m4af --data-format=aac -o "OUTPUT.m4a"
-r is words per minute; normal is about 175 to 180. For a speed, multiply:
1.5× is about
Установить Offline TTS в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Offline TTS?
Reads a text aloud into an audio file (mp3, m4a or wav) with the computer's own voices, offline: Siri voices on a Mac, Piper or system voices on Linux and Windows, numbers and dates read right. Use when someone wants a text, article, file or chat answer turned into speech to listen to later.
Как установить скилл Offline TTS?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Offline TTS запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic