Text-to-speech conversion using `uvx edge-tts` for generating audio from text. Use when (1) User requests audio/voice output with the "tts" trigger or keyword.…
Edge-TTS
Generate high-quality text-to-speech audio using Microsoft Edge's neural TTS service via the uvx edge-tts command.
Supports multiple languages, voices, adjustable speed/pitch, and subtitle generation.
Usage
uvx edge-tts --text "{msg}" --write-media {tempdir}/{filename}.mp3
# With subtitles
uvx edge-tts --text "{msg}" --write-media {tempdir}/{filename}.mp3 --write-subtitles -
Changing rate(speed), volume and pitch
uvx edge-tts --text "{msg}" --write-media {tempdir}/{filename}.mp3 --rate=+50%
uvx edge-tts --text "{msg}" --write-media {tempdir}/{filename}.mp3 --volume=+50% --pitch=-50Hzdon't have the plugin yet? install it then click "run inline in claude" again.