-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法播放MDD语音? #7
Comments
mdx server主要用于mdx词典内容解析,网页发音需要另外的js脚本。这个版本里没有实现这个js,但是预留了js文件入口,就是那个inject.js,你可以自己实现。 |
好吧。 我发现 chrome 没法播放 spx 文件。 我需要下载 http://localhost:8000/us_pron/test__us_1.spx 后用第三方软件播放。。。 |
是的,spx是一种比较老的speech audio格式,不如mp3那么普遍获得各类浏览器和播放器的支持。 然后我看了一下当前的代码,针对发音的injection.js已经包含了。你看看含mp3发音的词典是否可行。如果可行,那就不是脚本的问题,而是浏览器支持的问题了。 最后,在网页点击发音其实不是mdx server的本意。其本意是开放给其他程序用的。所以即使不能点击发音也不是什么大问题 |
我用的是oxford的10版,mp3音频,好像也不行 |
试了下ogg的,需要自己拼链接可以播放。http://localhost:8000/abortion__gb_1.ogg |
语音显示的链接是 sound://us_pron/test__us_1.spx
The text was updated successfully, but these errors were encountered: