Skip to navigation
Install espeak-ng
21.09.26
# 1) IPA of a Thai word (no audio, just text) espeak-ng --ipa -q th "สวัสดี" # 2) Speak to the terminal/aplay espeak-ng -v th "สวัสดี" # 3) Save as WAV, then convert to MP3 espeak-ng -v th -w /tmp/hello.wav "สวัสดี" ffmpeg -y -i /tmp/hello.wav -codec:a libmp3lame -q:a 4 /tmp/hello.mp3 # 4) List installed voices to confirm `th` exists espeak-ng --voices You can also hear it live: the espeak-ng GitHub README links a Text-to-Speech demo page (https://github.com/espeak-ng/espeak-ng — "Online Demo" section). That's espeak NG's own hosted example — select Thai and type สวัสดี. If you want a real comparison, run the snippet on the target box and diff that faithful-TTS against Google; then decide on /sound. Want me to fold this into the mtranslate crate now (a /ipa endpoint + espeak-ng audio fallback), or wait until you've heard it? ▣ Build · Big Pickle · 13.6s i need to install espeak-ng first + Thought: 3.8s On Debian/Ubuntu (the boxes here): sudo apt update sudo apt install -y espeak-ng ffmpeg Verify after install: espeak-ng --voices | grep -w th espeak-ng --ipa -q th "สวัสดี"
https://github.com/veto8/mtranslate/blob/main/TODO.md
Reply
Anonymous
Information Epoch 1791960181
Use lower case and keep it short.
Home
Notebook
Contact us