Moode Audio Player for Raspberry Pi

Two things:

1) The update instructions worked for me, copied the lines and pasted them into Putty.

2) Bit of a weird one, I have changed my IP address to a static one as my NFS share is IP restricted which works ok, however weirdly it seems to be also retaining a DHCP address as well. I only noticed when I ran a network scanner, to confirm it I have connected to the web page both on the static and on the DHCP. However my NFS server reports that Moode is connecting from the DHCP address so I cannot remove the DHCP ip address from the IP permissions list.

Hi,

Thanks for confirming updater instructions :)

What is output of ifconfig cmd? This will show what ip addresses are assigned to eth0, wlan0. The symptoms u describe suggest he Router DNS cache has not expired the DHCP address. I'd reboot the router.

-Tim
 
Hi,

Thanks for confirming updater instructions :)

What is output of ifconfig cmd? This will show what ip addresses are assigned to eth0, wlan0. The symptoms u describe suggest he Router DNS cache has not expired the DHCP address. I'd reboot the router.

-Tim

Made no difference I am afraid, the Router will only be giving out the address if moode is send a dhcp request.
 
Looks like this is a known issue?

https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=111709

Not sure if the same underlying subsystems but is there is this response here
https://www.raspberrypi.org/forums/viewtopic.php?p=798866#p798866

Hi,

I was able to repro this issue.

The "ifconfig" cmd showed one address, the static addr, but "ip addr show eth0" cmd showed two addresses.

Adding "nodhcp" to /etc/dhcpcd.conf seems to fix it but I need to do more testing to see if there are any side-effects with different network configs, Host AP mode, etc.

Nice catch! Thanks :)

Nice catch!

-Tim
 
Hi Tim,
am getting this when triying to unzip updater.sh.zip
greets


Code:
 End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of updater.sh.zip or
        updater.sh.zip.zip, and cannot find updater.sh.zip.ZIP, period.
 
Hi Tim

Thanks for a lovely product that really sounds and works perfectly on my rpi3 with a Mirand USB Dac.

But is there a way to set the samplerate to 32/176.4 and 32/352.8??

All best / Anders

Hi Anders,

In mainline Linux kernel (which is what Moode uses), max sample rate is limited to 192 kHz. I'm not sure about bit depth. See links below for explanation of sample rate limitation.

Page 24 - start at post #240
http://www.diyaudio.com/forums/digital-line-level/285811-hifiberry-dac-pro-hw-mods-anybody-24.html
Page 25
http://www.diyaudio.com/forums/digital-line-level/285811-hifiberry-dac-pro-hw-mods-anybody-25.html
ALSA patch to 384 kHz
Re: [PATCH] ALSA: core: Add 384kHz Support — ALSA Devel

U could test 32/176.4 with your DAC by first setting it to 24/176.4 in Moode MPD config screen then editing MPD config file followed by restart MPD.

1) sudo nano /etc/mpd.conf
2) sudo systemctl restart mpd

If 32/176.4 rate shows up on Audio info screen under "Output stream" while song is playing then it would confirm that ALSA and SoX support 32 as bit-depth. I could then add that rate to list for sox resampler.

None of my DAC's support 32 bit so no way for me to test.

-Tim
 
32/352.8

Hi Anders,

In mainline Linux kernel (which is what Moode uses), max sample rate is limited to 192 kHz. I'm not sure about bit depth. See links below for explanation of sample rate limitation.

Page 24 - start at post #240
http://www.diyaudio.com/forums/digital-line-level/285811-hifiberry-dac-pro-hw-mods-anybody-24.html
Page 25
http://www.diyaudio.com/forums/digital-line-level/285811-hifiberry-dac-pro-hw-mods-anybody-25.html
ALSA patch to 384 kHz
Re: [PATCH] ALSA: core: Add 384kHz Support — ALSA Devel

U could test 32/176.4 with your DAC by first setting it to 24/176.4 in Moode MPD config screen then editing MPD config file followed by restart MPD.

1) sudo nano /etc/mpd.conf
2) sudo systemctl restart mpd

If 32/176.4 rate shows up on Audio info screen under "Output stream" while song is playing then it would confirm that ALSA and SoX support 32 as bit-depth. I could then add that rate to list for sox resampler.

None of my DAC's support 32 bit so no way for me to test.

-Tim

Hi Tim

It already works with 32/386 (it is in the setting), and I have tried with 32/352.8, as you described, and it works :)

Best / Anders
 

Attachments

  • image.png
    image.png
    463.9 KB · Views: 286
Looks like this is a known issue?

https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=111709

Not sure if the same underlying subsystems but is there is this response here
https://www.raspberrypi.org/forums/viewtopic.php?p=798866#p798866

Hi,

My test results indicate that adding "nodhcp" setting to /etc/dhcpcd.conf fixes the issue of "DHCP address assigned even though eth0 set to static addr" and has no side-effects on any of the network configurations below:

1. eth0 static in use and no wlan0 adapter present
2. eth0 not in use and wlan0 adapter static in SSID mode
3. eth0 not in use and wlan0 adapter in AP mode
4. eth0 static in use and wlan0 adapter in AP mode
5. eth0 static in use and wlan0 adapter present but not in use
6. Above using dhcp instead of static

For those that have already installed the new in-place software updater for Moode 2.6, this fix is in the latest 2016-06-20 update just posted :) Also the updater on System config has been refined a bit so that after pressing INSTALL, when the screen returns it will display "Moode software is up to date".

Regards,
Tim
 
Hi Tim

It already works with 32/386 (it is in the setting), and I have tried with 32/352.8, as you described, and it works :)

Best / Anders

Hi Anders,

Great, thanks for testing. Re-reading the posts, the sample rate limitation discussed applies to I2S interface. Looks like no such limitation when using USB.

I'll add the rates 32/176.4 and 32/352.8 to the SoX list in MPD config and then push out the update this week :)

-Tim
 
Hi Tim,

Followed the update instructions, it appeared to work but returned this:

pi@moode:~ $ sudo /var/www/command/updater.sh r26
rm: cannot remove ‘/mnt/SDCARD/SDCARD’: No such file or directory
rm: cannot remove ‘/mnt/NAS/NAS’: No such file or directory
Update installed, REBOOT required
pi@moode:~ $ sudo reboot

As the NAS wasn't mounted I can understand the first, not so sure about the second.

Is there any indication that Auto-update is now enabled?