Moode Audio Player for Raspberry Pi

Tim

Since all is working perfectly, I've started to search for something that is not working ;) haha.. ok, just kidding.

One of my players is located in the bedroom upstairs, where the wifi signal is weaker.
Pretty often I experience the sound drop-off's fora fraction of second (sometimes just a bit more).
Is there any option in moode or mad itself that the whole song is loaded into ram first instead of being streamed? This would ensure the playback will not be interrupted.
I don't observe such drop out's in the other system, which is located ab. 1m from the access point.

Marek

What output does iwconfig give(run it from shell).
 
Bug

with the picture is better.
 

Attachments

  • MoodeBug.jpg
    MoodeBug.jpg
    21 KB · Views: 211
Hi,

Not limited by hardware but by software to DSD64 using DoP in current mainline Raspbian Jessie ALSA 1.0.28 and in latest MPD 0.19.12 release.

This has been bumped to DSD128 in newer 1.0.29 version of ALSA and there is patch to MPD for DSD128 support. Also native bitstream DSD is supported.

Regards,
Tim

if it works without jitter, it will be a great surprise for me : The bus architecture of the RPI is really bad.
 
if it works without jitter, it will be a great surprise for me : The bus architecture of the RPI is really bad.

Hi,

My post was referring to DSD format support. I'm not sure what point you are trying to make regarding jitter distortion. There is no such thing as zero jitter. Its always present at some level in signals.

Ian Jin's FIFO II kit which provides jitter reduction and noise isolation is a nice high-end solution for Raspberry Pi :)

http://www.diyaudio.com/forums/digi...project-ultimate-weapon-fight-jitter-367.html
http://www.diyaudio.com/forums/grou...-pdif-fifo-kit-group-buy-188.html#post4357477

Regards,
Tim
 
Hey Tim,

Just built a new Moode system with a pair of Wharfedale Diamond 9.1s, Hifiberry Amp+ to use as a portable (modded wifi to be its own AP) player for functions, etc.

Fantastic, as usual. Just about to give synced play a shot, now I have multiple systems in one house.

You seem to be busy :)

Hi Mike,

I forgot to ask about those super nice Diamond 91's Did u buy used or are u original owner. What a great set of speaks :)

-Tim
 

Attachments

  • wharfdale91.jpg
    wharfdale91.jpg
    53.4 KB · Views: 211
TR3 install

Loaded TR3 yesterday. It's working pretty well. The library load quit at 11K files, better than the 5K point for TR2. I have 69K files so it has a ways to go. <g> OTOH, I organize my music by folders. I prefer it to tags, just the way my brain is wired. Besides, my music is very haphazardly tagged and I'm not strongly motivated to make it consistent and complete.

The now playing screen display problem is gone for me. No need to refresh on return from another screen.

This is a good beta. I haven't been able to break it in normal use.

Raspberry Pi 2, Hifiberry DAC+
 
Loaded TR3 yesterday. It's working pretty well. The library load quit at 11K files, better than the 5K point for TR2. I have 69K files so it has a ways to go. <g> OTOH, I organize my music by folders. I prefer it to tags, just the way my brain is wired. Besides, my music is very haphazardly tagged and I'm not strongly motivated to make it consistent and complete.

The now playing screen display problem is gone for me. No need to refresh on return from another screen.

This is a good beta. I haven't been able to break it in normal use.

Raspberry Pi 2, Hifiberry DAC+

Hi,

Very odd about the Library load quitting like that. My own test collection is 18K tracks and no issues, and I've received user reports of up to 40K tracks loading successfully with TR3.

I would troubleshoot by trying to isolate the directory that it appears to be having trouble with and then examine the files for anything suspicious. The Library is based entirely on the presence of Genre, Artist, Album tags. If any are missing in the file it assigns the string "Unknown genre/artist/album".

Did MPD DB UPDATE complete and successfully index all 69K tracks? A good indication of success would be that the last dir of files in the collection appears under Browse panel NAS.

Regards,
Tim
 
Thanks for the tip. I wouldn't be surprised if there were something funny about the tagging. My music is organized in directories on the /genre/artist or composer/ model more or less. Some of the 1st level genre subdirectories are artist and some are album name with artist or composer first. The library load went through the directories in alpha order. TR2 stopped after Blues Files and TR3 stopped after Christmas. The MPD db load appeared to go fine. AFAIK the browse panel contains all of the files on the disk.

The library is a low priority item for me since I play music mostly by directory anyway. As long as the files are accessible through the browse panel I'm happy. I appreciate your responsiveness to user concerns. I used to be a corporate developer of in-house software and dealt directly with end users.
 
Tim, the ping to my NAS from the upstairs console is varying from ab. 1ms up to 8ms (every single ping is different, but no lot packets shown). Will do one more ping test with antenna in the previous position (I've been moving the antenna hoping for improvement)
Pinging the same NAS from the downstairs console gives pretty much stable values around 5.3-5.5ms all the time.

What output does iwconfig give(run it from shell).


I ran it on both consoles.
The upstairs (problematic) one with Mediatek 7601 with long antenna:

Bit Rate= 65 Mb/s Tx-Power= 20 dBm
Retry short limit: 7 RTS thr: off Fragment thr: off
Encryption key: off
Power Management: off
Link Quality= 53/70 Signal level= -57 dBm
Rx invalid nwid: 0 Rx invalid crypt: 0 Rx invalid frag: 0
Tx excessive retries: 797 Invalid misc: 8326 Missed beacon: 0

The downstairs one with Realtek (tiny one without the external antenna):

Bit Rate:72.2 Mb/s Sensitivity:0/0
Retry: off RTS thr: off Fragment thr: off
Encryption key: ****-****-****-****-****-****-****-**** Security mode: open
Power Management: off
Link Quality= 100/100 Signal level= 98/100 Noise level= 0/100
Rx invalid nwid: 0 Rx invalid crypt: 0 Rx invalid frag: 0
Tx excessive retries: 0 Invalid misc: 0 Missed beacon: 0
 
Last edited:
Hi Tim,
I compared Moode vs Rune and Moode sounds much better but much use Spotify to try new artists and Moode dont'support.
You plan to implement Spotify.

Thanks in advance

No plans for any streaming service. I get roughly = number of requests for Apple Music, Deezer, Tidal, Qubuz, Spotify, Pandora, Youtube, etc. My recommendation is to use the streaming services native app plus the Airplay receiver in Moode. This approach allows all the services to be supported :)

Regards,
Tim
 
Tim, the ping to my NAS from the upstairs console is varying from ab. 1ms up to 8ms (every single ping is different, but no lot packets shown). Will do one more ping test with antenna in the previous position (I've been moving the antenna hoping for improvement)
Pinging the same NAS from the downstairs console gives pretty much stable values around 5.3-5.5ms all the time.

I ran it on both consoles.
The upstairs (problematic) one with Mediatek 7601 with long antenna:

Bit Rate= 65 Mb/s Tx-Power= 20 dBm
Retry short limit: 7 RTS thr: off Fragment thr: off
Encryption key: off
Power Management: off
Link Quality= 53/70 Signal level= -57 dBm
Rx invalid nwid: 0 Rx invalid crypt: 0 Rx invalid frag: 0
Tx excessive retries: 797 Invalid misc: 8326 Missed beacon: 0

The downstairs one with Realtek (tiny one without the external antenna):

Bit Rate:72.2 Mb/s Sensitivity:0/0
Retry: off RTS thr: off Fragment thr: off
Encryption key: ****-****-****-****-****-****-****-**** Security mode: open
Power Management: off
Link Quality= 100/100 Signal level= 98/100 Noise level= 0/100
Rx invalid nwid: 0 Rx invalid crypt: 0 Rx invalid frag: 0
Tx excessive retries: 0 Invalid misc: 0 Missed beacon: 0

Hi,

The ping times look ok for a WiFi connection but did you see > 0% packet loss in the ping stats?

In any case telltale stats are in ifconfig output (suggested by RoosterX).

Compare the following:

Upstairs
Link Quality= 53/70 Signal level= -57 dBm
Tx excessive retries: 797 Invalid misc: 8326 Missed beacon: 0
Downstairs
Link Quality= 100/100 Signal level= 98/100 Noise level= 0/100
Tx excessive retries: 0 Invalid misc: 0 Missed beacon: 0

This suggests upstairs link is going to be problematic.

Whats a bit confusing is that the upstairs adapter is configured with no encryption while the downstairs adapter is configured with encryption. Are both these adapters connecting to a single WiFi network on your router?

You might want to swap WiFi adapters and try the Realtek adapter in the upstairs Pi.

Regards,
Tim
 
AlsaEqual with Moode

I'll just leave it here to find it later...

EQUALIZER using alsaequal :)

- https://volumio.org/forum/equalizer-t45.html

- Content / article / Howto add equalizer capability to Volumio - djz.za.net / opennet.za.net

- https://volumio.org/forum/add-alsaequal-and-profiles-the-gui-t2479.html



I still have not tried it. Will try soon as I need to tame the bass a little due to poor speaker placement.

If someone wants to give a try and report if and how it harms performance, it would be great!
(plenty sure the raspi2 will have no problems, just curious about raspy 1 b+)

Hi all, (newbie in the forum... ;-))

I was able to run alsaequal with Moode by using the instructions given by Thomas (tom1502) in this thread: https://volumio.org/forum/equalizer-t45-10.html. :ashamed:


I can say that it works well, but that Moode dont "known" how to activate/deactivate the equalizer and that the volume control no longer works.





 
No plans for any streaming service. I get roughly = number of requests for Apple Music, Deezer, Tidal, Qubuz, Spotify, Pandora, Youtube, etc. My recommendation is to use the streaming services native app plus the Airplay receiver in Moode. This approach allows all the services to be supported :)

Regards,
Tim

Doesn't this require root access on an Android phone or tablet? I'd be reluctant to take that route (!) since I know next to nothing about it.

John
 
A rooted phone plus a third-party app to redirect to a uPnP / Airplay device, IIRC

Doesn't this depend on the app? Searching on "airplay" in the Google Play Store, I get several hits on apps which don't appear to require a rooted phone; at least they don't state it explicitly.

It may be though, that no Android app exists which is fit-for-our-use, well-implemented (e.g., works across multiple versions of Android, phones, and tablets), and also "free-to-use", or even "fee-to-use" for that matter. I'll be interested to hear from those who get something working.

Regards,
Kent

PS - I also get a ton of irrelevant hits for "airplay". The Google Play search function is a bore to use.
 
Hi,

The ping times look ok for a WiFi connection but did you see > 0% packet loss in the ping stats?

In any case telltale stats are in ifconfig output (suggested by RoosterX).

Compare the following:

Upstairs
Link Quality= 53/70 Signal level= -57 dBm
Tx excessive retries: 797 Invalid misc: 8326 Missed beacon: 0
Downstairs
Link Quality= 100/100 Signal level= 98/100 Noise level= 0/100
Tx excessive retries: 0 Invalid misc: 0 Missed beacon: 0

This suggests upstairs link is going to be problematic.

Whats a bit confusing is that the upstairs adapter is configured with no encryption while the downstairs adapter is configured with encryption. Are both these adapters connecting to a single WiFi network on your router?

You might want to swap WiFi adapters and try the Realtek adapter in the upstairs Pi.

Regards,
Tim

Tim,

Both devices have the same wifi config (in both: /etc/network/interfaces and wpa_supplicant.conf).
The only difference is the wifi chipset (realtek and mediatek).
There are no additional encryption parameters added. This must be the realtek chipset itself.

You propose to swap the wifi cards. I've already tried the realtek one upstairs (before I've got my second PiZero) and it was useless (loosing signal continuously due to lack of the antenna in the usb card).

Regarding the buffer. It's already set to 8192 with 30% pre-buffer.

I've had to time yet to play with the antenna angle. Will test it before I'll think about the wifi repeater.

Marek