Music gives glitch and delay

Asked by leendert

Music gives glitch and delay

I just installed Ubuntu and everything seems to be working.

Only when i play music it plays but keeps being interrupted by short moments of glitch and delay. It doesn't really matter if i play with rhytm box or youtube or any kind of player i tried so far. It all gives this weird interruption. There is no time loss and it doesn't stop playing. It is only the weird noise very often.

So for example i play mp3 (or something else) in rhytm box (or something else) and it seems to be playing fine only it gives this noise around once every ten seconds.

I am totally new to this so it could be just a setting.

I am using Ubuntu 9.04.

I unintentionally posted this in the yelp thread. I will close that one.

Thanks in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
leendert
Solved:
Last query:
Last reply:
Revision history for this message
Catarina (catarinafs) said :
#1

Hmm, have you got the correct codecs installed?

Go to Applications > Add/Remove and search for "gstreamer" (make sure you have "All Open Source Applications" selected). Install "Gstreamer ffmpeg video plugin", "Gstreamer extra plugins", "Gstreamer Dirac video plugin" and "GStreamer plugins for mms, wavpack, quicktime, musepack".

I have those and no problems with any kind of file until now. ;)

Revision history for this message
Catarina (catarinafs) said :
#2

Oh and reboot your system after installation: it's not necessary, but it's a precaution I like to take to make sure everything gets settled down just fine. :)

Revision history for this message
leendert (len-highhouse) said :
#3

Thanks for the tip. I had all plugins installed. It didn't work.

However i just got a tip from a friend suggesting it was due to the pulse audio settings. I will let you know if that worked.

Revision history for this message
leendert (len-highhouse) said :
#4

It worked!

I don't know if it is customary to explain the solution but here it is.

Go to terminal and type:
$ gksudo gedit /etc/pulse/daemon.conf
Somewhere in this file are settings for default fragments and default fragments size. I changed the values to 11 and 25.

After restarting it works very nice.

Thanks again!