I'm using my Ubuntu 14.04 LTS Laptop toplay music at a party. I'm using Mixxx and is performs very well for that task. Now I'd like to add some light effects and plan to use Qlcplus for that. So I need to send the sound from Mixxx to the soundcard and Qlcplus.
I've managed to configure Mixxx to send sound to the ALSA loopback and recover it from there in Qlcplus. But then I have no sound output. How can I route sound from the ALSA loopback to speakers ?
Best Answer
After lots of searching I've found the answer to my question. You need to appropriately configure ALSA and it will provide a new device which duplicates sound sent to it to two or more devices like soundcards and the loopback device.
Here the .asoundrc file I use:
This file will provide a new ALSA sound device 'CardAndLoop'. If you choose this device in your sound application the sound will be sent to the 'PCH' sound card and the loopback device. You can start a second application and use the loopback device as input and it will obtain the sound played by the 1st application.
I used names to denominate the sound devices. These names can be taken from the /proc/asound/cards file:
Have fun !