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


Groups > linux.debian.user > #234667 > unrolled thread

[solved!!!] Multichannel audio playback

Started byRodolfo Medina <rodolfo.medina@gmail.com>
First post2021-04-30 17:00 +0200
Last post2021-05-03 10:00 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [solved!!!] Multichannel audio playback Rodolfo Medina <rodolfo.medina@gmail.com> - 2021-04-30 17:00 +0200
    Re: [solved!!!] Multichannel audio playback Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-01 08:50 +0200
    Re: [solved!!!] Multichannel audio playback Rodolfo Medina <rodolfo.medina@gmail.com> - 2021-05-03 09:00 +0200
      Re: [solved!!!] Multichannel audio playback Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-03 10:00 +0200

#234667 — [solved!!!] Multichannel audio playback

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2021-04-30 17:00 +0200
Subject[solved!!!] Multichannel audio playback
Message-ID<C9CMx-fS-3@gated-at.bofh.it>
Rodolfo Medina <rodolfo.medina@gmail.com> writes:

On Mon, Mar 05, 2018 at 10:39:19AM +0100, Rodolfo Medina wrote:

>>> After learning, some months ago, thanks to listers' help, how to live
>>> record into a multi channel audio file, I was wondering about the reverse
>>> problem: now I have my multi channel audio file, e.g. composed by three
>>> different channels.  Is it possibile (I guess it is), and how?, to send
>>> each of the three outputs into a different loud speaker and so listen to
>>> the song...?
>
>
> Four years ago this interesting thread.  Now I've purchased a Behringer
> UMC404HD 4-channels audio interface and finally want to do my experiment.
> Now I have a 3-channel .wav file and 3 loudspeakers connected to Behringer's
> output: I want to playback each channel to a different speaker.


It works...!!!

That's what I did:

1) I plugged the Behringer into the mains;

2) I connected the Behringer to the PC via Behringer's USB cable;

3) I plugged 3 amplified loudspeaker (could also be not amplified but then
   sound is low) into 3 of the 4 black holes (the TRS ones, but it could be ok
   also with the RCA ones, I didn't try yet) of the `PLAYBACK OUTPUTS' system
   on the back of the Behringer;

4) from my Linux box I did:

   $ ecasound -f:16,3,44100 -i:sndfile,3canali.wav -o alsaplugin,2,0

   where `3canali.wav' is a 3-channels file.

And voilà: each of the 3 loudspeakers play a different channel of the 3
channels composing `3canali.wav'.  There don't seem to be any issue with
Behringer's controls: the `MAIN OUT' and `MIX' knobs can be whatever, such as
the `STEREO/MONO' switch (so it seems).

Thanks to each and all that helped...!

Cheers

Rodolfo

[toc] | [next] | [standalone]


#234682

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-05-01 08:50 +0200
Message-ID<C9RBT-WO-1@gated-at.bofh.it>
In reply to#234667

[Multipart message — attachments visible in raw view] — view raw

On Vi, 30 apr 21, 14:50:57, Rodolfo Medina wrote:
> 
> It works...!!!
> 
> That's what I did:
> 
> 1) I plugged the Behringer into the mains;
> 
> 2) I connected the Behringer to the PC via Behringer's USB cable;
> 
> 3) I plugged 3 amplified loudspeaker (could also be not amplified but then
>    sound is low) into 3 of the 4 black holes (the TRS ones, but it could be ok
>    also with the RCA ones, I didn't try yet) of the `PLAYBACK OUTPUTS' system
>    on the back of the Behringer;
> 
> 4) from my Linux box I did:
> 
>    $ ecasound -f:16,3,44100 -i:sndfile,3canali.wav -o alsaplugin,2,0
> 
>    where `3canali.wav' is a 3-channels file.
> 
> And voilà: each of the 3 loudspeakers play a different channel of the 3
> channels composing `3canali.wav'.  There don't seem to be any issue with
> Behringer's controls: the `MAIN OUT' and `MIX' knobs can be whatever, such as
> the `STEREO/MONO' switch (so it seems).
> 
> Thanks to each and all that helped...!

Late to party...

In order to diagnose multi-channel output I've found 'aplay -L' and 
'speaker-test -cX' (where X is the desired/supported number of channels) 
to be invaluable.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#234739

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2021-05-03 09:00 +0200
Message-ID<CaAIG-2xc-5@gated-at.bofh.it>
In reply to#234667
Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> Rodolfo Medina <rodolfo.medina@gmail.com> writes:
>
> On Mon, Mar 05, 2018 at 10:39:19AM +0100, Rodolfo Medina wrote:
>
>>>> After learning, some months ago, thanks to listers' help, how to live
>>>> record into a multi channel audio file, I was wondering about the reverse
>>>> problem: now I have my multi channel audio file, e.g. composed by three
>>>> different channels.  Is it possibile (I guess it is), and how?, to send
>>>> each of the three outputs into a different loud speaker and so listen to
>>>> the song...?
>>
>>
>> Four years ago this interesting thread.  Now I've purchased a Behringer
>> UMC404HD 4-channels audio interface and finally want to do my experiment.
>> Now I have a 3-channel .wav file and 3 loudspeakers connected to Behringer's
>> output: I want to playback each channel to a different speaker.
>
>
> It works...!!!
>
> That's what I did:
>
> [...]
>


Do you think the same purpose could be achieved as well with a simple device
like this:

 https://www.amazon.it/5-1-audio-converter-coassiale-5-1-canali-analogica/dp/B00NAJ4W2A/ref=asc_df_B00NAJ4W2A/?tag=googshopit-21&linkCode=df0&hvadid=459193775235&hvpos=&hvnetw=g&hvrand=11263557217000104253&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=1008560&hvtargid=pla-926912233897&psc=1

Thanks,

Rodolfo

[toc] | [prev] | [next] | [standalone]


#234744

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-05-03 10:00 +0200
Message-ID<CaBEK-35q-3@gated-at.bofh.it>
In reply to#234739

[Multipart message — attachments visible in raw view] — view raw

On Lu, 03 mai 21, 06:53:50, Rodolfo Medina wrote:
> 
> Do you think the same purpose could be achieved as well with a simple device
> like this:
> 
>  https://www.amazon.it/5-1-audio-converter-coassiale-5-1-canali-analogica/dp/B00NAJ4W2A/ref=asc_df_B00NAJ4W2A/?tag=googshopit-21&linkCode=df0&hvadid=459193775235&hvpos=&hvnetw=g&hvrand=11263557217000104253&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=1008560&hvtargid=pla-926912233897&psc=1

Short answer: maybe, it depends a lot on what you need this for.

At a minimum your system must have a S/PDIF output (obviously).

Then you must somehow convince your system to generate AC-3 output as 
regular output to the ALSA spdif/iec958 output is two channels only[1].

Kodi (and probably everything else based on ffmpeg) can do so for at 
least FLAC and AAC 5.1 audio (tested).

It should be much easier to address a specific channel with an audio 
device with 6 (or recently 8) analog outputs, like this[2].

You should also get individual 4 independent volume controls (Front, 
Surround, Center and LFE).


[1] at least for my audio devices 'speaker-test' only accepts '2' for 
the '--channels/-c' parameter for all digital outputs, but the 
'surround51' analog output accepts 2, 4 and 6.

[2] https://www.itgalaxy.ro/placi-de-sunet/logilink/sound-box-7-1-usb-31242/

Disclaimer: this is just an example, Linux compatibility unknown. It's 
probably a good idea to buy something like this only from sellers that 
allow quick and easy returns, no questions asked, just in case it 
doesn't work well for you.


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web