PDA

View Full Version : Expected delay when skipping tracks on SB?



Mitch Harding
2004-02-23, 17:50
I just ordered my SqueezeBox today, and began experimenting with the
SlimServer software on my home network. I've been streaming somgs from
SlimServer to Winamp and Windows Media Player on a couple other computers,
and it's been working fine (although one computer, when using Winamp, had
some strange sound artifacts when playing -- but it didn't have them with
WMP, so I assume it's some Winamp setting of mine on that system). Anyway,
I noticed that if I skip a track on the SlimServer, it takes several seconds
before the receiving computer actually skips to the next track. I assumed
this had to do with how much of the song is already in the player's buffer,
which has to be flushed before it will begin the new track. But I tried
reducing the amount the player buffered, without a noticable change in
delay. Is there a way to reduce the delay before skipping to the new track?
I see that it skips to the new track right away on the SlimServer, but it
takes a while for my player to skip over.

I'm also wondering what sort of delay I can expect when skipping tracks with
the SqueezeBox. To be precise: Let's say I've defined a playlist ahead of
time. I'm
sitting in my living room with my SqueezeBox and stereo. I load the
playlist with the remote control, and tell it to begin playing. 10 seconds
into the song I decide to skip to the next track. About how much of a delay
can I expect before it will stop playing the current song and begin playing
the next one?

Thanks for any responses. So far I'm enjoying checking out the SlimServer
software, and I can't wait until my SqueezeBox gets here.


--
Mitch
www.mitcharf.com

"Love is a snowmobile racing across the tundra and then suddenly it flips
over, pinning you underneath. At night, the ice weasels come."
- Matt Groening

kdf
2004-02-23, 18:01
Quoting Mitch Harding <mitcharf (AT) tmbg (DOT) org>:

> I just ordered my SqueezeBox today, and began experimenting with the
> SlimServer software on my home network. I've been streaming somgs from
> SlimServer to Winamp and Windows Media Player on a couple other computers,
> and it's been working fine (although one computer, when using Winamp, had
> some strange sound artifacts when playing -- but it didn't have them with
> WMP, so I assume it's some Winamp setting of mine on that system). Anyway,
> I noticed that if I skip a track on the SlimServer, it takes several seconds
> before the receiving computer actually skips to the next track. I assumed
> this had to do with how much of the song is already in the player's buffer,
> which has to be flushed before it will begin the new track. But I tried
> reducing the amount the player buffered, without a noticable change in
> delay. Is there a way to reduce the delay before skipping to the new track?
> I see that it skips to the new track right away on the SlimServer, but it
> takes a while for my player to skip over.

Slimserver handles players like winamp differently than hardware players. The
music is streamed, so you have to alter the setting in Winamp for the MPEG audio
input codec, under streaming. The delay will also depend on the bitrate of the
stream. By default this the native bitrate of the song to a max of 320kbps, but
the convert.conf file can easily be set to downsample the stream a lower rates.

>
> I'm also wondering what sort of delay I can expect when skipping tracks with
> the SqueezeBox.

Its less than a second, in practise.

-kdf

seanadams
2004-02-23, 18:43
It's roughly one eighth of a second.

On Feb 23, 2004, at 4:50 PM, Mitch Harding wrote:

> I just ordered my SqueezeBox today, and began experimenting with the
> SlimServer software on my home network. I've been streaming somgs from
> SlimServer to Winamp and Windows Media Player on a couple other
> computers,
> and it's been working fine (although one computer, when using Winamp,
> had
> some strange sound artifacts when playing -- but it didn't have them
> with
> WMP, so I assume it's some Winamp setting of mine on that system).
> Anyway,
> I noticed that if I skip a track on the SlimServer, it takes several
> seconds
> before the receiving computer actually skips to the next track. I
> assumed
> this had to do with how much of the song is already in the player's
> buffer,
> which has to be flushed before it will begin the new track. But I
> tried
> reducing the amount the player buffered, without a noticable change in
> delay. Is there a way to reduce the delay before skipping to the new
> track?
> I see that it skips to the new track right away on the SlimServer, but
> it
> takes a while for my player to skip over.
>
> I'm also wondering what sort of delay I can expect when skipping
> tracks with
> the SqueezeBox. To be precise: Let's say I've defined a playlist
> ahead of
> time. I'm
> sitting in my living room with my SqueezeBox and stereo. I load the
> playlist with the remote control, and tell it to begin playing. 10
> seconds
> into the song I decide to skip to the next track. About how much of a
> delay
> can I expect before it will stop playing the current song and begin
> playing
> the next one?
>
> Thanks for any responses. So far I'm enjoying checking out the
> SlimServer
> software, and I can't wait until my SqueezeBox gets here.
>
>
> --
> Mitch
> www.mitcharf.com
>
> "Love is a snowmobile racing across the tundra and then suddenly it
> flips
> over, pinning you underneath. At night, the ice weasels come."
> - Matt Groening
>
>

jacobdp
2004-02-23, 18:58
On Mon, 23 Feb 2004 18:50:35 -0600, you wrote:
>Is there a way to reduce the delay before skipping to the new track?
>I see that it skips to the new track right away on the SlimServer, but it
>takes a while for my player to skip over.

It is because of the buffering. There isn't really any way to reduce
the delay. If you use Linux, there's a program called slimp3slave
(google for it) that'll eliminate the delay, but no luck if you use
Windows.

>I'm also wondering what sort of delay I can expect when skipping tracks with
>the SqueezeBox.

Essentially none. The server can tell the hardware to empty the buffer
and start on the new song, which it can't do if you're streaming to a
software player. (slimp3slave works by emulating a SliMP3.)

- Jacob