[LAU] Multi-channel (3 or more) audio playback with alsaplayer
kamil.adiloglu at gmail.com
Tue Dec 14 11:43:04 CET 2021
I would like to use alsaplayer via jack to play 3-channel audio files. These audio files will be routed into a real-time capable signal processing platform the open master hearing aid (openMHA). However, I cannot route the third channel to jack. I try to start alsaplayer as a daemon with the following command
alsaplayer -i daemon -s PHL -o jack -d MHA:in_1,MHA:in_2,MHA:in_3 -F 16000
However alsaplayer returns and error saying
cannot connect output port 2 (MHA:in_2,MHA:in_3)
Actually MHA:in_2 should be the output port 2 and MHA:in_3 is ment to be the output port 3.
I first start the openMHA software so that it establishes 4 input and 4 output connections via jack with the sound hardware. I can see the connections on qjackctl connections window.
I have a sound card that has 8 input and output channels and the openMHA is configured to expect 4 input channels and produces 2 output channels and already mentioned. So, the problem is neither on the MHA side nor on the hardware. I am afraid that I cannot configure the alsaplayer correctly that it expects three (or more) output ports. I would appreciate any help from your side. Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linux-audio-user