Moode Audio Player for Raspberry Pi

Problem/solution with CM6206 hardware volume control.

I am currently using a cheap CM6206 (LX?) based USB 5.1 sound card. (I envisage setting up an active crossover using it.) It's possible I will look inside to confirm the chip but at the moment it's new and I'm clumsy so I don't want to break it.

MoOde connects to the "PCM" mixer control. This seems to be the TOSLINK digital output.
Connecting mpd to the "Speaker" mixer control works fine.

NOTE: I had to turn off "logarithmic curve" in the "customise" screen. (my previous I2S DAC required the logarithmic curve).

These things are stupid cheap on eBay. I got one for less than £7, delivered, from within the UK.

Also, I'd seen an article online about running 96K output through these things (claimed spec is 48K). Certainly, mpd managed to run 96000:16 through it.

J.
 
CONVOLVING

Hi, maybe this is interesting:

ConvoFS is a small Linux virtual file system sitting in between a music repository (either on the local disk or mounted from a NAS share) and a media server like Minimserver/Logitech Media Server (LMS). ConvoFS intercepts any access to FLAC media files and – using brutefir – transparently offers read-only convolved versions.

Tested environment: ConvoFS should work with audio renderers like Linn, Auralic, Lumin and JPLAY. I use AudioLense for measuring room acoustics and generating filters. ConvoFS also works with Acourate and REW generated filters, but definitely not with Dirac.

Technical digression: For the technically minded and audiophiles, it may be worth mentioning that ConvoFS presents any FLAC file as uncompressed (verbatim format ) 24 bit FLAC regardless of the compression level / resolution of the source file. The source file is naturally not touched.

License: ConvoFS is open source (GPL). Please refer to the ConvoFS distribution / web interface for details.

Development status: Barring installer errors that may have survived testing on a clean server, ConvoFS is production ready and stable. I use it on a permanent basis.

Hardware/software requirements: ConvoFS is developed and tested with Ubuntu Linux 14.04 LTS. The installer will refuse to run if it detects a non-debian basedsystem. Given sufficient Linux skills you should, however, be able install it on other Linux flavors. There’s one known user running it on a Raspberry Pi2 running Debian 7.8.

Enough babbling, I want it: you can download the newest version HERE:
Index of /Download

Luki
 
Great idea! I've just been trying it, but I'm getting dropouts in the sound.

Might be your wifi is stressed. If you can put your NASPi on Ethernet straight off your router, that will show you whether it is Pi performance or wifi.

When you have two wifi devices sharing data, it has to transit wifi four times: player to router, router to NAS, NAS to router, router to player. Wifi has to work sequentially, one device at a time, including all the other devices on your wireless network.

Lots of routers aren't capable of handling the traffic, especially the cheap-*** units usually provided by your ISP.

If you are having wifi issues, a decent second hand router doesn't cost much on eBay (or similar). 802.11n is fast enough for most situations, but 802.11ac or better is always going to offer more performance going forward.
 
I have a update package available that performs some fixes and code updates to Moode 2.6 and am looking for some volunteers to test it out manually.

Send email to tim at moodeaudio dot org if u would like to try it out. It requires familiarity with Linux ssh and various cmds.

Regards,
Tim

Chuck it at me, I'll be your huckleberry. ;)

You're a bloody champ, btw!
 
Hi Tim

I switched from 2.5 to 2.6. I had the same issue as mRqS and a reboot did the job. Thanks for the nice job !

Btw, a little bug in customizing : when trying to pick up the time zone in the list, the top and down arrow leads to the first and the last line in the list. If I use the mouse scroll it is OK. If I remember well, same problem on another list in the customizing (maybe "audio device" selection).

QUESTION TO WAVE IO USB BOARD USERS :
I am still getting annoying glitches every 5 to 20 seconds (USB, not tried IS2), I hoped that the new version would have fixed it. I am using a Synology NAS. Is it a question of customizing (eg RSize or WSize in NAS customizing, I kept default) or any other parameters ? I tried apply the UAC2 fix, without results, I had tried other value for fiq_fsm_mask with 2.5 with few results.
Has someone succeeded with the WAVE IO and how ?
Would going from Pi2B to 3 change anything ?

Thank You
Jean-Louis

If you think the NAS is starving the player of content, bang the buffer size (in mpd config panel) up to 8192 or 16384.

Pi3 is faster, with a decent wifi adapter, which is always good - the answer is always 'MOAR POWER', whatever the question ;)

You don't say how your NAS is attached. If it's via wifi, try hard wiring to Ethernet and see if your problem still exists. If it does, try connecting the Pi to Ethernet. If either of those makes your problem go away, it could be your wifi is underpowered/oversubscribed.

My son's setup was working fine when he was on the air base, but when he moved to an apartment in downtown Calgary, it all went to **** with no change to the Moode config. I teleremoted in and saw his building was completely inundated with competing wifi SSIDs. Moved him to the least populous channels and his problem went away.

Not a problem for us in rural NZ... I can only see one other network, the one I set up for my neighbour :)
 
concerning the problem I have with MINIDLNA (Moode 2.6) not seeing the files on the USB stick (in contrast to Moode, which plays the files just fine)

I SSH´ed to the log file:
Code:
[2016/06/13 07:15:42] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
[2016/06/13 07:15:42] minidlna.c:354: warn: Creating new database at /var/lib/minidlna/files.db
[2016/06/13 07:15:42] minidlna.c:1043: warn: HTTP listening on port 8200
[2016/06/13 07:15:42] scanner.c:702: warn: Scanning /var/lib/mpd/music
[2016/06/13 08:59:29] upnphttp.c:1206: error: send(res_buf): Connection reset by peer
[2016/06/13 15:27:45] minidlna.c:153: warn: received signal 15, good-bye
[2016/06/13 15:28:01] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
[2016/06/13 15:28:02] minidlna.c:354: warn: Creating new database at /var/lib/minidlna/files.db
[2016/06/13 15:28:02] minidlna.c:1043: warn: HTTP listening on port 8200
[2016/06/13 15:28:02] scanner.c:702: warn: Scanning /var/lib/mpd/music
[2016/06/14 11:09:15] upnphttp.c:1043: warn: HTTP Connection closed unexpectedly
[2016/06/13 07:15:42] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
[2016/06/13 07:15:42] minidlna.c:354: warn: Creating new database at /var/lib/minidlna/files.db
[2016/06/13 07:15:42] minidlna.c:1043: warn: HTTP listening on port 8200
[2016/06/13 07:15:42] scanner.c:702: warn: Scanning /var/lib/mpd/music
[2016/06/13 08:59:29] upnphttp.c:1206: error: send(res_buf): Connection reset by peer
[2016/06/13 15:27:45] minidlna.c:153: warn: received signal 15, good-bye
[2016/06/13 15:28:01] minidlna.c:1004: warn: Starting MiniDLNA version 1.1.2.
[2016/06/13 15:28:02] minidlna.c:354: warn: Creating new database at /var/lib/minidlna/files.db
several warning and error messages, could this be the cause?
Thanks,
Jan
 
Hi Paul,

Do u have an install recipe for sc2mpd?

-Tim

Tim,
The instructions from Jean-Francois for installing sc2mpd were :-

Create and edit /etc/apt/sources.list.d/upmpdcli.list and add the following lines:

deb http://www.lesbonscomptes.com/upmpdcli/downloads/debian/ unstable main
deb-src http://www.lesbonscomptes.com/upmpdcli/downloads/debian/ unstable main

Then:

sudo apt-get update
sudo apt-get install sc2mpd


Thanks for all your work on Moode. I particularly appreciated being able to set up my Pi3 over the wireless connection.

Paul
 
If you think the NAS is starving the player of content, bang the buffer size (in mpd config panel) up to 8192 or 16384.

Pi3 is faster, with a decent wifi adapter, which is always good - the answer is always 'MOAR POWER', whatever the question ;)

You don't say how your NAS is attached. If it's via wifi, try hard wiring to Ethernet and see if your problem still exists. If it does, try connecting the Pi to Ethernet. If either of those makes your problem go away, it could be your wifi is underpowered/oversubscribed.

My son's setup was working fine when he was on the air base, but when he moved to an apartment in downtown Calgary, it all went to **** with no change to the Moode config. I teleremoted in and saw his building was completely inundated with competing wifi SSIDs. Moved him to the least populous channels and his problem went away.

Not a problem for us in rural NZ... I can only see one other network, the one I set up for my neighbour :)

Hi Zoot

Thank you, blessed to be in quiet place ! I am soon gonna visit you in NZ, heard it is beautiful :D

The NAS is connected via ethernet to the router, and the router via ethernet to the RPI.

I did increase the buffer size to 16k and % buffer before playing to 30% but no result. The USB current x2 is set to on (the WaveIO board is USB powered), the USB UAC2 as well. I tried to insert a powered USB Hub... No success, I am lost
:confused:

KR
Jean-Louis
 
I think I fixed the problem. In /etc/usbmount/usbmount.conf, I updated the "MOUNTOPTIONS" from MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime"
to MOUNTOPTIONS="async,noexec,nodev,noatime,nodiratime". Now I'm getting 10-11 MB/S wired.

Hi,

Confirmed after preliminary tests. The change from sync to async yielded almost 5MB/sec Wifi --> Eth :)

Will do more stress testing to make sure all is good and if so, this change will be in 2.5

Your efforts to find a fix are much appreciated!

Regards,
Tim

After installed v2.6, copying files from win 10 machine to an external USB drive connected to Raspberry Pi 2 is extremely slow again. What can I do to increase the copying speed? I cannot find /etc/usbmount/usbmount.conf any more.
 
Hi,

Attached are some screen shots of a new in-place software updater that will be included in Moode 2.7. The updater can also be bootstrap loaded into Moode 2.6 using a bit of SSH.

This initial version provides a mechanism for updating Moode that can quickly deliver bug fixes and code updates thus eliminating the need to install new image. Future enhancements to the updater can provide migration of settings, sql and complex OS changes.

Regards,
Tim
 

Attachments

  • moode-r27-updater1.png
    moode-r27-updater1.png
    101 KB · Views: 359
  • moode-r27-updater2.png
    moode-r27-updater2.png
    124.5 KB · Views: 343
  • moode-r27-updater3.png
    moode-r27-updater3.png
    112.7 KB · Views: 335