Audio Skips

Discussion about my Wifi Radio project at http://mightyohm.com/wifiradio/ or my WL-520gU talk at NOTACON.
Post Reply
Tiger
Posts: 2
Joined: Wed Oct 27, 2010 8:58 pm

Audio Skips

Post by Tiger »

I have a problem where if I'm on a streaming radio Channel for a few minutes, the audio starts to skip ever few seconds and doesn't stop. If i switch to a different station it will play fine for a few minutes and then start all over again. All these streams are Shoutcast streams. Does anybody know what's going on?
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Audio Skips

Post by mightyohm »

The router might not have enough internet bandwidth to keep the stream playing continuously, or there could be something more subtle going on.

You could try adjusting the mpd buffering settings to see if you can improve things. Look in /etc/mpd.conf. I would play with http_buffer_size and http_prebuffer_size (you'll have to uncomment those lines to activate the settings).

#

Code: Select all

########################## BUFFERING ##########################
#
# The size of the buffer containing decoded audio.  You probably
# shouldn't change this.
#
#audio_buffer_size               "2048"
#
# How much of the buffer to fill before beginning to play.
# Increase this if you hear skipping when changing songs.
#
#buffer_before_play              "10%"
#
# Similar options for the HTTP stream buffer.  If you hear
# skipping while playing HTTP streams, you may wish to increase
# these.
#
#http_buffer_size                "128"
#http_prebuffer_size             "25%"
#
################################################################
mtennant
Posts: 27
Joined: Sun Jul 04, 2010 9:46 am

Re: Audio Skips

Post by mtennant »

If I play one station (WRNN Talk Radio, Socastee SC, USA) and then switch to another station, that station will start skipping.

If I stop and start the skipping station again, it will play normally.

The first station (WRNN) plays at a strange sampling/bit rate and seems to screw things up for other stations, unless you stop and start again.

See if your stations act the same way.
Tiger
Posts: 2
Joined: Wed Oct 27, 2010 8:58 pm

Re: Audio Skips

Post by Tiger »

Your right if I hit stop and then play the next station there is no skipping. Thanks
mtennant
Posts: 27
Joined: Sun Jul 04, 2010 9:46 am

Re: Audio Skips

Post by mtennant »

You're welcome. Now, the real question to the gurus is, why does it do this?

Is this a bug that is fixed in later versions of MPD?
Post Reply