I'm trying to set up a system for audio measurements and I'm trying to have
a 3 channels solution using one single host (currently a Raspberry Pi,
might migrate to x86 later on if needed).

I have the one channel system working with two USB audio cards - one for
emitting the sound and the other to record the audio output.

I'm using shell commands as aplay and arecord.

I'm able to address each of the 6 cards independently correctly.

However, when I'm trying to have a second channel - not to mention the
third - working in parallel with the first, I face problems.

I launch aplay instances in asynchronous mode with an & at the end of the
command line.
As soon as the second instance is running, there is no more sound issued on
any boards.
As soon as there is only one instance left running, the assigned card is
properly emitting the sound.

I'm wondering if it is possible to have parallel instances of aplay, each
controlling one audio card.

Not to spoil anything, the next step will be the same, but with arecord.

Thanks for any pointers you can provide.
Alsa-user mailing list

Reply via email to