News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Multi-room Sound Systems Even possible?

Started by Purplexus, April 07, 2009, 08:42:16 AM

Previous topic - Next topic

hari

my squeezeboxes run in perfect sync :-)

br, Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

colinjones

Quote from: colinjones on April 09, 2009, 01:32:06 AM
Andrew

I agree for your purposes this could turn out to be useless, but remember that not everyone has the luxury of multi-zone or matrix systems ... and for them I think that even going from 1000-2000ms down to 20-200ms sync would be a significant improvement they would like. Plus, as I said there are other side benfits!

I have tried the broadcast/slave mode of xine-ui:

core - xine -A none -V none --broadcast-port 6789 /home/public/data/videos/file.avi

MD - xine slave://192.168.80.1:6789

But unfortunately the client side fails with a Floating Point Exception irrespective of the media file I use... dunno why. Done some searches and can't find anything for that for my hardware so I have logged a ticket with the Xine Project... hopefully they can advise.....

Could someone please give these commands a go on two of their machines to see if it is just my machines or something deeper in xine?

darrenmason

Hi Colin,

Works for me - but do you want the bad news?

Running one client on my back room MD, one on my lounge MD and one on my desktop in the study and they are not in sync. Probably a good half a second out.
All three are different.

Regards
Darren

colinjones

Darren - thanks for that, I need to get mine working too so I can experiment.... i was never implying that this would work right from the get go.... at the very least, in its basic form, xine is almost certainly using a buffer on the client end... need to work out how to manipulate that to get rid of it and allow just-in-time streaming (probably needs work on the server end as well)

Marie.O

Just a small note.

During our LinuxTag 2008 adventure, some guy came to me, and asked how we achieved synchronization. And I told him, we don't.

After a bit chatting, he said, they have been trying to achieve synchronized audio for a couple of years, and still have not had success.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

totallymaxed

Quote from: phenigma on April 09, 2009, 10:59:28 PM
Could LinuxMCE use PulseAudio sinks?  PulseAudio was incorporated into Ubuntu and implements a 'glitch-free' synchronous multi-output network sound server system.  It is the best sync for a networked sound system that I have heard.  It's still not perfect.  Just a thought.

[edit: spelling]

Hmmm... that sounds promising and definitely worth some research as Thom says.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

totallymaxed

Quote from: posde on April 10, 2009, 08:34:37 PM
Just a small note.

During our LinuxTag 2008 adventure, some guy came to me, and asked how we achieved synchronization. And I told him, we don't.

After a bit chatting, he said, they have been trying to achieve synchronized audio for a couple of years, and still have not had success.


posde - exactly!

We've posted question on this to the Squeezebox forums and they have no real solution for this issue yet either. The Sonos guys have also spent years on it and they freely admit they cannot compete with a traditional solution. This stuff is not easy in way... and it is not going to be delivered by xine alone.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

phenigma

Quote from: totallymaxed on April 11, 2009, 02:59:39 PM
Quote from: phenigma on April 09, 2009, 10:59:28 PM
Could LinuxMCE use PulseAudio sinks?  PulseAudio was incorporated into Ubuntu and implements a 'glitch-free' synchronous multi-output network sound server system.  It is the best sync for a networked sound system that I have heard.  It's still not perfect.  Just a thought.

[edit: spelling]

Hmmm... that sounds promising and definitely worth some research as Thom says.

Andrew

I've got some time in a few weeks.   I've played with it under ubuntu with gnome but not under kubuntu, I had initially been trying to get PulseAudio and mpd to play nicely on wireless routers with usb sound cards.  I'll try to set up 0810 on a few machines and see what's what.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

Marie.O

Quote from: cpayne on May 20, 2009, 10:16:59 PM
Need some advice[...]

You might want to open a new thread, and not hijack this one ;)
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]