Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to configure the linux software festival which converts text to voice on a Raspberry Pi.

Before and after the sound is played there is glitch sound that is heard.

Does anyone know what is causing this glitch noise?

How can I get rid of this?

It seems like it is the Raspberry Pi that is causing the problem, because I got the same problem with espeak.

Would it be better using HDMI?

This guy has the same glitch sound when he is playing sounds. Forward to 3:18 in the video.

share|improve this question

migrated from Dec 5 '12 at 21:16

This question came from our site for professional and enthusiast programmers.

I don't know why I deserved the down vote for having a problem? – user1728363 Feb 14 '13 at 11:44
the audio jack on the Pi is just awful. you need to use HDMI or a USB sound card to make it bearable. – Dale Johnson Jun 11 at 7:36

Okay, after hearing the sound in the video - it seems like a general problem with the Raspberry Pi.

I just leave this in here for the reference to the video in the comments.

Well this I'm just guessing without hearing the noise. But I know from digital audio workstation programs that they are always fading in sound when they start with a sample or wave file and fading out when they are done with that. I guess your text to voice is generating or assembling these sounds. When you are changing from one file to the other and there is some static or different dc level in these files (or your generated sounds) this could generate some noise. These are just some random stabs without knowing more details.

share|improve this answer
If you have a look at this video. This guy is doing what I would like to do and he has the same glitch sound. Forward to 3:18 in the video and listen: – user1728363 Dec 6 '12 at 11:57
I get the same glitch sound when I play a wav-file with aplay linux software. – user1728363 Dec 6 '12 at 12:02
up vote 1 down vote accepted

I read on another forum that it could be the sample rate that caused the problem. I tried playing a regular wav-file but I got the same noise before and after.

The only solution to the problem I have found is using HDMI. No noise is heard then.

At this site the author writes that the sound driver for Raspberry Pi is still in a beta version, so hopefully the problem will be fixed with a later version.

Also found this that can be of help.

share|improve this answer
The problem was fixed by updating the Raspbian software. There were obviously a bug in the version I was running. – user1728363 Dec 5 '14 at 9:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .