Moode Audio Player for Raspberry Pi

Hi,

Very odd. I don't think CPU is issue.

I ran some stress tests using old Pi-1B and did not get any audio glitches when clicking albums on the Library panel, even when the album art took a bit to display.

Tonight I rerun stress tests using Pi-2B just in case 🙂

Screen shot shows cpu at 65% utilization w/resampling enabled, no issues.

Test config:

Pi-1B 700 Mhz, 512MB Ram
USB DAC (JDS Labs ODAC)
USB attached HDD
18K tracks in mixed formats
With and without resampling enabled
16/44, 24/96 and radio stations

Regards,
Tim

Hi @shanghai2004,

Ran stress tests substituting Pi-2B with same config as above, no audio glitches. CPU utilization much lower with nice 4-core ARMv7 and 1GB RAM. Only 8% 🙂

My thought is that the known UAC2 bugs in Linux 3.18 series USB driver are somehow causing or contributing to the "audio glitch" issue.

Regards,
Tim
 
Last edited:
Anyone have an android phone (or tablet) with usb tethering and care to give this a try with MoOde and report the results...
( My phone doesn't have usb tethering but if the procedure works with MoOde then I would get one that does !)

Using an Android Tablet as a Raspberry Pi Monitor

Use an Android Device as Screen and Input for R... Linux Magazine

Would the first give a local display similar to the web view given that it is configuring usb as ethernet ?

The second link would presumably be the same as connecting a standard monitor over hdmi and result in command line access only
 
In 2.2 I have re sampling in Moode set to 24/96.

In the audio info stream output is showing as 32/96.

Thanks

Cyclopse

Hi,

I have similar issue. No resampling so I was hoping to have bit perfect but unfortunately I see that whaterver original bit depth and sampling rate, it is always transformed to 32 bit.

Eg. 44.1kHz/16 ->44.1kHz-32 or 192kHz/24 -> 192kHz/32.

I I force via resampling a particular frquency and depth it works.

My DAC is an Fostex HP-A8C.

Does somebody know how to fix this?
 
It's Great!

Hi All

Firstly I wanted to say thanks to Tim for Moode - it's great! So far I am running it on a couple of Pi's with the HiFiBerry-Amp and Amp+ hooked up to a Monitor Audio in ceiling speaker and a pair of B&W in ceiling speakers - and it sounds fantastic!

I've looked through this thread for answers to a couple of questions, but not found them - apologies if they're noob-worthy! -

- when I play to the Moode Player as an Airplay Speaker (am using AirAudio on Android) is there a way to set the default volume for that connection in Moode? ...if i'm playing a local file or a Radio stream via the Moode web interface I have the volume at around 20 (with volume normalisation checked) - but to be able to hear the Airplay stream I have to turn it up to about 60 for it to be a similar volume (all volumes on full on the playing/streaming device)....am waiting to forget to turn it back down and have a shock when play locally!!

- I've gone and installed the players in a not very easily accessible location (in an effort to stop me fiddling with them too much!), but is there an easy way to upgrade Moode via SSH and keep the current settings?

Cheers
 
Hi,

I have similar issue. No resampling so I was hoping to have bit perfect but unfortunately I see that whaterver original bit depth and sampling rate, it is always transformed to 32 bit.

Eg. 44.1kHz/16 ->44.1kHz-32 or 192kHz/24 -> 192kHz/32.

I I force via resampling a particular frquency and depth it works.

My DAC is an Fostex HP-A8C.

Does somebody know how to fix this?

Hi,

What format are the files?

Regards,
Tim
 
Hi All

Firstly I wanted to say thanks to Tim for Moode - it's great! So far I am running it on a couple of Pi's with the HiFiBerry-Amp and Amp+ hooked up to a Monitor Audio in ceiling speaker and a pair of B&W in ceiling speakers - and it sounds fantastic!

I've looked through this thread for answers to a couple of questions, but not found them - apologies if they're noob-worthy! -

- when I play to the Moode Player as an Airplay Speaker (am using AirAudio on Android) is there a way to set the default volume for that connection in Moode? ...if i'm playing a local file or a Radio stream via the Moode web interface I have the volume at around 20 (with volume normalisation checked) - but to be able to hear the Airplay stream I have to turn it up to about 60 for it to be a similar volume (all volumes on full on the playing/streaming device)....am waiting to forget to turn it back down and have a shock when play locally!!

- I've gone and installed the players in a not very easily accessible location (in an effort to stop me fiddling with them too much!), but is there an easy way to upgrade Moode via SSH and keep the current settings?

Cheers

Hi,

Here are answers to your questions. They are important questions btw 🙂

(1) is there a way to set the default volume for that [Airplay] connection in Moode

Yes there is but it is going to take some design/coding and this is on my to-do list for Moode 3 project.

(2) is there an easy way to upgrade Moode via SSH and keep the current settings?

Not at present, but in-place upgrade is probably #1 item on Moode 3 to-do list for Phase 2 (feature coding). Phase 1 is (get new code and OS working).

There is no time frame (yet) for Moode 3.0 🙂

Regards,
Tim Curtis
 

Attachments

  • moode-3-v1.png
    moode-3-v1.png
    32.5 KB · Views: 308
Android phone as tethered touch-screen without network.

Further to this post http://www.diyaudio.com/forums/pc-based/271811-moode-audio-player-raspberry-pi-63.html#post4448946

Overnight I have bought an old Samsung Galaxy S3 cheaply and managed to tether it to a running Moode via usb the result being a local touch screen, with keyboard, without having network access.

Currently I only have command line via ssh as in the 2nd link on my post above.....started simple 🙂.... and my next attempt will be for full interface....😀

Initially I had to ssh into moode and add this to /etc/network/interfaces
Code:
allow-hotplug usb0
auto usb0
iface usb0 inet static
        address 192.168.42.42
        netmask 255.255.255.0
        network 192.168.42.0
        broadcast 192.168.42.255

That was all that was needed on the pi.

Mine is a Pi-B with 2 usb ports and the lower one (closest to the pcb) turned out to be usb(0)
Log in from the Samsung was as root@192.168.42.42 password moode

The G3 has no sim card and the Pi is still connected via ethernet port for testing with radio streams. So far all the mpc commands work..play, stop, etc.
The default text is minute and I can't seem to get rotation to work so currently in portrait...however, reverse pinch works for zooming, though if you go too far and text is lost to the right it doesn't return when zoomed back.
 
Last edited:
Let's say we have different rips of the same album, in different codecs, different bitrates in different physical folders, but using the same tags.
e.g. vinyl 24bit, cd 16bit, mp3 (also could have different sample rate)
Actually, in moode's library tab, if they have the same album/artist tag these tracks are all shown together inside the same album.

Is there already a fast way to identify them, without playing them? (without editing the tags)

- One way would be to show the file format or the bitrate or the codec directly in the library view.
Would this impact library loading times/cpu usage too much?

Pretty sure the bitrate in kbps would be the perfect one, but I don't think it's stored in all meta tags...

- maybe showing the file path in library tab and writing the source/media in folder's name would be an easier way?

- another option would be keeping the library as now, just adding a menu triggered by left clicking track's name (a menu like the audio info one showing file bitrate, codec etc)?
 
Last edited:
Hi @shanghai2004,

Ran stress tests substituting Pi-2B with same config as above, no audio glitches. CPU utilization much lower with nice 4-core ARMv7 and 1GB RAM. Only 8% 🙂

My thought is that the known UAC2 bugs in Linux 3.18 series USB driver are somehow causing or contributing to the "audio glitch" issue.

Regards,
Tim

Hi Tim,

Thanks for testing, but your testset is different from mine in an important way:

Test config:

Pi-1B 700 Mhz, 512MB Ram
USB DAC (JDS Labs ODAC)
USB attached HDD
18K tracks in mixed formats
With and without resampling enabled
16/44, 24/96 and radio stations
If I try your test set with USB storage, then all is OK on my side as well.

The library being browsed needs to be on a NAS (so over LAN) in order to trigger the audio glitch.

Is there anybody with a NAS and a USB 2.0 DAC who can try this to help isolate this problem? USB 2.0 audio (UAC2) based DAC + music library on NAS, play a CD quality song in flac, then while playing, open the library page, browse albums to show the track list. Every time a new album is clicked, there is a short audio glitch.

Using the 'browse' page to go trough the same music collection doesn't give audio glitch.
 
Let's say we have different rips of the same album, in different codecs, different bitrates in different physical folders, but using the same tags.
e.g. vinyl 24bit, cd 16bit, mp3 (also could have different sample rate)
Actually, in moode's library tab, if they have the same album/artist tag these tracks are all shown together inside the same album.

Is there already a fast way to identify them, without playing them? (without editing the tags)

- One way would be to show the file format or the bitrate or the codec directly in the library view.
Would this impact library loading times/cpu usage too much?

Pretty sure the bitrate in kbps would be the perfect one, but I don't think it's stored in all meta tags...

- maybe showing the file path in library tab and writing the source/media in folder's name would be an easier way?

- another option would be keeping the library as now, just adding a menu triggered by left clicking track's name (a menu like the audio info one showing file bitrate, codec etc)?

Hi,

Showing bit rates already on my to-do list.

Regards,
Tim
 
Hi Tim,

Thanks for testing, but your testset is different from mine in an important way:

If I try your test set with USB storage, then all is OK on my side as well.

The library being browsed needs to be on a NAS (so over LAN) in order to trigger the audio glitch.

Is there anybody with a NAS and a USB 2.0 DAC who can try this to help isolate this problem? USB 2.0 audio (UAC2) based DAC + music library on NAS, play a CD quality song in flac, then while playing, open the library page, browse albums to show the track list. Every time a new album is clicked, there is a short audio glitch.

Using the 'browse' page to go trough the same music collection doesn't give audio glitch.

Hi shanghai2004,

tried to see if I have the same behaviour on my rig (Pi2 => Geek Pulse Xfi) but it appears that I don't have the glitches while playing a flac song and clicking on an album in the library.

Edit: I forgot to mention that all my songs are stored on a Synology DS213.
 
Last edited:
Hi All

Firstly I wanted to say thanks to Tim for Moode - it's great! So far I am running it on a couple of Pi's with the HiFiBerry-Amp and Amp+ hooked up to a Monitor Audio in ceiling speaker and a pair of B&W in ceiling speakers - and it sounds fantastic!

I've looked through this thread for answers to a couple of questions, but not found them - apologies if they're noob-worthy! -

- when I play to the Moode Player as an Airplay Speaker (am using AirAudio on Android) is there a way to set the default volume for that connection in Moode? ...if i'm playing a local file or a Radio stream via the Moode web interface I have the volume at around 20 (with volume normalisation checked) - but to be able to hear the Airplay stream I have to turn it up to about 60 for it to be a similar volume (all volumes on full on the playing/streaming device)....am waiting to forget to turn it back down and have a shock when play locally!!

- I've gone and installed the players in a not very easily accessible location (in an effort to stop me fiddling with them too much!), but is there an easy way to upgrade Moode via SSH and keep the current settings?

Cheers

I am finding this with AirPlay in 2.3. Everything is very quiet and not the same level as Moode radio stations or files from the NAS.
 
Cover art not working in ver 2.3

At least for me.... I always see the "default" moode cover art.

I have in all my folders the cover art named as "cover.jpg".
Very often I have also the cover embedded with utility metaflac, but also in that case it does not work.
I gave a try also to naming the cover as "folder.jpg", but no joy.

I'm afraid there is still something wrong in coverart.php....

Thanks
Franz
 
Sorry Tim, looks like my reply disappeared. I did actualy use // in Mpad.
This is an example of the results I get.
Base URL: diyAudio server HTTPS page
Filename: folder.jpg
URL: http://moode/NAS/ZyXEL/Music%20dvd's/Scorpions%20-%20Accoustics%20(2001)/folder.jpg
No cover found.
Not sure were the %20 come from?

Thanks, Barry

Hi Barry,

Leave the "Filename:" field blank. If it is set to "folder.jpg" and there are no folder.jpg files then no cover art will be shown.

I just tested on MPoD and no issues.

Regards,
Tim
 
At least for me.... I always see the "default" moode cover art.

I have in all my folders the cover art named as "cover.jpg".
Very often I have also the cover embedded with utility metaflac, but also in that case it does not work.
I gave a try also to naming the cover as "folder.jpg", but no joy.

I'm afraid there is still something wrong in coverart.php....

Thanks
Franz

Hi Franz,

Send email to tim at moodeaudio dot org and I can help troubleshoot 🙂

Regards,
Tim