Say /a/
5 ビュー (過去 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!