I installed an Ubuntu 12-04 LTS server for a special background music application of mine, where I am using the server with an Asus Xonar DS sound card.
The installation is successful, the MPD is working, the sound card is working with Alsa and its libraries installed except for alsa-oss
. Alsamixer is working fine with left/right sides of each channel volume control through Q/Z letters shortcut when alsamixer
is open in terminal .
Using the command speaker-test -Dplug:surround71 -c8 -l1 -twav
, I can hear every voice message coming out from the card at the right connector, so "front right/ front left" voice message are coming from first output in the card back, while the other outputs are silent..so on.
The problem is that MPD is playing on all outputs simultaneously the same audio. I have been trying various configurations for the last 12 days with out any success, including trying to put mappings in the /etc/asound.conf
Can any body help me achieve the above, or direct me to the right configuration of MPD or asound.conf
?
I have an Asus Xonar DSX card. I use only alsa on my Ubuntu 13.04 based system and have split up the card to 4 distinct channels, so I can send the audio to any of them using any mpd client. My /etc/asound.conf is here:
The outputs in /etc/mpd.conf are set up like this:
This way I can choose on which output(s) (speaker pairs) the music plays.
you could try the JACK audio server, you would have to replace it with ALSA, but as i recall 3 years ago you could specify the exact output and input.
i dont know how well it'd work with your own application, but you can certainly try it. (it'd be explained here, in german)
i dont know if i gave you a hint or just wasted your time, let me know, spheniscida