How to pause and resume in pyttsx3? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!How can I represent an 'Enum' in Python?How to flush output of print function?using android TextToSpeech feature with a pdf fileHow to change the voice in pyttsx3?How to Pause Text to Speech on Android JavaInstalled tts voices not working pyttsx3Text to speech Speak api is interrupted when talkback is announcingHow to change pitch of voice produced by pyttsx3 in pythoninstalled voices not found with pyttsx3For loop, trigger next / previous item from the outside function
Is there hard evidence that the grant peer review system performs significantly better than random?
Why is a lens darker than other ones when applying the same settings?
New Order #6: Easter Egg
Special flights
Would color changing eyes affect vision?
How would you say "es muy psicólogo"?
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
Is CEO the "profession" with the most psychopaths?
Moving a wrapfig vertically to encroach partially on a subsection title
NERDTreeMenu Remapping
Why is it faster to reheat something than it is to cook it?
Getting out of while loop on console
Putting class ranking in CV, but against dept guidelines
Nose gear failure in single prop aircraft: belly landing or nose-gear up landing?
How do living politicians protect their readily obtainable signatures from misuse?
Positioning dot before text in math mode
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
Test print coming out spongy
Is it dangerous to install hacking tools on my private linux machine?
What is the difference between a "ranged attack" and a "ranged weapon attack"?
What are the main differences between Stargate SG-1 cuts?
RSA find public exponent
Can an iPhone 7 be made to function as a NFC Tag?
What does it mean that physics no longer uses mechanical models to describe phenomena?
How to pause and resume in pyttsx3?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!How can I represent an 'Enum' in Python?How to flush output of print function?using android TextToSpeech feature with a pdf fileHow to change the voice in pyttsx3?How to Pause Text to Speech on Android JavaInstalled tts voices not working pyttsx3Text to speech Speak api is interrupted when talkback is announcingHow to change pitch of voice produced by pyttsx3 in pythoninstalled voices not found with pyttsx3For loop, trigger next / previous item from the outside function
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am making a pdf reader and am using pyttsx3 for TTS. But i want it to have a "play and pause" like feature but i wasn't able to do this with pyttsx3.I have tried to take the location of where it stops,when "pause" button is clicked by the user, by using the Start_word() event(because it throws the name,location and length of the current word being synthesized) but then i can't start or "resume" from that point because startLoop() starts from the begining.Thanks in advance!
python-3.x text-to-speech pyttsx
add a comment |
I am making a pdf reader and am using pyttsx3 for TTS. But i want it to have a "play and pause" like feature but i wasn't able to do this with pyttsx3.I have tried to take the location of where it stops,when "pause" button is clicked by the user, by using the Start_word() event(because it throws the name,location and length of the current word being synthesized) but then i can't start or "resume" from that point because startLoop() starts from the begining.Thanks in advance!
python-3.x text-to-speech pyttsx
You can always use something other thanpyttsx...
– Xilpex
Apr 4 at 21:33
You could also convert it to an audio file then play the audio file with something likepygame...
– Xilpex
Apr 4 at 21:34
ok,....like then,i can catch at what length of the audio it stoped and start from there during "resume".Thanks,am gonna try it!.
– Tom
Apr 5 at 22:51
No problem! Hope it works...
– Xilpex
Apr 5 at 22:51
add a comment |
I am making a pdf reader and am using pyttsx3 for TTS. But i want it to have a "play and pause" like feature but i wasn't able to do this with pyttsx3.I have tried to take the location of where it stops,when "pause" button is clicked by the user, by using the Start_word() event(because it throws the name,location and length of the current word being synthesized) but then i can't start or "resume" from that point because startLoop() starts from the begining.Thanks in advance!
python-3.x text-to-speech pyttsx
I am making a pdf reader and am using pyttsx3 for TTS. But i want it to have a "play and pause" like feature but i wasn't able to do this with pyttsx3.I have tried to take the location of where it stops,when "pause" button is clicked by the user, by using the Start_word() event(because it throws the name,location and length of the current word being synthesized) but then i can't start or "resume" from that point because startLoop() starts from the begining.Thanks in advance!
python-3.x text-to-speech pyttsx
python-3.x text-to-speech pyttsx
asked Mar 8 at 22:46
TomTom
536
536
You can always use something other thanpyttsx...
– Xilpex
Apr 4 at 21:33
You could also convert it to an audio file then play the audio file with something likepygame...
– Xilpex
Apr 4 at 21:34
ok,....like then,i can catch at what length of the audio it stoped and start from there during "resume".Thanks,am gonna try it!.
– Tom
Apr 5 at 22:51
No problem! Hope it works...
– Xilpex
Apr 5 at 22:51
add a comment |
You can always use something other thanpyttsx...
– Xilpex
Apr 4 at 21:33
You could also convert it to an audio file then play the audio file with something likepygame...
– Xilpex
Apr 4 at 21:34
ok,....like then,i can catch at what length of the audio it stoped and start from there during "resume".Thanks,am gonna try it!.
– Tom
Apr 5 at 22:51
No problem! Hope it works...
– Xilpex
Apr 5 at 22:51
You can always use something other than
pyttsx...– Xilpex
Apr 4 at 21:33
You can always use something other than
pyttsx...– Xilpex
Apr 4 at 21:33
You could also convert it to an audio file then play the audio file with something like
pygame...– Xilpex
Apr 4 at 21:34
You could also convert it to an audio file then play the audio file with something like
pygame...– Xilpex
Apr 4 at 21:34
ok,....like then,i can catch at what length of the audio it stoped and start from there during "resume".Thanks,am gonna try it!.
– Tom
Apr 5 at 22:51
ok,....like then,i can catch at what length of the audio it stoped and start from there during "resume".Thanks,am gonna try it!.
– Tom
Apr 5 at 22:51
No problem! Hope it works...
– Xilpex
Apr 5 at 22:51
No problem! Hope it works...
– Xilpex
Apr 5 at 22:51
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55072043%2fhow-to-pause-and-resume-in-pyttsx3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55072043%2fhow-to-pause-and-resume-in-pyttsx3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You can always use something other than
pyttsx...– Xilpex
Apr 4 at 21:33
You could also convert it to an audio file then play the audio file with something like
pygame...– Xilpex
Apr 4 at 21:34
ok,....like then,i can catch at what length of the audio it stoped and start from there during "resume".Thanks,am gonna try it!.
– Tom
Apr 5 at 22:51
No problem! Hope it works...
– Xilpex
Apr 5 at 22:51