Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Multiple sound cards in vortex box

UserPost

10:23 am
March 13, 2009


Floppywesl

Member

posts 7

if you have multiple sound cards installed into a vortex box is there any kind of multi zone support ? I am trying to build a super media center with multiple zones of audio for my house controlled over tcp/ip / laptops / and wifi windows mobile phone.

9:41 pm
March 13, 2009


Andrew

Admin

posts 2814

Wow now theres a cool idea. I had never thought of that. This should work well. I'll think about how to do it and post to my documentation section. How many zones where you thinking about?

2:07 pm
March 13, 2009


Floppywesl

Member

posts 7

well as many as i can stick in a box truthfully , but there are special cards that have 4+ zones on them. I want to have this box in a rack with multi audio cards or 1 multi output card feed into my amp with red/white RCA ( for now ). Being able to control multi zones from the server saves a ton of rackspace , id have to have boxes with audio support for each zone otherwise.

http://altoedge.com/soundcards/  here is an example. If the GUI or tcp/commands can have a player control a song playing etc and route it to a zone .

ie Bedroom squeezebox/softsqueeze etc plays a song that zone is tied to soundcard #xx or output xx on card xx.

This is an amazing product if you didn't already realise , adding multi zone audio to it will put it in a whole different class and make it unbelievable.

To start off 4 zones is typical Main, hallway,kitchen,bedroom etc.

7:53 pm
March 13, 2009


Andrew

Admin

posts 2814

OK are you ready for this? I just spent some time taking a look at this. I used one of the VortexBox appliances we are selling for testing. This box has a standard motherboard with a 7.1 sound chip on it. I looked at the back of the box and started thinking. It has 4 audio ports Front, Rear, Center, and Side. I thought well each one of these must be stereo. I wonder if you can play different things on each port.

It turns out you can! I love Linux you can really get in and hack it. I started an instance of squeezecenter for each port and it was done. Four stereo channels each with different music on it!

It took quite a bit of hacking to get this working. I will release and RPM that "Just works" fior the VortexBox appliance but for any other sound card you will have to hack it. What do you think?

6:35 pm
March 15, 2009


Floppywesl

Member

posts 7

That sounds pretty good , my test rig is a standard old compaq box with just the
 green " out so that would only be good for 1 zone , what MB / chipset do u have ?

will there be a way in the gui / tcp-ip commands to designate a player/zone/song etc?

ie

( mac address of player #xx) play command , track/album , zone output?

11:27 pm
March 15, 2009


Andrew

Admin

posts 2814

yes a "squeezeslave" player is just like a network attached player. You can set all the options from the GUI, iPod touch GUI, SqueezeController, etc.

12:19 pm
March 16, 2009


Floppywesl

Member

posts 7

Sounds great i cant wait to test this.

3:30 pm
April 2, 2009


Floppywesl

Member

posts 7

Any headway on this yet ?

10:32 pm
April 2, 2009


Andrew

Admin

posts 2814

Yes its running on the VortexBox appliance now. As I said sound cards are very different so you might have to hack it a bit to get it working on your system. You can start by updating to the latest squeezeslave

yum update

next replace your asound.conf with this one.

http://yum.vortexbox.org/app/asound.conf

This may kill your sound card or it may break it into 4 separate channels. Backup up your old asound.conf and replace it if things go south.

you can now set what squeezeslaves run in

/etc/vortexbox/ss_list.conf

This one has them all enabled http://yum.vortexbox.org/app/ss_list.conf

restart squeezeslave or reboot after you have made changes.

11:48 pm
April 2, 2009


smitty

Bristol – UK

Member

posts 71

Andrew, the links to tribox.org appear to be broken.

8:03 am
April 3, 2009


Andrew

Admin

posts 2814

I must have been asleep when I wrote thouse links. There are correct now.

11:57 am
April 3, 2009


smitty

Bristol – UK

Member

posts 71

Thanks for that Andrew. I've been playing around with this for a while now and I'm starting to wonder if I'm trying to do something that is not possible. Basically my motherboard has onboard Via 8235 sound with a green, blue and pink connectors on the back. I'd like to get each connector to output different sound. At the momet I can't get squeezeslave to recognise an audio device. When I restart squeezeslave I get 'starting squeezeslave daemon (green): no audio device – and the same for pink, blue whatever etc.

I've tried various bits of editing in asound.conf but I'm getting nowhere fast. Is the problem that these connectors are defaulted to line in, line out and mic and there is no way to make them all audio out?

Any pointers would be much appreciated.

10:26 pm
April 3, 2009


Andrew

Admin

posts 2814

As I mentiond before each sound card is quite different. It took me a  few hours of reading through the alsa docs and hacking around to get it working. There is no settings that works for every sound card. We sell the VortexBox appliance for people who want a system that "just works" for everybody else you need to hack around a bit to get it working.

This is a good place to start.

http://www.alsa-project.org/main/index.php/Main_Page

4:54 am
May 29, 2009


sable

Member

posts 13

Hi,

Im running Vortexbox appliance. By defaultmy /etc/asound.conf looks like yours. But when I type “/usr/bin/squeezeslave -l” i get:

* 0: /dev/dsp
  1: /dev/dsp1
  2: radioSHARK: USB Audio (hw:0,0)
  3: HDA Intel: ALC888 Analog (hw:1,0)
  4: HDA Intel: ALC888 Analog (hw:1,4)
  5: spdif
  6: default

It seems that my sound card is not broken to separate channels. So when i run “/etc/rc.d/init.d/squeezeslave start” it says “no audio device” for every output.

It seems it is connected with radioSHARK: USB Audio being on "hw:0,0". Because if it is on "hw:1,0" – everything works great. Every time I reboot, it gets different card and device number. Sometimes "hw:1,0" – which is good for me. Sometimes "hw:0,0".

What can I do with it? How can I fix it to "hw:1,0"?

8:21 am
May 29, 2009


Andrew

Admin

posts 2814

It's a little tricky. I have tried to make squeezeslave intelligent and search for the proper device when it starts. You can edit /etc/vortexbox/ss_list.conf. This file has a list of search terms and what squeezeslave devices they are. If you delete all the lines in the file and replace it with this

ALC888 00:00:00:00:00:01

It should search for the first occurance of ALC888 and select it no matter what device it's on.

4:49 am
November 9, 2009


jesper

Member

posts 17

I have been reading varius posts about multiple zones and sound cards, it sounds very interesting how is the current status?

I have tried to work around but please help me

/etc/vortexbox/ss_list.conf => Permission denied

How to edit asound.conf and ss_list.conf?

is there a way to easy browse the /etc/vortexbox directory?

I would like to copy, rename and edit lfiles, and do it like win explorer and notepad etc.  

My VB identifyes the soundcards I have installed:

/usr/bin/squeezeslave -l

Output devices:
* 0: Intel 82801BA-ICH2: Intel 82801BA-ICH2 (hw:0,0)
  1: Intel 82801BA-ICH2: Intel 82801BA-ICH2 – MIC ADC (hw:0,1)
  2: C-Media CMI8738: C-Media PCI DAC/ADC (hw:1,0)
  3: C-Media CMI8738: C-Media PCI 2nd DAC (hw:1,1)
  4: C-Media CMI8738: C-Media PCI IEC958 (hw:1,2)
  5: default


About the forum.vortexbox.org Forum

Forum Timezone: UTC -5

Most Users Ever Online: 77

Currently Online:
6 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 4
Topics: 3281
Posts: 21023

Membership:

There are 2132 Members
There have been 2 Guests

There are 2 Admins

Top Posters:

James – 320
hifihere – 316
HalfBit – 315
socistep – 195
garym – 190
wizardofoz – 178

Recent New Members: robmcpeak, El Baterista, mafia3272, flathead, belcampo, kingnordi

Administrators: Ron Olsen (3894 Posts), Andrew (2814 Posts)