Say /a/

조회 수: 5 (최근 30일)
Farideh Jalali
Farideh Jalali 2012년 6월 18일
댓글: the cyclist 2014년 4월 2일
how can I write a program in matlab to say /a/?
  댓글 수: 3
Walter Roberson
Walter Roberson 2012년 6월 18일
Long "a" or short "a" or Boston "a" or Ottawa Valley "eh" ?
Farideh Jalali
Farideh Jalali 2012년 6월 18일
Jan:I need too write a program that can hear /a/ from speakers.
Walter:Long /a/

댓글을 달려면 로그인하십시오.

채택된 답변

Wayne King
Wayne King 2012년 6월 18일
On a PC
textIn = 'ah';
ha = actxserver('SAPI.SpVoice');
invoke(ha,'speak',textIn);
  댓글 수: 2
Sean de Wolski
Sean de Wolski 2012년 6월 18일
Sweet!
Farideh Jalali
Farideh Jalali 2012년 6월 18일
Very helpful,
Thanks Wayne,

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

the cyclist
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
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
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 CenterFile Exchange에서 Speech Recognition에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by