Text to speech Matlab Linux
古いコメントを表示
Hi,
I want to convert text to speech in Matlab on Linux. With windows I can use the .NET library, but on Linux it does not work, I think. Do you know an other possibility or how it could work on Linux?
Regards
回答 (1 件)
jibrahim
2023 年 5 月 1 日
0 投票
Hi christopher,
You will need an internet connection, and an active subscription to a text-to-speech service of your choice – Google™ Cloud Speech-to-Text API, IBM™ Watson Speech to Text API, Microsoft™ Azure Speech Services API, or Amazon™ Polly.
5 件のコメント
Christopher Dirks
2023 年 5 月 1 日
jibrahim
2023 年 5 月 1 日
The steps concerning the subscription vary depending on the provider. The linked submission above has links to get you started.
Once you have a subscription and have the required files on path, usage is quite simple. For example:
text = "Hello world.";
googleSpeechClient = speechClient('Google');
[speech,fs] = text2speech(googleSpeechClient,text);
sound(speech,fs)
Christopher Dirks
2023 年 5 月 1 日
jibrahim
2023 年 5 月 1 日
you will need to download the referenced File Exchange submission and follow the intructions included in the example.
Walter Roberson
2023 年 5 月 1 日
You can use the Add-On Explorer to install the submission; makes it easier.
カテゴリ
ヘルプ センター および File Exchange で Time-Frequency Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!