简体   繁体   中英

How to make meSpeak.js read special characters?

I would like to use mespeak.js script (based on speak.js based on espeak) for text-to-speech - which has a czech voice file -, but for some reason it skips czech special characters like ě, š, č, ř, ž and reads only the rest.

As espeak on Windows reads them correctly, I tried to compile a new voice file (cs.json), but the problem persists.

Thanks!

I don't know what those characters sound like, but your best bet might be to try to approximate the closest english sounding character combination.

For instance, if š sounds like sh in English (not saying it does) then just replace all instances of š with sh.

使用此电子口语修改而不是Mespeak可能是更好的方法: http ://eeejay.github.io/espeak/emscripten/espeak.html(演示)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM