Say /a/
7 次查看(过去 30 天)
显示 更早的评论
how can I write a program in matlab to say /a/?
3 个评论
采纳的回答
Wayne King
2012-6-18
On a PC
textIn = 'ah';
ha = actxserver('SAPI.SpVoice');
invoke(ha,'speak',textIn);
更多回答(1 个)
the cyclist
2012-6-18
If you are on a Mac, you can take advantage of the command line "say" command, via the MATLAB system() function:
>> system('say anything')
>> system('say a')
If you are on a PC, you might be able to use one of the solutions mentioned in this old blog post:
2 个评论
william
2014-4-2
hi, I was wondering if there is any way of modifying the default voice from MATLAB? system('say "你好"') for reading Chinese, doesn't work out
or by default, can be reader from a variable? something like chinese={"你好"}
system('say , chinese')
Thank you in advance
the cyclist
2014-4-2
I would ask a new question, rather than burying it as a comment in a two-year-old question that almost no one will see.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Speech Recognition 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!