jarvis-tts
oleh e421083458
Coding Agents & IDEsRingkasan
Jarvis TTS text-to-speech using Microsoft edge-tts with afplay playback.
Deskripsi
Apa yang Dilakukan Skill Ini
Converts text to speech using Microsoft edge-tts and plays audio via macOS afplay. Supports multiple Chinese voice options including male and female Neural TTS voices. Requires network access to call the Microsoft TTS API.
Uses Microsoft Neural TTS voices which sound significantly more natural than system-level TTS alternatives.
Kapan Menggunakannya
- Getting spoken replies from an AI assistant
- Reading long articles or documents aloud
- Setting voice reminders or notifications
- Previewing different Chinese TTS voice styles
- Generating audio output for automation scripts
Contoh Alur Kerja
User asks: say '好的,马上执行' in the default voice
- 1
Call jarvis-tts.sh with the text as argument
- 2
edge-tts sends request to Microsoft TTS API and generates MP3 to /tmp
- 3
Script checks file exists and has non-zero size
- 4
afplay plays the MP3 file synchronously until complete
- 5
Temporary file is deleted
Audio of '好的,马上执行' plays through system speakers
Persyaratan
- edge-tts Python package (pip3 install edge-tts)
- macOS (afplay is required for playback)
Instalasi
clawhub install e421083458/jarvis-ttsJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.