Help with Pause SystemSpeech method

8 visualizzazioni (ultimi 30 giorni)
Diego Alberto León López
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);

Risposte (0)

Categorie

Scopri di più su Simulation, Tuning, and Visualization in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by