Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Multichannel audio issue
#20
(06-21-2024, 10:22 PM)jcucurull Wrote: As explained in the MPD forum (https://github.com/MusicPlayerDaemon/MPD...nt-9844112), it seems I have managed to solve the issue doing a workaround. I have applied a remaping at the level of ALSA. To be more specific, I have created a custom device that is a plugin that remaps the channels including this in "/etc/asound.conf":


Code:
pcm.!hdmi-remap {
  type plug
  slave.pcm "_audioout"
  ttable {
       0.0= 1
       1.1= 1
       2.4= 1
       3.5= 1
       4.3= 1
       5.2= 1
       6.6= 1
       7.7= 1
  }
}

Then I have modified the "mpd.conf" to use the "hdmi-remap" device instead of the "_audioout" that is usually used.

My only question is how to make that after rebooting the system the "mpd.conf" file is not overwritten or, if it is regenerated, how to include the assign the newly created device. Otherwise I cannot do the changes permanent. Any suggestion @Tim Curtis ?

Also, I would like to note that this solution is not a final one, because it is tailored to my specific system or at least to the systems using HDMI as output for multichannel audio. MPD should be passing the channel mapping information to ALSA using the Channel Order API of the alsa library (https://www.alsa-project.org/alsa-doc/al...1b73839085), and it is not currently doing it. As requested in the MPD forum I will create a Feature request so they can implement this feature in the future.

Fantastic :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Multichannel audio issue - by jcucurull - 05-25-2024, 09:35 PM
RE: Multichannel audio issue - by Tim Curtis - 05-26-2024, 02:14 AM
RE: Multichannel audio issue - by jcucurull - 05-26-2024, 09:24 AM
RE: Multichannel audio issue - by Tim Curtis - 05-26-2024, 11:39 PM
RE: Multichannel audio issue - by jcucurull - 05-27-2024, 07:25 AM
RE: Multichannel audio issue - by jcucurull - 05-27-2024, 09:49 PM
RE: Multichannel audio issue - by Tim Curtis - 05-28-2024, 11:00 AM
RE: Multichannel audio issue - by jcucurull - 06-04-2024, 02:25 PM
RE: Multichannel audio issue - by Nutul - 06-04-2024, 03:10 PM
RE: Multichannel audio issue - by jcucurull - 06-04-2024, 06:42 PM
RE: Multichannel audio issue - by Tim Curtis - 06-04-2024, 06:57 PM
RE: Multichannel audio issue - by jcucurull - 06-08-2024, 08:13 AM
RE: Multichannel audio issue - by Nutul - 06-08-2024, 08:47 AM
RE: Multichannel audio issue - by jcucurull - 06-18-2024, 01:00 PM
RE: Multichannel audio issue - by Tim Curtis - 06-08-2024, 01:25 PM
RE: Multichannel audio issue - by jcucurull - 06-18-2024, 01:11 PM
RE: Multichannel audio issue - by jcucurull - 06-19-2024, 03:35 PM
RE: Multichannel audio issue - by jcucurull - 06-21-2024, 10:22 PM
RE: Multichannel audio issue - by Tim Curtis - 06-21-2024, 11:58 PM
RE: Multichannel audio issue - by DRONE7 - 06-21-2024, 11:01 PM
RE: Multichannel audio issue - by Tim Curtis - 06-27-2024, 01:45 PM

Forum Jump: