Help with Pause SystemSpeech method

Hello im trying to pause the action System.Speech.Synthesis.SpeechSynthesizer while it is executing.
It would be nice to give an example, because i have tried in many ways and i find it imposible.
obj = System.Speech.Synthesis.SpeechSynthesizer;
obj.Volume = 100;
%%
if recognizedText == ""
disp('No txt');
else
Speak(obj, "Hello im fine, today is monday");
end
%% pause
Pause(obj);

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulation, Tuning, and Visualization についてさらに検索

質問済み:

2020 年 11 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by