Is there a command in Matlab which reads a message and makes it an audio one ?
조회 수: 1 (최근 30일)
이전 댓글 표시
I am working on an interface in which I need to detect a tumor in different images and calculate its area,I need to display a message "the area of cancer is(value) from the total area" and I want it to be read and listened, is that possible ?
댓글 수: 2
채택된 답변
Jan
2014년 5월 25일
Under Windows there are several methods to convert text to a speech output to the speakers:
NET.addAssembly('System.Speech')
speaker = System.Speech.Synthesis.SpeechSynthesizer();
speaker.Rate = 1
speaker.Speak('Hello world')
In the FEX you'd find these methods by a simple search:
- http://www.mathworks.com/matlabcentral/fileexchange/4769-speak
- http://www.mathworks.com/matlabcentral/fileexchange/33652-speechdemo-in-gui-using-unofficial-google-service
- http://www.mathworks.com/matlabcentral/fileexchange/33614-text2speech-for-matlab-using-unofficial-google-service
- http://www.mathworks.com/matlabcentral/fileexchange/11297-text2speech-tts
- etc.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!