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

Allow passing configuration into aeneas #10

Open
dhouck opened this issue Feb 27, 2023 · 0 comments
Open

Allow passing configuration into aeneas #10

dhouck opened this issue Feb 27, 2023 · 0 comments

Comments

@dhouck
Copy link

dhouck commented Feb 27, 2023

For some reason (no clue what), I get terrible synchronization with espeak and espeak-ng, but decent synchronization with festival. Itʼd be nice to be able to pass tts=festival into aeneas. I have a hardcoded patch Iʼve applied:

from aeneas.runtimeconfiguration import RuntimeConfiguration as RConf

and replace the existing synthesizer creation with

    rconf = RConf("tts=festival")
    synthesizer = Synthesizer(rconf)

but thatʼs obviously a terrible general solution (most people probably would prefer espeak, and if they donʼt they might prefer one of the other options, and this doesnʼt account for other things one might want to pass to aeneas).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant