Re: Multichannel audio playback
Joel Roth <joelz@pobox.com> writes:
> On Tue, Apr 27, 2021 at 10:22:11AM -1000, Joel Roth wrote:
>>
>> ecasound -i:libsndfile,audiofile -o alsa
>
> that should be -i:sndfile
Thanks, Joel...
2 problems seem to be involved:
1) make ecasound read and play the file;
2) properly use all those many outputs on the Behringer's back.
(Up to now, I can't make the `B' Playback Outputs work yet. Only `A' seem to
respond.)
First of all, problem 1): same error now with a 2-channel and a 3-channel file:
$ ecasound -i:2canali.wav -o alsahw,2,0
**************************************************************************
* ecasound v2.9.1 (C) 1997-2014 Kai Vehmanen and others
**************************************************************************
(eca-chainsetup) Chainsetup "untitled-chainsetup"
(eca-chainsetup) NOTE: Real-time configuration, but insufficient privileges
... to utilize real-time scheduling (SCHED_FIFO). With small buffersizes,
... this may cause audible glitches during processing.
(eca-chainsetup) "rt" buffering mode selected.
(eca-chainsetup) NOTE: using existing audio parameters -f:s16_le,2,48000
... for object '2canali.wav' (tried to open with -f:s16_le,2,44100).
(eca-chainsetup) Opened input "2canali.wav", mode "read". Format: s16_le,
... channels 2, srate 48000, interleaved (locked params).
ERROR: Connecting chainsetup failed: "Enabling chainsetup: AUDIOIO-ALSA:
... Channel count 2 is out of range!"
$ ecasound -i:sndfile,3canali.wav -o alsahw,2,0
**************************************************************************
* ecasound v2.9.1 (C) 1997-2014 Kai Vehmanen and others
**************************************************************************
(eca-chainsetup) Chainsetup "untitled-chainsetup"
(eca-chainsetup) NOTE: Real-time configuration, but insufficient privileges
... to utilize real-time scheduling (SCHED_FIFO). With small buffersizes,
... this may cause audible glitches during processing.
(eca-chainsetup) "rt" buffering mode selected.
(audioio_sndfile) Using libsndfile to open file "3canali.wav" for reading.
(eca-chainsetup) NOTE: using existing audio parameters -f:s16_le,3,48000
... for object 'sndfile' (tried to open with -f:s16_le,2,44100).
(eca-chainsetup) Opened input "sndfile", mode "read". Format: s16_le,
... channels 3, srate 48000, interleaved (locked params).
ERROR: Connecting chainsetup failed: "Enabling chainsetup: AUDIOIO-ALSA:
... Channel count 2 is out of range!"
Both files were created via `sox -M' command from respectively 2 and 3 mono
files.
Please help if you can.
Thanks
Rodolfo
Reply to: