使用非正式的Google服务用于MATLAB的Text2Speech
这是一个命令行演示,讲述了如何使用ActiveX VideOlan.vlcplugin.2与非正式的Google文本到Speech(TTS)引擎(TTS)引擎来生成文本中的语音。
您需要安装VLC-Media-player,并具有Internet Connection来调用Google服务。
输入参数是:
- 您要转换的字符串:str
- 然后使用str的语言代码字符串:lang {'en','de','es','fr'}
- 以及秒钟内的时间,直到programm恢复:t_play
如果时间短,您可能不会听到一切
功能调用:
text2speech->在英语中说“ Hello World”
text2speech('Guten Morgen!','de') - >在德语中说早安
text2speech('je t'aime。','fr') - >说我爱你法语
错误和建议:
请发送到Sven Koerner:Koerner(下划线)Sven(add)gmx.de
您需要首先下载并安装:
VLC媒体播放器:http://www.videolan.org/vlc/
引用为
Sven Koerner(2022)。使用非正式的Google服务用于MATLAB的Text2Speech(//www.tatmou.com/matlabcentral/fileexchange/33614-text2spech-for-matlab-using-unofficial-google-service),matlab中央文件交换。检索。