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

Flite 2.1 voice from http or file doesn't work with mimic #197

Open
montvid opened this issue Apr 6, 2020 · 13 comments
Open

Flite 2.1 voice from http or file doesn't work with mimic #197

montvid opened this issue Apr 6, 2020 · 13 comments

Comments

@montvid
Copy link

montvid commented Apr 6, 2020

I compiled mimic1 on debian 10 from source master branch, all make check tests pass. I can't load a voice file:
mimic -voice file://home/momo/Dokumentai/voices/cmu_us_slt.flitevox -t "hi" Error load voice: can't open file file://home/momo/Dokumentai/voices/cmu_us_slt.flitevox Error load voice: failed to load voice from file://home/momo/Dokumentai/voices/cmu_us_slt.flitevox

mimic -voice http://www.festvox.org/flite/packed/flite-2.1/voices/cmu_us_slt.flitevox -t "hi" Segmentavimo klaida
flite-2.1-release Dec 2017 does work with the url but does not work with the file and it does not download the file as mimic is supposed to:
flite -voice http://www.festvox.org/flite/packed/flite-2.1/voices/cmu_us_slt.flitevox -t "hi"

@forslund
Copy link
Collaborator

forslund commented Apr 6, 2020

Hi, for local files the file:// isn't recognized, use normal paths /home/momo/Dokumentai/voices/cmu_us_slt.flitevox for local files.

I can reproduce the issue with http, so that's something we need to dig into. Thanks.

@forslund
Copy link
Collaborator

forslund commented Apr 6, 2020

I also now see that file:// url's should be supported so we need to look at that as well.

Edit: Never mind, the file:// url seem to work:
./mimic -voice file:///home/ake/projects/c/mimic/voices/cmu_us_slt.flitevox -t hello

@montvid
Copy link
Author

montvid commented Apr 6, 2020

This does not work either:

mimic -voice /home/momo/Dokumentai/voices/cmu_us_slt.flitevox -t "hi"
Segmentavimo klaida
mimic -voice "/home/momo/Dokumentai/voices/cmu_us_slt.flitevox" -t "hi"
Segmentavimo klaida
mimic -voice "~/Dokumentai/voices/cmu_us_slt.flitevox" -t "hi"
Error load voice: can't open file ~/Dokumentai/voices/cmu_us_slt.flitevox
Error load voice: failed to load voice from ~/Dokumentai/voices/cmu_us_slt.flitevox

@montvid
Copy link
Author

montvid commented Apr 6, 2020

I also now see that file:// url's should be supported so we need to look at that as well.

Edit: Never mind, the file:// url seem to work:
./mimic -voice file:///home/ake/projects/c/mimic/voices/cmu_us_slt.flitevox -t hello

Does not work for me:

mimic -voice file:///home/momo/Dokumentai/voices/cmu_us_slt.flitevox -t hi
Segmentavimo klaida

@forslund
Copy link
Collaborator

forslund commented Apr 6, 2020

Does the default voice work mimic -t "Hello"?

@montvid
Copy link
Author

montvid commented Apr 6, 2020

Does the default voice work mimic -t "Hello"?

Of course. All the compiled in voices work.

@forslund
Copy link
Collaborator

forslund commented Apr 6, 2020

And the flitevox files included in the voice folder?

I'm wondering if there's an upstream data? I downloaded the cmu_us_slt voice and that doesn't work locally either but the version in the voice folder works

@montvid
Copy link
Author

montvid commented Apr 6, 2020

In the voices folder all work but cmu_us_slt_hts.htsvoice

@montvid
Copy link
Author

montvid commented Apr 6, 2020

This seems to work with flite but not with mimic using http://www.festvox.org/flite/packed/flite-2.1/voices/cmu_us_slt.flitevox
Thanks for showing me how to load a voice file!
flite -voice file:///home/momo/Dokumentai/voices/cmu_us_slt.flitevox -t hi
flite -voice /home/momo/Dokumentai/voices/cmu_us_slt.flitevox -t hi

mimic -voice file:///home/momo/Dokumentai/voices/cmu_us_slt.flitevox -t hi
Segmentavimo klaida
mimic -voice /home/momo/Dokumentai/voices/cmu_us_slt.flitevox -t hi
Segmentavimo klaida

@montvid
Copy link
Author

montvid commented Apr 6, 2020

by the way - did you fork flite 2.1 or 2.0? Maybe that's the problem. I see it is! mimic plays flite 2.0 voices but not flite 2.1!
try:
http://www.festvox.org/flite/packed/flite-2.0/voices/cmu_us_slt.flitevox
http://www.festvox.org/flite/packed/flite-2.1/voices/cmu_us_slt.flitevox

@montvid
Copy link
Author

montvid commented Apr 6, 2020

@montvid montvid changed the title Loading a voice from http or file does not work Flite 2.1 voice from http or file doesn't work with mimic Apr 6, 2020
@montvid
Copy link
Author

montvid commented Apr 6, 2020

cmu_us_slt.flitevox in http://www.festvox.org/flite/packed/flite-2.0/voices/cmu_us_slt.flitevox is the same as in your repo md5sum:a65f309e638ceeca6548a817fc285f1f

So it seems mimic does not support flite 2.1?

@forslund
Copy link
Collaborator

forslund commented Apr 6, 2020

Likely, will have to see what the difference is. The 2.1 voices are roughly 50% the size of the 2.0 voices

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

2 participants