Updates to Github #github


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

[espeak-ng:master] New Issue Created by Nafihahmd:
#918 How to make espeak-ng even more lightweight (for embedded application)

Hi all, I am a ES engineer working on Text to Speech (TTS) project. I first tinkered with Festival and flite but soon realized that Espeak has upper hand in resource constrained environments like mine. (I am trying to bring down the ROM/FLASH usage by the whole TTS system below 500 KB)

So after building espeak-ng from source as per the instruction I used the strip command to even reduce the size of shared library strip src/.libs/libespeak-ng.so This reduced the size of shared library from 1.56 MB to 512 KB which still is not enough.

So my question is can I remove unnecessary languages to save space, i.e, reduce size? I only require English and few indic languages (in contrast to 100+ languages in Espeak-ng). If yes how can I remove a language from espeak-ng? I searched all over the internet but nowhere found any information regarding this.

Thanks in advance, Nafih


[espeak-ng:master] New Comment on Issue #918 How to make espeak-ng even more lightweight (for embedded application)
By Nafihahmd:

I am sharing here to scripts that I used for cloning and building espeak-ng quick. do_scripts.zip


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

[espeak-ng:master] New Issue Created by sthibaul:
#920 Missing mark reporting after sentence end

Hello,

In the attached source code, there are three marks in the ssml content, but only the first and the third marks are reported by espeak-ng. The second one is missing, apparently because it is right after a sentence end. That's very unfortunate since speech-dispatcher precisely puts marks there to get sentence progression...

espeak-mark.c.txt

Samuel


[espeak-ng:master] New Issue Created by sthibaul:
#920 Missing mark reporting after sentence end

Hello,

In the attached source code, there are three marks in the ssml content, but only the first and the third marks are reported by espeak-ng. The second one is missing, apparently because it is right after a sentence end. That's very unfortunate since speech-dispatcher precisely puts marks there to get sentence progression...

espeak-mark.c.txt

(This is with espeak 1.50)

Samuel


[espeak-ng:master] New Issue Created by sthibaul:
#920 Missing mark reporting after sentence end

Hello,

In the attached source code, there are three marks in the ssml content, but only the first and the third marks are reported by espeak-ng. The second one is missing, apparently because it is right after a sentence end. That's very unfortunate since speech-dispatcher precisely puts marks there to get sentence progression...

espeak-mark.c.txt

(This is with espeak-ng 1.50)

Samuel


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

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

I don't know details about SSML API and how exactly *events could be created. But there is something wrong in line 23 espeak_SetSynthCallback(callback); Looks like it was meant to call function int callback(short *wav, int numsamples, espeak_EVENT *events), but it doesn't pass any arguments to it.


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

I don't know details about SSML API and how exactly *events could be created. But there is something wrong in line 23: espeak_SetSynthCallback(callback); Looks like it was meant to call function in line 5: int callback(short *wav, int numsamples, espeak_EVENT *events), but it doesn't pass any arguments to it.


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.