• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

moOde audio player for Raspberry Pi

It's not difficult to reset the settings that the backup function doesn't configure. But the user should not believe backup refresh will do everything. I still had to go through the four configuration panels and make sure everything was setup the way I like it. Plus, getting out of radio mode isn't as intuitive as I would like. I couldn't find the USB/album selection menu at first and had to start clicking everything to find it. Only after finally finding the hidden USB selection menu and reindexing was I able to find the album option. It would be great if USB/Album was one of the main menu options under Library like "folder" is. Why not make the Album view more obvious to find?

It's funny how after running Moode for 2 years and meticulously fixing all meta data to work properly with "Mp3tag" for Moode that it took me 10 minutes to find the USB/Album selection in the menus with a version 10.0 rebuild. I felt like I failed the IQ test. Reminds me of when I first started manually setting up my RME ADI-2 DAC FS before the ADI-2 App was available, which later made everything simple. Just saying, I think the ability to select the Moode USB/Album view after a complete rebuild should be easier in Moode 10.0.

Now that new updates will be a simple update in place with 10.0 it won't be an issue for awhile, but easy access to the USB/Album view might be something to consider? It's the absolute best visual interface for Moode and should not be hidden.

In fact, making Albums the default view instead of the radio panel would be my preference. But, if that's not to be, there should at least be a button right at the top of the Radio panel to switch to USB/Albums.

I'm not sure what you mean by "USB/Album". There is a USB top folder that appears in Library > Folder view but only after the USB drives have been successfully indexed (Menu > Update library).

Screenshot 2025-11-24 at 8.26.50 AM.png

And the "Library" button appears at the top left of all the views so you can easily switch.

I can certainly improve the help for Backup/Restore and mention specific settings and processes that are not part of the restore for example plain text passwords, Library update.
 
Another solution would be for moOde to add 0.5 seconds of silence before starting and after stopping so the fading takes place when there's no music.
That would have the same effect on hearing the hum... it just will be more apparent, since there is no "music" lowering its volume, but already silence...
If there is an MPD option for "Always On" (like some ASIO drivers do, in Windows, for instance) then it could be the solution.
 
There are two issues here - the fade in/out, and the earth hum during the fade in/out. I suspect you're correct and that it's a power saving mode in the dongle, causing the fading, and if that was sorted there wouldn't be a hum problem. I know of no way of configuring the J20MAX's sleep mode. The headphones aren't especially sensitive (Sennheiser HD660S). One solution would be for moOde to always play an inaudible but non-silent signal in to prevent devices from entering this mode. Another solution would be for moOde to add 0.5 seconds of silence before starting and after stopping so the fading takes place when there's no music. I'm not aware of any ability in moOde to trigger events on music start/stop/etc.

Sending a "silence" or inaudible signal before play begins is not feasible since (a) MPD doesn't have any sort of "before play" event hook, and (b) there are 3rd party audio renderers moode for example AirPlay, Spotify Connect, Bluetooth, RoonBridge etc that would need to also need to support such an event.

The 3rd party renderer event scripts used in moode are in the folder below.

AFAIK shairport-sync (AirPlay) is the only 3rd party renderer that supports a "before play" event
Code:
// Advanced parameters for controlling how Shairport Sync stays active and how it runs a session
sessioncontrol =
{
//    run_this_before_play_begins = "/full/path/to/application and args"; // make sure the application has executable permission. If it's a script, include the shebang (#!/bin/...) on the first line
//    run_this_after_play_ends = "/full/path/to/application and args"; // make sure the application has executable permission. If it's a script, include the shebang (#!/bin/...) on the first line
.
.
.
 
Hello. In the new version the meters do not move. Is it me or a bug? Thank you
 
Hello. In the new version the meters do not move. Is it me or a bug? Thank you

No issues with PeppyMeter on my systems and there are no reports in our Forum but its still very early for the new 10 series.

You might want to get an account on our Forum and post your issue so that all our users can see it. Also include the startup log so people have an idea what your configuration looks like.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from any of the Config screens. The startup log will be at the end of System info output.
 
Amazing. Worked first time. Downloaded an image of your new version and changed the config. Easy. Even the touchscreen functions properly.

Follow up. This setup (external HDMI touch screen for operating moOde) is working well for me now.

Things I learned

- use separate USB power to the screen to ease the power draw from the rpi (maybe not strictly necessary)
Need a third USB cable from the screen to the pi to allow the use of the touch features of the screen. The touch data is not sent over HDMI (but it is sent over USBC when connected to a computer that supports it)
- rpi 3 is too underpowered, rpi4b is fine
- rpi 3 USB system seems to cause glitches in the sound through my external USB DAC. Basically, USB feeding screen and DAC is too much, especially when using external USB hard drive as well. rpi4b is fine
 
FYI - I upgraded my MoOde system yesterday (RPi 4) from v9 to v10 - created a new boot SD card for v10. Backed up all settings in v9 and am keeping that boot SD card as a backup.

Everything went very well, v10 booted up and already had the parameters running that are chosen during the image creation. I restored all the v9 backed up settings and then rebooted a couple of times - everything came up with my library storage, database, playlists, etc. The only thing that didn't transfer over automatically were the Peppy Meter settings, but I see that there are new meters added to v10! This gave me the opportunity to fine tune my meter settings and use some of the new meters.

I'm running a 7 inch monitor I picked up at Amazon and was able to get the meter sizes to mostly fill the screen and also center them. Audio performance is stellar as before.

Many thanks to @Tim Curtis and all contributors to this excellent project!

Moode Setup_1.jpg
 
That would have the same effect on hearing the hum... it just will be more apparent, since there is no "music" lowering its volume, but already silence...
If there is an MPD option for "Always On" (like some ASIO drivers do, in Windows, for instance) then it could be the solution.
Thanks. I tried this but I don't seem to be able to get arbitrary mpd commands to "stick" - the file gets overwritten on reboot. And it didn't seem to make any difference before the reboot.
I did notice, though, that the UI provides for the yes/no configuration of "clear on pause" and this solves the fade in/out problem, if not the hum when powered on mains (but this is really a sort-of-portable device).

There are side effects to this option, however. In the course of testing I managed to repeatedly cause silence to be produced as I paused/unpaused a track. Playing any other track in that album was also silent; I had to play a track from another album to restore audio. The mpd log, when it was in this state, contained multiple:
2025-11-28 21:18:02.702145 WARN [src/alsadevice.rs:122] PB: device is in an unexpected state: SND_PCM_STATE_PAUSED, Paused

When not spamming the pause button, and when audio is outputting correctly, it's "normal" to see the occasional single instance of that log entry (kind of funny as I'd have said that paused is NOT an unexpected state when attempting to unpause music!).
 
The mpd log, when it was in this state, contained multiple:
2025-11-28 21:18:02.702145 WARN [src/alsadevice.rs:122] PB: device is in an unexpected state: SND_PCM_STATE_PAUSED, Paused
This is not a log from mpd, but from camilladsp. Apparently that camilladsp is relatively old - a line 122 with that warning was added three years ago. Since then that code has changed twice: https://github.com/HEnquist/camilladsp/commit/6ba851f655c79e190abb7c75cf8dd31f9255f58a which just removed the warning, and https://github.com/HEnquist/camilladsp/commit/9a7afb4c887eb1dffe66f32082cb0ee35091c040 which properly unpauses the playback device in case of the paused state. The last commit is 8 month old and already in CDSP v. 3.0.1
 
This is not a log from mpd, but from camilladsp. Apparently that camilladsp is relatively old - a line 122 with that warning was added three years ago. Since then that code has changed twice: https://github.com/HEnquist/camilladsp/commit/6ba851f655c79e190abb7c75cf8dd31f9255f58a which just removed the warning, and https://github.com/HEnquist/camilladsp/commit/9a7afb4c887eb1dffe66f32082cb0ee35091c040 which properly unpauses the playback device in case of the paused state. The last commit is 8 month old and already in CDSP v. 3.0.1

Thanks for the info.

When I said mpd log I literally meant from the file "/var/log/mpd/log". You can see my confusion!

I'm on the latest v9 version (v9.4.2), which states it's using CamillaDSP v3.0.0. Is the fix in 3.0.1? I'm not getting any diffs from github when I compare v3.0.0 and v3.0.1. Probably I'm holding it wrong. In any event, my player uses a 512gb sd card, and moOde makes you flash the sd card to upgrade between major versions (ie to the v10.0.0 which uses CamillaDSP v3.0.1) - there's no two partition solution where you simply update the OS leaving the majority of your card alone such as with other OSes such as Batocera - backing up and restoring the music will take the best past of a week, so unless this is fixed in subsequent v9 release I'll probably have to put up with it. Unless I can perform an in-place upgrade of CamillaDSP.
 
Last edited:
Thanks for the info.

When I said mpd log I literally meant from the file "/var/log/mpd/log". You can see my confusion!

I'm on the latest v9 version (v9.4.2), which states it's using CamillaDSP v3.0.0. Is the fix in 3.0.1? I'm not getting any diffs from github when I compare v3.0.0 and v3.0.1. Probably I'm holding it wrong. In any event, my player uses a 512gb sd card, and moOde makes you flash the sd card to upgrade between major versions (ie to the v10.0.0 which uses CamillaDSP v3.0.1) - there's no two partition solution where you simply update the OS leaving the majority of your card alone such as with other OSes such as Batocera - backing up and restoring the music will take the best past of a week, so unless this is fixed in subsequent v9 release I'll probably have to put up with it. Unless I can perform an in-place upgrade of CamillaDSP.

I'd strongly recommend keeping music files and OS on separate disks.

I use these SanDisk UltraFit flash drives.
 
Unless I can perform an in-place upgrade of CamillaDSP.
You can easily replace the camilladsp file, which is located in Moode at /usr/local/bin. You can get it from: https://github.com/HEnquist/camilladsp/releases/download/v3.0.1/camilladsp-linux-aarch64.tar.gz . You need to unzip it before copying. I replaced it on both Mode 9 and Mode 10. I'm having some issues with audio stream synchronization, and the built-in Camilladsp is making clicks. That's why I'm replacing the Camilladsp and alsa_sdsp files. Everything works correctly with the file compiled by Henrik Enquist. Although the versions are already the same on Mode 10, the files are still different sizes. Perhaps they use different optimizations. Perhaps there are other subtleties. But they behave differently.
 
I surprised myself. I installed Moode 10.0 on a Zero 2W and it works. I first set it up as a UPNP renderer with Qobuz controlled by BubbleUPNP. The web UI had decent response time. I then added my local files on a SMB share. It slowed to a crawl or worse. I have a large library, close to 90K files, so that may be a factor. Since I can use BubbleUPNP to access the local files I did a fresh install with no SMB/MPD library. For no particular reason I'm using an audio HAT. USB to a DAC will work too. A streamer for $15 plus the cost of BubbleUPNP and a dongle DAC or a HAT is my kind of audio device. I'm using Camilladsp and it doesn't affect the performance. It shows what can happen every now and then if you have too much time on your hands and fool around with stuff. OH, 1 more thing. I have a 4 in 1 out USB switch feeding a Khadas Tone Board. For some reason or other I already had 3 Pis and a Windows micro computer attached to it. Mind you, there is no sane reason to have 3 Pis running audio streaming software in the same room.
 
Hi,

moOde 10.0.1 (Trixie) is available in the Media Player OS section of the Raspberry Pi Imager or as a direct download from the Release archive at https://moodeaudio.org. Visit the Forum for more information https://moodeaudio.org/forum/showthread.php?tid=8258&pid=68287#pid68287

View attachment 496360
It's failing, saying update cancelled, each time I try. I didn't cancel it, no clues in the log, internet is perfect, pi connected via ethernet, rebooted pi first (pi 4 on v10 which otherwise works fine), plenty of space on SD card. I have added an infra red receiver to the gpio pins but that's not caused problems in the past.
 
It's failing, saying update cancelled, each time I try. I didn't cancel it, no clues in the log, internet is perfect, pi connected via ethernet, rebooted pi first (pi 4 on v10 which otherwise works fine), plenty of space on SD card. I have added an infra red receiver to the gpio pins but that's not caused problems in the past.
Read the release announcement and scroll down to the In-Place Update section. There is a patch you need to apply before the update will install.
 
Bummer....
I didn't install SSH on the 10.0 flash configuration. Couldn't get SSH to log me in even while trying to use the Web SSH tool in Configure.
Ended up creating new Moode 10.01 flash drives with SSH enabled in flash config.
Nothing is ever as easy as it should be... :D
 
Bummer....
I didn't install SSH on the 10.0 flash configuration. Couldn't get SSH to log me in even while trying to use the Web SSH tool in Configure.
Ended up creating new Moode 10.01 flash drives with SSH enabled in flash config.
Nothing is ever as easy as it should be... :D
That sucks...

I was able to use the Web SSH tool and install the update, and then do the upgrade and everything seems to be working well. I did enable SSH in the image for 10.0 - I believe you have to do that to get Web SSH to work, but not completely sure.
 
Back
Top Bottom