Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #234663

Re: Multichannel audio playback

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Multichannel audio playback
Date 2021-04-30 15:30 +0200
Message-ID <C9Bnr-7Zn-5@gated-at.bofh.it> (permalink)
References (5 earlier) <C8O3n-3xZ-1@gated-at.bofh.it> <C8QRz-5hl-1@gated-at.bofh.it> <C8WaC-ag-13@gated-at.bofh.it> <C8X6F-Ij-3@gated-at.bofh.it> <C9stP-2yv-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


David Wright wrote: 
> On Wed 28 Apr 2021 at 18:21:27 (+0000), Rodolfo Medina wrote:
> 
> > Now it works: 
> > 
> > $ ecasound -a:1,2,3 -i:sndfile,3canali.wav -o alsaplugin,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).
> > (eca-chainsetup) Opened output "alsaplugin", mode "write". Format: s16_le,
> > ... channels 2, srate 48000, interleaved.
> > - [ Connected chainsetup: "untitled-chainsetup" ] ------------------------
> > - [ Controller/Starting batch processing ] -------------------------------
> > - [ Engine - Driver start ] ----------------------------------------------
> > 
> > - [ Engine - Processing finished ] ---------------------------------------
> > - [ Controller/Batch processing finished (0) ] ---------------------------
> > - [ Controller/Processing stopped (cond) ] -------------------------------
> > - [ Engine exiting ] -----------------------------------------------------
> > (eca-control-objects) Disconnecting chainsetup:  "untitled-chainsetup".
> 
> > Let's try to go to problem 2).
> 
> It's difficult to know what you've actually done from this description.
> I know nothing about the UMC404HD apart from the two downloaded PDFs,
> 8849567252510.pdf and download_259085.pdf. I know nothing about Ecasound.
> 
> Let me first reveal my ignorance by asking: does Ecasound run on your
> computer, or on the Behringer?

The Behringer is a USB-attached sound card. It happens to have
four inputs and four outputs. This is not particularly unusual.

> I'm going to assume the former, that you're playing a file on the
> computer in Ecasound, which then enters the Behringer via the USB
> connection.

Correct.

> How are these loudspeakers connected to the Behringer: which type of
> connectors are used, in which sockets, and what's the pinout at each
> end of the cables? What type of input do these loudspeakers expect
> to be driven by: presumably not an unbalanced 50W into 8Ω!

Completely irrelevant. The Behringer produces four single
channel outputs at line level suitable for an amp or preamp. We
can assume that the original questioner has things hooked up
properly.

> > Actually, the Behringer seems to behave in
> > stereo mode.
> 
> Do you mean that all three channels have been mixed into two channels,
> and this is what you hear on your loudspeakers 1 and 2?
> 
> Isn't that what these lines might indicate:
> 
> > (eca-chainsetup) Opened input "sndfile", mode "read". Format: s16_le,
> > ... channels 3, srate 48000, interleaved (locked params).
>                ↑
> > (eca-chainsetup) Opened output "alsaplugin", mode "write". Format: s16_le,
> > ... channels 2, srate 48000, interleaved.

Yes, this means that ecasound is writing 2 channels, which is
what the question is all about.

The questioner wants ecasound to write 4 channels, which could
be:

ecasound using the wrong ALSA output

or

ALSA not presenting an acceptable 4 channel output, so ecasound
falls back.

-dsr-

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Multichannel audio playback (was: Multichannel audio listening) Joel Roth <joelz@pobox.com> - 2021-04-27 22:40 +0200
  Re: Multichannel audio playback (was: Multichannel audio listening) Joel Roth <joelz@pobox.com> - 2021-04-27 23:20 +0200
    Re: Multichannel audio playback Rodolfo Medina <rodolfo.medina@gmail.com> - 2021-04-28 09:40 +0200
      Re: Multichannel audio playback didier gaumet <didier.gaumet@gmail.com> - 2021-04-28 10:50 +0200
        Re: Multichannel audio playback Rodolfo Medina <rodolfo.medina@gmail.com> - 2021-04-28 13:50 +0200
          Re: Multichannel audio playback didier gaumet <didier.gaumet@gmail.com> - 2021-04-28 15:00 +0200
          Re: Multichannel audio playback Joel Roth <joelz@pobox.com> - 2021-04-28 19:30 +0200
            Re: Multichannel audio playback Rodolfo Medina <rodolfo.medina@gmail.com> - 2021-04-28 20:30 +0200
              Re: Multichannel audio playback Joel Roth <joelz@pobox.com> - 2021-04-28 20:40 +0200
                Re: Multichannel audio playback Rodolfo Medina <rodolfo.medina@gmail.com> - 2021-04-28 21:00 +0200
              Re: Multichannel audio playback didier gaumet <didier.gaumet@gmail.com> - 2021-04-29 09:30 +0200
                Re: Multichannel audio playback Rodolfo Medina <rodolfo.medina@gmail.com> - 2021-04-29 15:00 +0200
                Re: Multichannel audio playback didier gaumet <didier.gaumet@gmail.com> - 2021-04-29 19:20 +0200
              Re: Multichannel audio playback David Wright <deblis@lionunicorn.co.uk> - 2021-04-30 06:00 +0200
                Re: Multichannel audio playback Dan Ritter <dsr@randomstring.org> - 2021-04-30 15:30 +0200
                Re: Multichannel audio playback David Wright <deblis@lionunicorn.co.uk> - 2021-05-01 06:50 +0200
                Re: Multichannel audio playback Rodolfo Medina <rodolfo.medina@gmail.com> - 2021-05-01 10:30 +0200
                Re: Multichannel audio playback David Wright <deblis@lionunicorn.co.uk> - 2021-05-04 18:10 +0200

csiph-web