Text2Speech for Matlab using unofficial google service

版本 1.0.0.0 (4.9 KB) 作者: Sven Koerner
Function to make Matlab speak via unofficial Google text2speach.
1.5K 次下载
更新时间 2011/11/4

查看许可证

This is a command line demo on how to use the ActiveX VideoLAN.VLCPlugin.2 in combination with the unofficial google text to speech (TTS) engine to generate speech from text.
You need to install the VLC-Media-Player and have a internetconnection to call the google service.

The input parameters are:
- the string you want to convert: str
- then string of language code for the str: lang {'en','de','es', 'fr'}
- and the time in seconds until programm resumes: t_play
if the time is to short, you'll maybe not hear everything

Function call:
text2speech --> says 'Hello World' in english
text2speech('Guten Morgen!','de') --> says good morning in german
text2speech('Je t'aime.','fr') --> says I love you in french

Bugs and suggestions:
Please send to Sven Koerner: koerner(underline)sven(add)gmx.de

You need to download and install first:
The VLC Media Player: http://www.videolan.org/vlc/

引用格式

Sven Koerner (2024). Text2Speech for Matlab using unofficial google service (https://www.mathworks.com/matlabcentral/fileexchange/33614-text2speech-for-matlab-using-unofficial-google-service), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Audio Toolbox 的更多信息
致谢

启发作品: Number to Words

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0