Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. http://www.youtube.com/watch?v=br-xyW8iccg&feature=fvsr

share|improve this question
    
I don't know why I deserved the down vote for having a problem? –  user1728363 Feb 14 '13 at 11:44
add comment

migrated from stackoverflow.com Dec 5 '12 at 21:16

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

2 Answers

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: youtube.com/watch?v=br-xyW8iccg&feature=fvsr –  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
add comment
up vote 0 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.

http://mitchtech.net/raspberry-pi-audio/

Also found this that can be of help. https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Pops_When_Starting_and_Stopping_Playback

http://raspberrypi.stackexchange.com/questions/3626/how-to-get-better-audio-quality-from-audio-jack-output

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.