Date   

[espeak-ng:master] reported: speak on Mac OS error #github

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

[espeak-ng:master] New Comment on Issue #916 speak on Mac OS error
By bwanaaa:

yes my mistake. i was using espeak. And compiling speak-ng on the mac is beyond me.


Updates to Github #github

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

[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By m3M0ryHuN73R:

I had no idea what piping was until now. It works! Thank you a lot guys!


[espeak-ng:master] Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file closed by m3M0ryHuN73R.


Updates to Github #github

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

[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By m3M0ryHuN73R:

espeak-ng "Some text" | someotherprogram

The "|" denotes that the output of a program is sent to another (i.e. creating a pipe), this works the other way around too so that espeak can accept text input from a text file

Understood. How to I pipe espeak?


[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By m3M0ryHuN73R:

espeak-ng "Some text" | someotherprogram

The "|" denotes that the output of a program is sent to another (i.e. creating a pipe), this works the other way around too so that espeak can accept text input from a text file

Understood. How do I pipe espeak?


[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By m3M0ryHuN73R:

espeak-ng "Some text" | someotherprogram

The "|" denotes that the output of a program is sent to another (i.e. creating a pipe), this works the other way around too so that espeak can accept text input from a text file

Understood. How do I pipe espeak?


[espeak-ng:master] reported: Sound doesn't play when inputted from powershell, but the same text is played when read from file #github

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

[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By 0x5066:

espeak-ng "Some text" | someotherprogram

The "|" denotes that the output of a program is sent to another (i.e. creating a pipe), this works the other way around too so that espeak can accept text input from a text file


[espeak-ng:master] reported: Sound doesn't play when inputted from powershell, but the same text is played when read from file #github

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

[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By m3M0ryHuN73R:

piping georgian text to espeak executable works just fine.

On 4/23/21, David @.***> wrote: > I think it's not just Georgian that's this way, but UTF8 characters are just > ignored. The only way to play them is probably reading them from a file. -b > 1 argument doesn't help > > -- > You are receiving this because you are subscribed to this thread. > Reply to this email directly or view it on GitHub: > https://github.com/espeak-ng/espeak-ng/issues/923#issuecomment-825444683

-- with best regards Beqa Gozalishvili Tell: +995593454005 Email: @.*** Web: https://gozaltech.org Skype: beqabeqa473 Telegram: https://t.me/gozaltech facebook: https://facebook.com/gozaltech twitter: https://twitter.com/beqabeqa473 Instagram: https://instagram.com/beqa.gozalishvili

Could you please give an explanation of what does piping mean and how its done


[espeak-ng:master] reported: Sound doesn't play when inputted from powershell, but the same text is played when read from file #github

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

[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By beqabeqa473:

piping georgian text to espeak executable works just fine.

On 4/23/21, David @.***> wrote: > I think it's not just Georgian that's this way, but UTF8 characters are just > ignored. The only way to play them is probably reading them from a file. -b > 1 argument doesn't help > > -- > You are receiving this because you are subscribed to this thread. > Reply to this email directly or view it on GitHub: > https://github.com/espeak-ng/espeak-ng/issues/923#issuecomment-825444683

-- with best regards Beqa Gozalishvili Tell: +995593454005 Email: @.*** Web: https://gozaltech.org Skype: beqabeqa473 Telegram: https://t.me/gozaltech facebook: https://facebook.com/gozaltech twitter: https://twitter.com/beqabeqa473 Instagram: https://instagram.com/beqa.gozalishvili


[espeak-ng:master] reported: Sound doesn't play when inputted from powershell, but the same text is played when read from file #github

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

[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By m3M0ryHuN73R:

I think it's not just Georgian that's this way, but UTF8 characters are just ignored. The only way to play them is probably reading them from a file. -b 1 argument doesn't help


[espeak-ng:master] reported: Sound doesn't play when inputted from powershell, but the same text is played when read from file #github

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

[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By m3M0ryHuN73R:

What happens if you 1) enclose the text in quotation marks 2) pipe the input? Atleast out-file an option "-encoding utf8". I don't know how to change the powershell encoding for other redirection methods.

  1. No change with the quotation marks.
  2. What does piping the input mean?


[espeak-ng:master] reported: Sound doesn't play when inputted from powershell, but the same text is played when read from file #github

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

[espeak-ng:master] New Comment on Issue #923 Sound doesn't play when inputted from powershell, but the same text is played when read from file
By jaacoppi:

What happens if you 1) enclose the text in quotation marks 2) pipe the input? Atleast out-file an option "-encoding utf8". I don't know how to change the powershell encoding for other redirection methods.


[espeak-ng:master] new issue: Sound doesn't play when inputted from powershell, but the same text is played when read from file #github

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

[espeak-ng:master] New Issue Created by m3M0ryHuN73R:
#923 Sound doesn't play when inputted from powershell, but the same text is played when read from file

I am trying to use the ccs/ka (Georgian) language to synthesize text of UTF-8 encoding: გამარჯობა I try to run: espeak-ng -v ka გამარჯობა but there is no sound played. But when I create a file e.x. file.txt and write გამარჯობა inside that, it reads and plays without problem. My ultimate goal is to run this without reading it from a file. I am trying to implement this in Python to use it on my project by using a wrapper from pip, or by using the subprocess module to run shell commands.

Notable things: $text = Get-Content .\file.txt espeak-ng -v ka $text

If I run this in Powershell, it reads file and also plays the sound. $text prints as გჃ›áƒƒ ჯáƒ. I am not sure of what encoding this is or how to convert this to a readable form.


[espeak-ng:master] new issue: Sound doesn't play when inputted from powershell, but the same text is played when read from file #github

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

[espeak-ng:master] New Issue Created by m3M0ryHuN73R:
#923 Sound doesn't play when inputted from powershell, but the same text is played when read from file

I am trying to use the ccs/ka (Georgian) language to synthesize text of UTF-8 encoding: გამარჯობა I try to run: espeak-ng -v ka გამარჯობა but there is no sound played. But when I create a file e.x. file.txt and write გამარჯობა inside that, it reads and plays without problem. My ultimate goal is to run this without reading it from a file. I am trying to implement this in Python to use it on my project by using a wrapper from pip, or by using the subprocess module to run shell commands.


[espeak-ng:master] reported: Missing mark reporting after sentence end #github

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

[espeak-ng:master] New Comment on Issue #920 Missing mark reporting after sentence end
By jaacoppi:

I think this confirms that the bug is with SSML sentence terminator handling, not with markers.

My guesses: - ReadClause() is returning a wrong value (int terminator). - The character buffer where the marker is stored is overwritten and never reaches TranslateClause()


[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By Nafihahmd:

Thank you for the quick reply. You gave a reply more detailed than I expected, thanks. I was editing the espeak-ng-data directory in the project folder (cloned folder). That is why it wasn't working. Reading your comment I remembered that there is another espeak-ng-data in usr/share directory and edited it. And yes it worked.

That means that to reduce size I have to think of other methods that you have mentioned. I had already disabled all configure options. I will try the remaining procedures and report here before closing the issue.

Thanks


[espeak-ng:master] reported: Missing mark reporting after sentence end #github

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

[espeak-ng:master] New Comment on Issue #920 Missing mark reporting after sentence end
By sthibaul:

With this example:

espeak-mark.c.txt

char *s = "<speak> Hello <mark name=\"1\"/>, <mark name=\"2\"/> world. <mark name=\"3\"/>Does <mark name=\"4\"/> this<mark name=\"5\"/>? And <mark name=\"6\"/> that<mark name=\"7\"/>! <mark name=\"8\"/> And <mark name=\"9\"/> hello again.<mark name=\"10\"/></speak>";

Only mark 3 is missing, i.e. only after the period.


[espeak-ng:master] reported: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Comment on Issue #922 Procedure not clear on how to remove/disable a language
By jaacoppi:

Duplicate of #918.

The language files are not included in the espeak-ng binary or library. They are stored separately in the espeak-ng-data directory. You can simply choose not to install the the unneeded _dict files.

You should also disable all configure options like sonic, speechplayer, klatt and mbrola. See ./configure --help.

Other than that I think your only option is to edit the source code. What I would do: 1. remove unnecessary language code in tr_languages.c 2. remove ssml support in ssml.c if you don't need it 3. remove klatt and mbrola related code in klatt.c and mbrola.c and mbrowrap.c 5. remove all unneeded language specific checks in readclause.c, translate.c and numbers.c 6. Remove LoadConfig() and soundicon.c if you don't need it 7. remove unnecessary code related to language compiling. See compiledata.c and compiledict.c Be careful with this one. Once this is done you can't produce new language files. If you've already done everything in parts 1-5, the original data files might not match your binary anymore.


[espeak-ng:master] new issue: Procedure not clear on how to remove/disable a language #github

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

[espeak-ng:master] New Issue Created by Nafihahmd:
#922 Procedure not clear on how to remove/disable a language

Hi all, I am trying to bring down the ROM/FLASH usage by the whole eSpeak system below 500 KB. For this I think it is necessary to remove unwanted languages. But the procedure to remove a language is no where laid out in the eSpeak documentation (or anywhere else in the internet),

So can somebody point me in the right direction to achieve this, please. Nafih


[espeak-ng:master] reported: Missing mark reporting after sentence end #github

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

[espeak-ng:master] New Comment on Issue #920 Missing mark reporting after sentence end
By jaacoppi:

I don't know about markers and I didn't test your attached code. I'm just replying SSML support in general.

The sentence detecting with SSML has known problems. Issues #737 and #410 might be relevant for this case.

I've been trying to simplify the SSML code but it's difficult. So far I've identified these possible problems: - It's parsing a character at a time, and sometimes eating up characters already in the buffer on purpose. Maybe a character like a marker or sentence terminator gets lost by accident. - The SSML stack with voice information isn't kept in sync with sentence ends (perhaps not relevant in this case)

Try the markers mid sentence and with sentences with periods, commas, exclamation and question marks. If you get it working then the problems is with sentence detection instead of markers.


[espeak-ng:master] reported: Missing mark reporting after sentence end #github

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

[espeak-ng:master] New Comment on Issue #920 Missing mark reporting after sentence end
By sthibaul:

I also tried 1.46.06, with the same result.


Updates to Github #github

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

[espeak-ng:master] New Issue Created by sthibaul:
#921 Spurious quote in mark

Hello,

With the same testcase as https://github.com/espeak-ng/espeak-ng/issues/920

espeak-mark.c.txt

I noticed something odd: the reported mark contains the trailing apostrophe:

event 2
event 1
event 5
got mark that' 
event 1
etc.

While it should be

event 2
event 1
event 5
got mark that
event 1
etc.

and it is indeed the case when using " instead of ' in the xml mark tag.

Samuel


[espeak-ng:master] New Comment on Issue #920 Missing mark reporting after sentence end
By sthibaul:

Provided that the test program works correctly with espeak

Does it? With espeak 1.48.04 and 1.48.15 I am facing the same issue, and actually worse: there does not show up either. So I do not have any reference point from which to perform a bisect.


[espeak-ng:master] reported: Missing mark reporting after sentence end #github

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

[espeak-ng:master] New Comment on Issue #920 Missing mark reporting after sentence end
By rhdunn:

Looking at the code I don't see anything obviously wrong with the processing of markers: 1. mark is handled by ProcessSsmlTag in sssml.c line 792. That is adding an embedded control 'M' into the text stream. 1. TranslateClause in translate.c line 2161 is handling the CTRL_EMBEDDED character in the text stream and calling EmbeddedCommand, which is reading the data from the command and setting the various state variables like embedded_list; line 2477 is setting FLAG_EMBEDDED if there were any embedded commands processed. 1. The SFLAG_EMBEDDED flag is set by TranslateWord2 if FLAG_EMBEDDED is set for the current word. 1. The Gemerate/MbrolaTranslate functions call DoEmbedded if the current phoneme has SFLAG_EMBEDDED set. 1. The DoEmbedded function in synthesize.c line 1111 is calling DoMarker, specifying espeakEVENT_MARK. 1. DoMarker in synthesize.c line 1023 is adding the command to the wcmdq list. 1. WavegenFill2 in wavegen.c line 1337 is handling WCMD_MARKER by calling MarkerEvent. 1. MarkerEvent in speech.c is constructing an event of the given type (espeakEVENT_MARK).

The speech.c file handles the synthesis callback. The callback is manually called there when my_mode is 0 (i.e. when the program is handling the audio).

There is a comment in event.h that says "- When the timeout happens, the synth_callback is called." but I can't see where that is happening.

Provided that the test program works correctly with espeak, it should be possible to run a git bisect on the code to locate when the callback stopped working (presumably only for the case where espeak/espeak-ng is processing the audio, or maybe in combination with the event logic).

641 - 660 of 4643