I am interested in how the wireless protocol works with a Squeezebox Touch (or Duet I guess for that matter)?
I noticed when I used one some while back that there was a large buffer in the Duet - when I disconnected the wireless link to the computer - the Duet was playing for about 15 or so seconds afterwards - which seem to be a decent size buffer.
So I just wondered - when playing music initiated from the Personal Computer, there is a slight delay before starting - so does music first get 'copied' to the Squeezebox over the wireless network - then once copied (which should be perfect if using TCP/IP and CRC checksums)- it then actually gets played from the copy on the SB itself?
Results 1 to 10 of 18
Hybrid View
-
2012-03-12, 13:09 #1Senior Member
- Join Date
- Jan 2011
- Location
- Norfolk, England
- Posts
- 102
Can anyone tell me how the wireless protocol works?
-
2012-03-12, 16:21 #2
In every streaming system (digital) the music is first copied to the target, it's being delivered in packets.
However, the SB doesn't have to wait for the full 15s buffer to fill, it can start to play as soon as the first decidable packet is there (depends on the codec) and will fill the buffer in the background.---
learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
New: Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
at penguinlovesmusic.com
-
2012-03-12, 16:49 #3Senior Member
- Join Date
- Apr 2005
- Location
- Colorado
- Posts
- 10,073
There is no 'wireless' protocol. The streaming protocol over the network is the same for both wired and wireless connections.
Right, but the length of time the audio will play from the buffer will depend on the degree of compression of the data. It might be 15 seconds for WAV (PCM), or it might be a couple of minutes for MP3 at some low bitrate.I noticed when I used one some while back that there was a large buffer in the Duet - when I disconnected the wireless link to the computer - the Duet was playing for about 15 or so seconds afterwards - which seem to be a decent size buffer.
The buffer is prefilled to some degree (I think measured in bytes) before playback will begin. The faster the server and the network, the quicker this happens. And why a faster network connection (such as wired 100 Mbps ethernet) will be more reliable. If there's a network or server interruption, the faster network allows the buffer to refill more quickly and avoid underruns.So I just wondered - when playing music initiated from the Personal Computer, there is a slight delay before starting - so does music first get 'copied' to the Squeezebox over the wireless network - then once copied (which should be perfect if using TCP/IP and CRC checksums)- it then actually gets played from the copy on the SB itself?
-
2012-03-13, 07:05 #4Senior Member
- Join Date
- Jan 2011
- Location
- Norfolk, England
- Posts
- 102
So in essence the musical data should be copied perfectly over wireless to the SB Touch from the source (just like when you copy a hi-res photo or video file from one computer to another and the image is still all there when viewed from the target PC without any loss whatsoever).
If this is the case, then why is wireless discouraged for sound quality reasons? Surely this the best way to isolate an electrically noisy computer source from the likes of a PC for example (assuming the simplicity of the SB Touch is much more electrically quieter than an all out monster gaming computer).
If the overheads of WPA encryption and decryption is stressing out the SB Touch then just send the Music over an open wireless network instead (as long as you don't send your credit card details over this same link).
-
2012-03-13, 07:29 #5Senior Member
- Join Date
- Jan 2009
- Location
- Utah, USA
- Posts
- 596
If you have a reliable wireless connection then there should be no difference in the sound quality of a wired connection. Bits are bits. If you have a bad wireless environment you could experience dropouts in the music from buffer underruns.
2 Duets - 1 for upstairs and 1 for downstairs
Rock Solid with SQ 7.6.1 and WHS 2011
-
2012-03-13, 07:30 #6--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(in storage SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux
http://people.xiph.org/~xiphmont/demo/neil-young.html
-
2012-03-14, 04:06 #7Senior Member
- Join Date
- Oct 2006
- Location
- sheffield, uk
- Posts
- 224
Because people are idiots

I'm surprised no-one has recommended filling rooms where the wireless signals travel with a different gas because it results in better sound quality. Of course you'd have to buy a gas mask because said gas would be toxic to breathe. This would then lead onto the sale of audiophile gas masks....
Or am I taking it too far?
-
2012-03-14, 11:14 #8Senior Member
- Join Date
- Apr 2005
- Location
- Colorado
- Posts
- 10,073
RFI is the reason usually stated. Many audiophiles will not operate a wireless network in their homes for the same reason.
-
2012-03-14, 12:49 #9Senior Member
- Join Date
- Jan 2011
- Location
- Norfolk, England
- Posts
- 102
Yes but there's RFI everywhere - one more wireless connection won't make a difference surely?
Anyway - whats the lesser of two evils - directly connected to an electrically noisy computer - or RFI (which is all around us anyway)?
-
2012-03-14, 13:15 #10
Yes there's RFI everywhere, but some believe that the RFI is more damaging to SQ if one of the RFI sources (the Touch's antenna) is inside the same little box as the DAC, CPU, etc. Inverse square law and all that.
As for "directly connected to an electrically noisy computer", well, that shouldn't affect the integrity of the digital data that gets sent down the ethernet cable.
Reasonable (and unreasonable) people differ on whether either of those matter.

Reply With Quote

