Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tone #272

Open
RonnyG2121 opened this issue Apr 13, 2023 · 5 comments
Open

Tone #272

RonnyG2121 opened this issue Apr 13, 2023 · 5 comments
Assignees
Labels
engine:sapi Related to sapi code enhancement

Comments

@RonnyG2121
Copy link

RonnyG2121 commented Apr 13, 2023

hello. Will it be possible to get and set the pitch of the voice in this library?
I was thinking of building a text-to-speech program, but you won't be able to change the pitch of the voices.
Only that is missing from the library and it will be great!
thanks

@Jiangshan00001
Copy link

actually pitch is support with espeak engine.
use getProperty & setProperty.

@RonnyG2121
Copy link
Author

RonnyG2121 commented Apr 14, 2023 via email

@Jiangshan00001
Copy link

i added a pith support for sapi5 here.
it is not test yet.
you can have a try and tell me the result if you like. thanks.

https://github.com/Jiangshan00001/pyttsx4
pip install pyttsx4
version: 3.0.7

how to use:
setProperty('pitch', val)

range of val is from -10 to +10 integer.

@RonnyG2121
Copy link
Author

RonnyG2121 commented Apr 14, 2023 via email

@willwade
Copy link
Collaborator

willwade commented Oct 17, 2024

I’ll check this. But I’m pretty sure this should work.

edit - to-do on sapi. i think we can do something better in sapi - like get and set property on a range of missing features. then again i think we should just skip this and do ssml support..

@willwade willwade self-assigned this Oct 17, 2024
@willwade willwade added the Needs-Checking Possibly outdated. Needs checking with current latest label Oct 18, 2024
@willwade willwade added enhancement engine:sapi Related to sapi code and removed Needs-Checking Possibly outdated. Needs checking with current latest labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine:sapi Related to sapi code enhancement
Projects
None yet
Development

No branches or pull requests

3 participants