Help with Pause SystemSpeech method

8 Ansichten (letzte 30 Tage)
Diego Alberto León López
Diego Alberto León López am 21 Nov. 2020
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);

Antworten (0)

Kategorien

Mehr zu Simulation, Tuning, and Visualization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by