Moode Forum
[PROBLEM] Overwrite mpd.conf for a specific problematic USB Dac - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [PROBLEM] Overwrite mpd.conf for a specific problematic USB Dac (/showthread.php?tid=7752)



Overwrite mpd.conf for a specific problematic USB Dac - francoisd - 05-25-2025

Hi,

I installed Moode 9.3.4 on a Rpi3 leaving most of the options as they are by default. I'm using a usb dac called Micromega Mydac (https://micromega.com/fr/produits/gamme-my/mydac/) and it's detected automatically, but I can't set the DAC on "hardware" volume choice and have only "Software" or "0db" choices.

My /etc/alsa/conf.d/_audioout.conf is:

Code:
#########################################
# This file is managed by moOde
#########################################
pcm._audioout {
type copy
slave.pcm "plughw:0,0"
}

My /etc/mpd.conf shows as audio_output:

Code:
audio_output {
type "alsa"
name "ALSA Default"
device "_audioout"
mixer_type "software"
dop "no"
stop_dsd_silence "no"
thesycon_dsd_workaround "no"
close_on_pause "yes"
}

While the DAC is quite old, I've already faced the problem (ancient post which made my problem clear) solving it like this : when I look for the mixer with amixer -c MYDAC scontents I get:
Code:
Simple mixer control 'MICROMEGA MYDAC USB Audio 2.0 Output Playba',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'MICROMEGA MYDAC USB Audio 2.0 Output Playba',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'MICROMEGA MYDAC USB Audio 2.0 Output Playba',2
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 127
  Front Left: 127 [100%] [0.00dB]
  Front Right: 127 [100%] [0.00dB]
Simple mixer control 'MICROMEGA MYDAC USB Audio 2.0 Output Playba',3
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 127
  Mono: 127 [100%] [0.00dB]

All the mixers do have the same name, so, on a simple mpd.conf I have to set these settings (including mixer_index) to use it and it works on a simple arch+alsa+mpd set :
Code:
audio_output {
enabled         "yes"
type             "alsa"
name           "MICROMEGA MYDAC"
device           "hw:MYDAC"
mixer_type       "hardware"
mixer_device     "hw:MYDAC"
mixer_control   "MICROMEGA MYDAC USB Audio 2.0 Output Playba"
mixer_index     "3"
replay_gain_handler "mixer"
auto_resample   "no"
auto_channels   "no"
auto_format     "no"
dop             "no"
}

My problem with Moode is that I can't find a way, without breaking it to personalize the mpd.conf settings for my DAC. How could I achieve this goal? Is there a way to overwrite the moode mpd.conf which wont be erased at the next settings with the HTML interface ? Any other idea ?

Thanks a lot.


RE: Overwrite mpd.conf for a specific problematic USB Dac - Tim Curtis - 05-25-2025

Dev tweaks
https://moodeaudio.org/forum/showthread.php?tid=5706&pid=47753#pid47753