Menu

#110 Raspberry Pi Problems with "broken" eSpeak output after a few seconds

v1.0 (example)
open
nobody
None
7
2015-12-06
2013-12-29
Michael
No

Raspberry Pi Problems with "broken" eSpeak output after a few seconds:

Accordingly to the following discussion in the raspberry pi forums: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=47942&p=476337 I've tried to discover additional information to resolve the problems of "slow and broken" eSpeak output. It seems that if you use the --stdout option and another wav-player behind eSpeak (i.e. aplay) there is no problem and you can play long textes.

If you use the audio output of eSpeak (tool) or library, there comes "broken" output with a long delay after a few seconds where all sounds good.

The CPU usage of eSpeak is around 7 to 11 percent, so there seems to be no problem.

I've connected the eSpeak library in a simple test application and tried to change the buffer settings of the initialization. This brings no success (e.a. tried 200 to 2000ms). My suggestion is, that there are some kind of sample-rate related problems or taht der ist es problem with the portaudio library.

Any suggestion for further investigations?

Kind regards

Michael

Discussion

  • Michael

    Michael - 2013-12-29
    • testet with eSpeak application from 1.1.46 and 1.1.47
    • testet with own mini test application with shared library 1.1.46 and 1.1.47 (1.1.47 self compiled, 1.1.46 from raspian pi image)
    • problem is on both versions identically

    • another further tests I'll try is to recompile speech data to the sample-rate of 44100 (seems to be alsa default on Raspberry Pi bcm2385 SOC)

     
  • Valdis Vitolins

    Valdis Vitolins - 2015-12-06

    Does it work if everywhere in code 22050 is replaced to 44100?

     

Log in to post a comment.