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

Add a good voice? #140

Closed
Ixel242 opened this issue May 27, 2024 · 5 comments
Closed

Add a good voice? #140

Ixel242 opened this issue May 27, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Ixel242
Copy link

Ixel242 commented May 27, 2024

Hi!
I liked the Piper voices in Spanish that has Speech Note. By curiosity, I checked their website:
https://rhasspy.github.io/piper-samples/

... and I found interesting this voice (in Spanish too),
es_ES-mls_10246-low

Somehow, is it possible to add it to Speech Note?

Thank you in advance.

@mkiol mkiol added the bug Something isn't working label May 27, 2024
@mkiol
Copy link
Owner

mkiol commented May 27, 2024

Thanks for the report.

It looks that in 665c080 I turned off all the MLS models! I don't remember exactly why, but most likely some MLS were broken and I disabled them all off for every languages without checking.

I will re-enabled then in new version.

If you don't want to wait for a new version, you can enable it yourself by editing this file:
~/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/models.json

Change hidden to false in:

        {
            "name": "Español (Piper MLS 10246 Low Female)",
            "model_id": "es_piper_es_mls10246_low",
            "engine": "tts_piper",
            "lang_id": "es",
            "checksum": "5ed4f42",
            "checksum_quick": "2e66d6bf",
            "comp": "dir",
            "urls": [
                "https://huggingface.co/rhasspy/piper-voices/resolve/a5400b9af996fd43eab8da0801c320629828f62a/es/es_ES/mls_10246/low/es_ES-mls_10246-low.onnx",
                "https://huggingface.co/rhasspy/piper-voices/resolve/a5400b9af996fd43eab8da0801c320629828f62a/es/es_ES/mls_10246/low/es_ES-mls_10246-low.onnx.json"
            ],
            "size": "63118672",
            "hidden": true
        },
        {
            "name": "Español (Piper MLS 9972 Low Female)",
            "model_id": "es_piper_es_mls9972_low",
            "engine": "tts_piper",
            "lang_id": "es",
            "checksum": "4632c099",
            "checksum_quick": "787d55da",
            "comp": "dir",
            "urls": [
                "https://huggingface.co/rhasspy/piper-voices/resolve/a5400b9af996fd43eab8da0801c320629828f62a/es/es_ES/mls_9972/low/es_ES-mls_9972-low.onnx",
                "https://huggingface.co/rhasspy/piper-voices/resolve/a5400b9af996fd43eab8da0801c320629828f62a/es/es_ES/mls_9972/low/es_ES-mls_9972-low.onnx.json"
            ],
            "size": "63118671",
            "hidden": true
        },

After app restart, you should be able to download Español (Piper MLS 10246 Low Female) and Español (Piper MLS 9972 Low Female).

@Ixel242
Copy link
Author

Ixel242 commented May 28, 2024

Thank you;
It isn't urgent, I can wait for the next update.

If I try it, It will be because I like the challenges.

@Ixel242
Copy link
Author

Ixel242 commented Jun 22, 2024

Thanks for the report.

It looks that in 665c080 I turned off all the MLS models! I don't remember exactly why, but most likely some MLS were broken and I disabled them all off for every languages without checking.

I will re-enabled then in new version.

If you don't want to wait for a new version, you can enable it yourself by editing this file: ~/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote/models.json

Change hidden to false in:

        {
            "name": "Español (Piper MLS 10246 Low Female)",
            "model_id": "es_piper_es_mls10246_low",
            "engine": "tts_piper",
            "lang_id": "es",
            "checksum": "5ed4f42",
            "checksum_quick": "2e66d6bf",
            "comp": "dir",
            "urls": [
                "https://huggingface.co/rhasspy/piper-voices/resolve/a5400b9af996fd43eab8da0801c320629828f62a/es/es_ES/mls_10246/low/es_ES-mls_10246-low.onnx",
                "https://huggingface.co/rhasspy/piper-voices/resolve/a5400b9af996fd43eab8da0801c320629828f62a/es/es_ES/mls_10246/low/es_ES-mls_10246-low.onnx.json"
            ],
            "size": "63118672",
            "hidden": true
        },
        {
            "name": "Español (Piper MLS 9972 Low Female)",
            "model_id": "es_piper_es_mls9972_low",
            "engine": "tts_piper",
            "lang_id": "es",
            "checksum": "4632c099",
            "checksum_quick": "787d55da",
            "comp": "dir",
            "urls": [
                "https://huggingface.co/rhasspy/piper-voices/resolve/a5400b9af996fd43eab8da0801c320629828f62a/es/es_ES/mls_9972/low/es_ES-mls_9972-low.onnx",
                "https://huggingface.co/rhasspy/piper-voices/resolve/a5400b9af996fd43eab8da0801c320629828f62a/es/es_ES/mls_9972/low/es_ES-mls_9972-low.onnx.json"
            ],
            "size": "63118671",
            "hidden": true
        },

After app restart, you should be able to download Español (Piper MLS 10246 Low Female) and Español (Piper MLS 9972 Low Female).

Hi Mikol,
Don't include these voices In the next update.... you were right, they are broken ... the voice sounds nice, but they start to do strange sounds and cuts that spoil the reading to speech.

Thank you!

@mkiol
Copy link
Owner

mkiol commented Jun 22, 2024

Oh! Thanks for letting me know.

@mkiol
Copy link
Owner

mkiol commented Aug 3, 2024

New version v4.6.0 is out and I decided to include these voices, even if there is a problem with them. Maybe someone will find them useful for something...

The new version should be available in Flathub tomorrow.

@mkiol mkiol closed this as completed Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants