Help with Pause SystemSpeech method

8 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Simulation, Tuning, and Visualization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by