Date   

Updates to Github #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Pull Request #808 Fix to #737 (ssml voice change) and Cleanup
By jaacoppi:

My findings after moving the self_closing logic to ProcessSsmlTag():

This check should only catch self-closing tags like
. There are no such tags in the input file of the original bug report, but still the code somehow finds them. I suspect it's a wide char issue

bool self_closing is used for popping the SSML parameter stack

  1. With len = wcslen(xml_buf);, checks are passed and nothing is changed in the behaviour (ie. bug still exists)

  2. With len = strlen(xml_buf);,

  3. checks fail

  4. the voice is not changed midway through the sentence

  5. the voice is not changed back after

Neither of these versions seem to call PopParamStack or PushParamStack


[espeak-ng:master] New Comment on Pull Request #808 Fix to #737 (ssml voice change) and Cleanup
By jaacoppi:

My findings after moving the self_closing logic to ProcessSsmlTag():

This check should only catch self-closing tags like
. There are no such tags in the input file of the original bug report, but still the code somehow finds them. I suspect it's a wide char issue

bool self_closing is used for popping the SSML parameter stack

  1. With len = wcslen(xml_buf);, checks are passed and nothing is changed in the behaviour (ie. bug still exists)

  2. With len = strlen(xml_buf);,

  3. checks fail

  4. the voice is not changed midway through the sentence

  5. the voice is not changed back after ""

Neither of these versions seem to call PopParamStack or PushParamStack


[espeak-ng:master] New Comment on Pull Request #808 Fix to #737 (ssml voice change) and Cleanup
By jaacoppi:

My findings after moving the self_closing logic to ProcessSsmlTag():

This check should only catch self-closing tags like
. There are no such tags in the input file of the original bug report, but still the code somehow finds them. I suspect it's a wide char issue

bool self_closing is used for popping the SSML parameter stack

  1. With len = wcslen(xml_buf);, checks are passed and nothing is changed in the behaviour (ie. bug still exists)

  2. With len = strlen(xml_buf);,

  3. checks fail

  4. the voice is not changed midway through the sentence

  5. the voice is not changed back after /voice

Neither of these versions seem to call PopParamStack or PushParamStack


[espeak-ng:master] reported: Fix to #737 (ssml voice change) and Cleanup #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Pull Request #808 Fix to #737 (ssml voice change) and Cleanup
By jaacoppi:

Wait.. I'm 100% sure this commit fixed #737, but I still have the bug in my branch. Don't merge this yet, I'll check git reflog to see what went wrong.


Pull Request Opened #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng/espeak-ng] Pull request opened by jaacoppi:

#808 Fix to #737 (ssml voice change) and Cleanup

The fix to #737 happens to work.

I know it's bad practise to fix something without understanding how the fix works, but I'm still doing it. Please check if you can figure out how this change works and whether tests can be added to make sure this doesn't break in the future.

As an added bonus, this simplifies the relationship between ReadClause and ProcessSsmlTag.


[espeak-ng:master] reported: SSML input <voice name="value" age="value"> changes to default voice mid-sentence #github

espeak-ng@groups.io Integration <espeak-ng@...>
 


[espeak-ng:master] reported: SSML input <voice name="value" age="value"> changes to default voice mid-sentence #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #737 SSML input changes to default voice mid-sentence
By guest271314:

Am not familiar with C. This is how wrote <voice> tag parser in JavaScript https://github.com/guest271314/SSMLParser/blob/master/voice/parseSSMLVoiceElementNameAttribute.js. Once voices are loaded (need to set voice variants to 1 in espeak-ng configuration file after executing spd-conf and may need to execute speechSynthesis.getVoices() twice to load variants) am able to parse <voice></voice> elements with SSML, test https://guest271314.github.io/SSMLParser/.


[espeak-ng:master] reported: SSML input <voice name="value" age="value"> changes to default voice mid-sentence #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #737 SSML input changes to default voice mid-sentence
By jaacoppi:

Changing strlen() to wcslen() fixed the tests.

I still don't understand why this change fixes the bug, or if this change will break something else. I'll keep submit a PR anyway.


[espeak-ng:master] reported: SSML input <voice name="value" age="value"> changes to default voice mid-sentence #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #737 SSML input changes to default voice mid-sentence
By jaacoppi:

Attached diff seems to fix this: fix_737.txt

Unfortunately, it also breaks tests so it can't be merged yet. I'll see if I can figure out why.

I found this out by accident, my intention was just to do code cleanup by separating ReadClause and SSML logic.


Re: Can I uninstall the voices I don't need from my android

Valdis Vitolins
 

Knowledge of available voices for easpeak-ng comes from configuratoin files in espeak-ng-data.


Re: Can I uninstall the voices I don't need from my android

Stefan Moisei
 

This is not the solution. You can delete the data for other languages, only if you are rooted, but espeak won’t know this and will try to use them
The solution is having a checkbox like eloquence, force language.

From: Nikos Demetriou via groups.io
Sent: Friday, August 14, 2020 9:27 AM
To: espeak-ng@groups.io
Subject: [espeak-ng] Can I uninstall the voices I don't need from my android
 
Hi all.
As the subject says, I was wondering if it is possible to uninstall espeak voices from our device and keep only the voices we really need.
 
For my situation, I only need one voice on my device which is the Greek one.
The greek voice is multilingual. It can speak Greek and English without having to switch voices.
 
I don't really need all the other voices.
I know they don't take up space, but some apps which are self voicing, they don't respect the voice I chose and they change the espeak language.
If Greek was the only voice installed, espeak would work as expected without any issues.
 
On my phone, the system language is UK English, but the espeak language is set to Greek, but some apps insist to change my language of choice.
 
Nokia 6.1 with android 10. The July security patch is installed.
Thanks
Nikos


Re: Can I uninstall the voices I don't need from my android

David Hilton
 

On my sansung galaxy, the language selector in talkback has an error, where it switches back to the UI language after typing using the defalt keyboard for the UI language.. this could bee affecting espeak. also, if you use the greek voice it will speak the numerals [which are wrighten in the arabic script] in greek, meaning that the numbers will never be spoken in english if you are ownley using the greek voic.


Re: Can I uninstall the voices I don't need from my android

 

Hi.
As I said space is not the issue but the fact that some apps insist of changing the espeak language to something else from the voice I chose which is Greek.

For example lazarillo gps keeps changing the espeak voice to UK English.

Also in gmail when the language tag is not correct in the emails, the language keeps changing which makes emails written in Greek unreadable.

Unfortunately there are many examples which I want the espeak voice to be Greek only but it changes to something else which I don't need.

I know it is impressive to have 78 different language without taking much space, but if we will never need all those languages then what's the point?

I know my situation is strange because I am using a different espeak language than the system language on my phone, but espeak should be able to respect my language of choice.
Nikos

On Fri, 14 Aug 2020 at 12:25, Valdis Vitolins via groups.io <valdis.vitolins=odo.lv@groups.io> wrote:
Do you really need this?
In difference with other speech engines, which are based on recorded voice, data files in espeak-ng are very small.
Voice data files in espeak-ng-data folder take 12MB, but phoneme definitions (actual sounds) take 16MB.
You can remove unneeded voice files from espeak-ng-data files, but cleaning up phonemes may be harder, because the same phoneme (sound) may be used in many languages.


Re: Can I uninstall the voices I don't need from my android

Valdis Vitolins
 

Do you really need this?
In difference with other speech engines, which are based on recorded voice, data files in espeak-ng are very small.
Voice data files in espeak-ng-data folder take 12MB, but phoneme definitions (actual sounds) take 16MB.
You can remove unneeded voice files from espeak-ng-data files, but cleaning up phonemes may be harder, because the same phoneme (sound) may be used in many languages.


Can I uninstall the voices I don't need from my android

 

Hi all.
As the subject says, I was wondering if it is possible to uninstall espeak voices from our device and keep only the voices we really need.

For my situation, I only need one voice on my device which is the Greek one.
The greek voice is multilingual. It can speak Greek and English without having to switch voices.

I don't really need all the other voices.
I know they don't take up space, but some apps which are self voicing, they don't respect the voice I chose and they change the espeak language.
If Greek was the only voice installed, espeak would work as expected without any issues.

On my phone, the system language is UK English, but the espeak language is set to Greek, but some apps insist to change my language of choice.

Nokia 6.1 with android 10. The July security patch is installed.
Thanks
Nikos


[espeak-ng:master] reported: Espeak-ng on windows: can not specify language #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #802 Espeak-ng on windows: can not specify language
By vcjob:

One interesting thing also here to mention: when I remove all the languages except for Russian, and try to do espeak-ng -x привет, I get result: Error: The specified espeak-ng voice does not exist. When the same time I do espeak-ng -v ru -x привет, I get the result (I did not copy it myself that many times, that all I've got):

Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'
Can't read dictionary file: 'C:\Program Files\eSpeak NG\/espeak-ng-data\en_dict'

If I remove the last language left on espeak-ng installation, Russian, than I get each time, no matter if I add -v ruor -vru or just the key -x with no language specification, I get the same error: Error: The specified espeak-ng voice does not exist.

Hope It can clarify something... If so, let me know if I can do anything about it! I did not succeed building it on windows and, even if I would, that would be insane to repeat it on the other machine.

Thank you for any help!


[espeak-ng:master] reported: Could anyone pls make a simple guide on how to build espeak-ng on windows? #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #807 Could anyone pls make a simple guide on how to build espeak-ng on windows?
By vcjob:

@Lamashino , @rhdunn Thank you for the answers! I fixed multiple error, including "stddef.h", M_PI, S_ISDIR... Now fighting with the Error LNK2019: int __cdecl invoke_main(void) ( invoke_main@@yahxz) and LNK1120. Strange, since I've got my linker-system-subsystem set to Windows (/SUBSYSTEM:WINDOWS)


[espeak-ng:master] reported: Espeak-ng on windows: can not specify language #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #802 Espeak-ng on windows: can not specify language
By vcjob:

Does espeak-ng --voices list all voices or only English?

Have you checked that Russian was selected when installing espeak-ng (in the Languages feature in the "components to install" page of the installer)? If not, you can either select the language itself, or the parent Languages group to enable all languages.

@rhdunn Thank you for the answer. As I noted earlier, there is Russian language. You can also see it from the picture down below. I did reinstall it multiple times, selecting each time different option for Russian language, as well as doing espeak-ng --compile=ru, but no success. One thing to mention b.t.w., there are two version of Russian in the linux version:

5  ru              --/M      Russian            zle/ru
2  ru-lv           --/M      Russian_(Latvia)   zle/ru-LV

But I don't see much interesting here, anyway I always use -v ru or -vru, not -v ru-lv

image


[espeak-ng:master] reported: Could anyone pls make a simple guide on how to build espeak-ng on windows? #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #807 Could anyone pls make a simple guide on how to build espeak-ng on windows?
By rhdunn:

@Lamashino The S_ISDIR and other definitions should be handled by src/include/compat/sys/stat.h, etc. It may be an ordering issue given that you added include directories to the path -- you may need to move those to the end of the list so it checks them last. That is, so the compat file is included first, then that includes the Microsoft header.


[espeak-ng:master] reported: Espeak-ng on windows: can not specify language #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #802 Espeak-ng on windows: can not specify language
By rhdunn:

Does espeak-ng --voices list all voices or only English?

Have you checked that Russian was selected when installing espeak-ng (in the Languages feature in the "components to install" page of the installer)? If not, you can either select the language itself, or the parent Languages group to enable all languages.


[espeak-ng:master] reported: Could anyone pls make a simple guide on how to build espeak-ng on windows? #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Comment on Issue #807 Could anyone pls make a simple guide on how to build espeak-ng on windows?
By Lamashino:

Yes, you are right. I had similar issues and I "googled" solutions for those problems with Visual Studio 2019.

In particular, to fix the "stddef.h" and some others that will arise, you have to add to the project properties the path to the "includes" (in my case: C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt) and the path to the libraries (C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17763.0\ucrt\x64) into the Libraries section.

In addition to this, you will probably have problems with some definitions as "IS_ISDIR" and similar. I just added them at the beginning of the files (only in my "personal" copy of the project).


[espeak-ng:master] new issue: Could anyone pls make a simple guide on how to build espeak-ng on windows? #github

espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Issue Created by vcjob:
#807 Could anyone pls make a simple guide on how to build espeak-ng on windows?

Hi everyone!

I am having a bad time trying to build espeak-ng on windows. First of all, pls. do not advice to use "ready to use .exe and .msi".

By a simple guide I mean some script like "First download and install MS Visual Studio 2017 Community edition. Then Install Wix... Then find msbuild AT FOLDER (folder, as there are a lot of them), invoke msbuild /p (some paramters)... espeak-ng.sln" and so on. The thing is, I gave up resolving errors like stddef.h: No such file or directory ctype.h: No such file or directory errno.h: No such file or directory vcbuild.exe not found and so on, installing more and more adds-on to Visual Studio, which is already more than 12 GB! I assume I go the wrong way, and there must be something I missed. That's so easy to build it on the linux systems, why it's so painful on Windows... God!

581 - 600 of 3979