--
--- Begin Message ---
On Wed, Apr 28, 2021 at 07:37:27AM +0000, Rodolfo Medina wrote:
> Joel Roth <jo...@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.
Ecasound can correctly identify and open the audiofile in
both of your tests above, with and without libsndfile. You
can see it identifies the sample rate and channel count
correctly both times.
The problem is with the ALSA output. Something is wrong with
the soundcard device, its driver or its alsa interface via
alsahw,2,0.
You could try listing the sound devices.
aplay -L
Choose one you want and use -o alsa,DEVICENAME
You can also cat /proc/asound/cards.
Oh, and make sure you don't have pulseaudio running.
cheers
> Please help if you can.
> Thanks
>
> Rodolfo
>
--
Joel Roth
--- End Message ---