The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


Newbie to Moode - Help with HiFace config
#1
Hi all,

I'm a total newbie to Moode (but used to the RPi & Raspbian) and really enjoying the ability to play my music with it.

I do have a question: I'm using an M2Tech Hiface evo digital to digital converter.
This unit connects to my Pi via USB and outputs an SPDIF signal that goes to my DAC.

If I run the command "aplay -l" it shows up as follows:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
 Subdevices: 7/7
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
 Subdevice #4: subdevice #4
 Subdevice #5: subdevice #5
 Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: hiFace [hiFace], device 0: USB-SPDIF Audio [USB-SPDIF Audio]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

So far so good it seems...
When i go to the Moode config page, it doesn't show up as an audio device though, so i can't select it as my output device.

The only way i can get the HiFace to work is if i select "local device" in Moode config and add the following lines to mpd.conf and then restart the mpd service.

Code:
audio_output {
   type "alsa"
   name "HiFace Evo"
   device "hw:1,0"
}

The downside of doing this is that mpd.conf is overwritten on every change, and also every time the Pi boots.

I've tried creating a file /etc/asound.conf with the following content.
Code:
defaults.pcm.card 1
defaults.ctl.card 1
 
The idea was to make the HiFace the default output device in ALSA, but that didn't work.

I do have a working setup, but it's just a bit hacky to mess with mpd.conf myself and have it overwritten on every boot.

Is there anything I'm missing? Is the HiFace unit just a bit weird in the setup it needs? Can this be done in a better way than i'm doing now?

Many thanks for your thoughts!

PS. I'm running moOde 5.2 2019-05-07 on a Pi-3B+ Kernel 4.19.40-v7+
Reply


Messages In This Thread
Newbie to Moode - Help with HiFace config - by JohnnyBravo - 05-13-2019, 11:24 AM

Forum Jump: