text2speech - tts

バージョン 1.2.0.0 (86.2 KB) 作成者: Wolfgang Garn
Converts text to speech.
ダウンロード: 11K
更新 2011/1/25

ライセンスの表示

編集メモ: This file was selected as MATLAB Central Pick of the Week

Any text is spoken.

Get started ...
1. add the text2speech folder to your Matlab path
2. Test your new function:
tts('This is a test.')

Examples:
Casual chat.
tts('Hi - how are you?');
tts({'Hello. How are you?','It is nice to speak to you.','regards SAPI.'})

Emphasising (only for the SAPI version*)
text2speech('You can <EMPH> emphasis </EMPH> text.');

Silence (only for the SAPI version)
text2speech('There will be silence now <SILENCE MSEC=''500''/> and speech again.');

text2speech('You can <pitch middle=''-10''/> drop the pitch.');
text2speech('But you can make it <pitch middle=''+10''/> jump as well.');

*SAPI: Speech SDK 5.1 from Microsoft

Microsoft's TTS Namespace
http://msdn.microsoft.com/en-us/library/system.speech.synthesis.ttsengine(v=vs.85).aspx

Microsoft's Synthesizer Class
http://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer(v=vs.85).aspx

引用

Wolfgang Garn (2024). text2speech - tts (https://www.mathworks.com/matlabcentral/fileexchange/11297-text2speech-tts), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersAudio Toolbox についてさらに検索
謝辞

ヒントを得たファイル: Generate help files from m-files, file2str, str2file

ヒントを与えたファイル: Number to Words, Generate help files from m-files, file2str, str2file

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0.0

Added function "tts" which uses .NET (but has no special voice features yet as in the previous text2speech version), but overcomes "Visual C++ 2005 or 2008 requirement".

1.1.0.0

Matlab 2009 release (version 7.8+) usage of SpeechSynthesizer recommended.

1.0.0.0