Help with Pause SystemSpeech method

8 views (last 30 days)
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);

Answers (0)

Categories

Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!