Moode Audio Player for Raspberry Pi

Hi Tim,
Thanks for developing such a wonderful program. I am using it and right now able to listen the radio stations. For some reason I am unable to configure the NAS. Actually its a HDD attached to a Asus router and I have tried many times and cannot get it to work. I am attaching the screenshot and keep getting this error.
thanks,
Merry Christmas and Happy holidays

Try not having preceding slashes in your path. That's a windows thing. And you already have the address of your router, so your share is simply 'My Music'

I would recommend not having spaces in your share name, just use 'Music' at the router.
 
Last edited:
Thanks Zootalaws, I was hoping I could add one more encoder directly connected to the Pi in order to change stations from within the playlist.
I agree that bothrabone's tutorial is amazing and very instructive.

Merry Christmas to all!

These guys have managed it, a pot for volume and a pot for station/playlist : https://mightyohm.com/forum/viewtopic.php?f=2&t=3420&start=40

They use an MCP3008 ADC to turn the analogue pot to a digital signal for changing the playlist.

You should be able to do without the ADC if you use a rotary encoder, rather than a potentiometer. Look at: http://theatticlight.net/posts/Reading-a-Rotary-Encoder-from-a-Raspberry-Pi/

I want to use the existing potentiometers in my radios, and I have a shed load of $2 arduino minis, so for me the arduino is an easier implementation.

A rotary encoder isn't expensive, but I basically gut the existing electronics in the chassis, keeping the metal case, the valves on the top, the transformer, and the dials/pots. Gutting the electronics leaves plenty of room for the Pi and I fit a panel-mount USB extension cable to allow external flash drive and/or USB wifi adapter.

Putting the Pi into the metal casing does affect the Pi3 wifi perfmrance, somewhat, I'm still experimenting.

Panel mount USB extensions are about $1 or so at AliExpress and easily fitted to the back panel of the radio, keeping the whole thing tidy.

https://www.aliexpress.com/item/50c...rt-2-0-Type-B-Female-Adapter/32704596743.html

Rotary encoders are less than 50c, and you can use them for volume as well: https://www.aliexpress.com/item/Fre...velopment-for-arduino-KY-040/32727809226.html

If you can't fit the encoder between the chassis and the case, you can hunt for one with a long shaft, or make up a shaft extension easily enough using plastic tubing and a spot of epoxy/superglue.
 
Last edited:
Hi there,

I finally managed to get hang on finishing the Pi3 test set-up with Moode and have one peculiar query. I'm using HiFiBery Digi+ Pro I2S interface (and configured correctly in Moode), however music does sound "speeded up" a bit ?! I'm resampling at 192/24 Sox HQ. When switching to USB (converter) interface (Gustard U12) it seems in order.

I don't remember the similar manifestation with Volumio, so maybe someone could offer any usefully hint?

M Xmas

Have you selected Digi Pro, not just Digi? Both will work, but the Digi doesn't have the two oscillators.

Certainly others running Moode and the Digi pro at 24/192 have reported it working fine.

The other question is, how are you powering it? Hifiberry have reported issues if your transformer/psu isn't grounded correctly.

If you are using a cheap wall-wart, does it have three metal pins, or just two? If you are powering the Pi and using that power for the Digi, does your psi have enough power? It should have at least 2500mA for the Pi3.
 
Hi Tim,
Thanks for developing such a wonderful program. I am using it and right now able to listen the radio stations. For some reason I am unable to configure the NAS. Actually its a HDD attached to a Asus router and I have tried many times and cannot get it to work. I am attaching the screenshot and keep getting this error.
thanks,
Merry Christmas and Happy holidays

Hi,

Generally I think routers mount USB drives by their disk label and create a samba share named <disk label>. In Moode NAS config screen the (i) help for Remote directory is below.

"Enter ShareName/Path to the folder containing music on the NAS server.
ShareName cannot have a leading slash / or the mount will fail."

For example if the USB drive is labeled "NTFS-128GB" and the path to folder containing music is "iTunes/Tim/iTunes Media/Music" then the entry for Remote directory would be like below.

NTFS-128GB/iTunes/Tim/iTunes Media/Music

-Tim
 
Cannot Get Wifi working!

I use The Pi 3b with the Hifiberry Dac + pro and the bottom half of the steel case. I have tried the on board wifi and the edimax and the best I can get is AP mode with the Edimax. I have change channels on the router yet no luck. I used a static address and when I reboot using Ethernet,. the network settings shows wireless %0 signal.

I love using Moode yet I tied volumio and other Pi operation systems and they work with wireless and the see all the SIDs. Anyone have any ideas?
 
Do I need to use "Advanced kernel" to play DSD natively without DoP?

I'm asking because right now I can play DSD only through DoP. Dropping DoP support makes mpd convert it to PCM 384 on-the-fly (shown as PCM384 on the DAC).

Some info:
- Raspberry pi 3
- Sonny's AK4490 USB Dac
- Moode Audio 3.1 (Linux moode 4.4.30-v7+ #919 SMP Tue Nov 1 16:57:28 GMT 2016 armv7l GNU/Linux)
- DSF sample file is from Oppo Digital: "08 - David Elias - Crossing - Morning Light Western Town (DSD64 2.0).dsf", played from USB flash disk
- USB2Fix doesn't change anything
 
Do I need to use "Advanced kernel" to play DSD natively without DoP?

I'm asking because right now I can play DSD only through DoP. Dropping DoP support makes mpd convert it to PCM 384 on-the-fly (shown as PCM384 on the DAC).

Some info:
- Raspberry pi 3
- Sonny's AK4490 USB Dac
- Moode Audio 3.1 (Linux moode 4.4.30-v7+ #919 SMP Tue Nov 1 16:57:28 GMT 2016 armv7l GNU/Linux)
- DSF sample file is from Oppo Digital: "08 - David Elias - Crossing - Morning Light Western Town (DSD64 2.0).dsf", played from USB flash disk
- USB2Fix doesn't change anything
Just enable DOP. It will play DSD without converting to PCM on the fly if your usb receiver support DSD. See audio info to make sure your audio not converted.
 
Just enable DOP. It will play DSD without converting to PCM on the fly if your usb receiver support DSD. See audio info to make sure your audio not converted.

The DAC displays as PCM, so it must be converted on the fly by mpd.

To troubleshoot, I play the same file with Android USB Audio Player. And to my surprise, the DAC shows as DSD64.
 
Last edited:
The DAC displays as PCM, so it must be converted on the fly by mpd.

To troubleshoot, I play the same file with Android USB Audio Player. And to my surprise, the DAC shows as DSD64.

Hi,

Moode uses the latest stock MPD release which supports DoP or DSD --> PCM on-the-fly conversion. Set MPD to use DoP if your USB DAC supports it.

There is an experimental, unsupported fork and build of an older version of MPD that supports native DSD bitstream with certain USB interfaces but you would need to use a different embedded audio system for example Archphile. There is information on native DSD at Archphile - Yet Another Archlinux Based Audiophile Distribution for Raspberry Pi, Udoo, Cubox-i and Odroid C1+/C2

-Tim
 
Hi Tim,
Thanks for developing such a wonderful program. I am using it and right now able to listen the radio stations. For some reason I am unable to configure the NAS. Actually its a HDD attached to a Asus router and I have tried many times and cannot get it to work. I am attaching the screenshot and keep getting this error.
thanks,
Merry Christmas and Happy holidays
Interesting, just today I attached a NAS to replace the USB disk I used before. I got precisely the same error. The router the NAS is attached to is a fritz box.
I solved the problem in that I did not use any data path in the Remote directory, but just the name the NAS with the fritz box uses to be seen in the network ("FRITZ.NAS" in this particular case)
Moode has no problem finding the folder with the music during the update process, there seems to be no reason to specify it.
Beautiful programm, by the way, thank you, Tim!
Merry Christmas to everybody.
 
Hi,

Generally I think routers mount USB drives by their disk label and create a samba share named <disk label>. In Moode NAS config screen the (i) help for Remote directory is below.

"Enter ShareName/Path to the folder containing music on the NAS server.
ShareName cannot have a leading slash / or the mount will fail."

For example if the USB drive is labeled "NTFS-128GB" and the path to folder containing music is "iTunes/Tim/iTunes Media/Music" then the entry for Remote directory would be like below.

NTFS-128GB/iTunes/Tim/iTunes Media/Music

-Tim

Thanks Tim and Zootalaws. I got it working
 
Hi,

Moode uses the latest stock MPD release which supports DoP or DSD --> PCM on-the-fly conversion. Set MPD to use DoP if your USB DAC supports it.

There is an experimental, unsupported fork and build of an older version of MPD that supports native DSD bitstream with certain USB interfaces but you would need to use a different embedded audio system for example Archphile. There is information on native DSD at Archphile - Yet Another Archlinux Based Audiophile Distribution for Raspberry Pi, Udoo, Cubox-i and Odroid C1+/C2

-Tim

That explains it. Still gonna use Moode as my audio files are all wav/flac. Was just curious why the DAC never show DSD. Thanks a lot, appreciate it.
 
Cannot Get Wifi working!

I use The Pi 3b with the Hifiberry Dac + pro and the bottom half of the steel case. I have tried the on board wifi and the edimax and the best I can get is AP mode with the Edimax. I have change channels on the router yet no luck. I used a static address and when I reboot using Ethernet,. the network settings shows wireless %0 signal.

I love using Moode yet I tied volumio and other Pi operation systems and they work with wireless and the see all the SIDs. Anyone have any ideas?

It's a Hifiberry hardware fault. I'm surprised you say it works with volumio and 'other Pi' OS, as Hifiberry have acknowledged it as a hardware fault that needs a design change.

Forcing Wifi Channel 10 can make it work, apparently.

Hifiberry are offering money back for those unfortunate enough to have bought their kit.

https://github.com/raspberrypi/linux/issues/1588
 
NAS mount issue - any suggestions please?

I'm using a Volumio setup with RPi3 for some time now and I wanted to try Moode as well. However I'm not able to mount my NAS. This is how I set it up in Volumio and it works:
- NAS IP address: DLINK-FFE504 (192.168.2.101)
- Path: Volume_1/Music/FLAC
- Share type: cifs

I tried different things with Moode NAS mount - e.g.:
- source name: dlink-FFE504 (also DLINK-FFE504 in case it is case sensitive)
- fileshare protocol: SMB/CIFS
- IP address: 192.168.2.101
- Remote directory: Volume_1/Music/FLAC
- user name: admin (I tried without username, but it seems some username is required - there is no password setup for my NAS, so I just use admin as username

When I do this, I'm seeing a mount error:
Last mount error
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I have also tried to change
- Remote directory: dlink-FFE504/Volume_1/Music/FLAC

In this case it shows a different mount error:
Last mount error
Retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Any idea what can help?
 
I'm using a Volumio setup with RPi3 for some time now and I wanted to try Moode as well. However I'm not able to mount my NAS. This is how I set it up in Volumio and it works:
- NAS IP address: DLINK-FFE504 (192.168.2.101)
- Path: Volume_1/Music/FLAC
- Share type: cifs

I tried different things with Moode NAS mount - e.g.:
- source name: dlink-FFE504 (also DLINK-FFE504 in case it is case sensitive)
- fileshare protocol: SMB/CIFS
- IP address: 192.168.2.101
- Remote directory: Volume_1/Music/FLAC
- user name: admin (I tried without username, but it seems some username is required - there is no password setup for my NAS, so I just use admin as username

When I do this, I'm seeing a mount error:
Last mount error
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I have also tried to change
- Remote directory: dlink-FFE504/Volume_1/Music/FLAC

In this case it shows a different mount error:
Last mount error
Retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Any idea what can help?

Hi,

If your share on the nas is called "Music" so that's your path. Music/FLAC should work too I guess. I do not think it is called Volume_1, that looks like an internal mount path which you should not even able to see from the nas interface.

I would recommend you to double check your Volumio setup and offtopic set a password for the admin user too and even create a specific user/password for this. ;)

Regards,
 
I'm using a Volumio setup with RPi3 for some time now and I wanted to try Moode as well. However I'm not able to mount my NAS. This is how I set it up in Volumio and it works:
- NAS IP address: DLINK-FFE504 (192.168.2.101)
- Path: Volume_1/Music/FLAC
- Share type: cifs

I tried different things with Moode NAS mount - e.g.:
- source name: dlink-FFE504 (also DLINK-FFE504 in case it is case sensitive)
- fileshare protocol: SMB/CIFS
- IP address: 192.168.2.101
- Remote directory: Volume_1/Music/FLAC
- user name: admin (I tried without username, but it seems some username is required - there is no password setup for my NAS, so I just use admin as username

When I do this, I'm seeing a mount error:
Last mount error
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I have also tried to change
- Remote directory: dlink-FFE504/Volume_1/Music/FLAC

In this case it shows a different mount error:
Last mount error
Retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Any idea what can help?

Hi,

Leave username set to admin (or guest) but set password to a dummy value like aaa.

Source name is just a friendly name for example MyMusic. It becomes the root folder under NAS on the Browse panel.

The rest looks ok, and as @rogersan mentioned, verify that the share path is Volume_1/Music/FLAC and not Music/FLAC.

-Tim
 
Hi,

thanks a lot for your quick response. I added some dummy password as Tim suggested as well as I tried both Volume_1/Music/FLAC and Music/FLAC for path, while having 192.168.2.101 set for IP address, but I'm still receiving:

Last mount error
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Is there anything else I can try? e.g. check some status using SSH etc.