Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

Moode Audio Player for Raspberry Pi
Moode Audio Player for Raspberry Pi
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 16th June 2017, 02:01 PM   #8181
kit1cat is offline kit1cat  United Kingdom
diyAudio Member
 
Join Date: Jun 2010
Can the FLIRC USB Universal Remote Control Receiver be used with Moode? Thanks
  Reply With Quote
Old 16th June 2017, 02:53 PM   #8182
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by FizzyTea View Post
Firstly, Tim, great work, I really love moOde. I'm using v3.1 (advanced kernel) on a rpi3 & currently tinkering with v3.7 (std kernel) on a rpi2. Each have a Pifi Dac + 2.0, the chinese hifiberry clone,.

I have had no success installing either of the two advanced kernels on v3.7 on rpi2 (rev1.1).
I have attempted to install both type, and block have led to reflashing my sd card.
After install and reboot on the playback panel it is blank save for upper "playback cirle" and the skip, play/pause, skip bar beneath it, No vol, no playlist, no moode logo or other details. The library panel says everything is undefined, and the browse panel is completely blank. The system is sluggish and configure panel is unresponsive and often hangs. Interesting I discovered mpd was not running and when I started via command line it complains it has no config file. It starts if point it towards the config but on reboot it i not running. Reinstating the standard kernel has no effect, the system remains dysfunctional. I would like to use advanced kernels if possible. Has anybody reported similar occurrences?

Separately, I have had good success adding ir remote using the dac's built-in receiver, lirc and irexec. I have mapped my most commonly used controls, can jump to set volumes and if I press number 6, BBC 6 Music leaps onto the top of my playlist and starts playing. A wonderful thing about great software like moOde is they encourage curious amateurs to have a go at some scripting, providing a good way to learn. Since adding the second player I decided I need a script to fetch and load the playlist from the other player and obviously I want it work with my remote control. Good news is my bash script seems to work well from the command line. It however does not work with the remote control. I believe the problem is I need to use sudo to mv the playlist into /var/lib/mpd/playlists and I think irexec is not able/allowed to gain root privileges. irexec runs under user pi, with the lirrc file in the /home/pi folder. I also have my playlist transfer script in /home/pi. I have tried some ideas like the button running sudo myscript.sh but thus far nothing has worked. Perhaps somebody has experience on irexec and sudo in scripts? I will include my script but be kind, I am learning!

As regards moOde itself I do have a feature request. I would really find very very useful an "ADD NEXT" option on songs and folders. This would improve my usage vastly. However as it is present on volumio and rune I wonder if maybe there is not a technical reason it is absent from moOde? Anyway I think it would be valuable addition which would improve my user experience greatly.

Thanks for all the great work though!

Code:
#!/bin/bash

#######################################################################
# Script to transfer playlist of other moOde player to current player #
#######################################################################

if [ "nc -z moode.local 22 &> /dev/null" ];
then
        ssh pi@moode.local 'if [ -e /var/lib/mpd/playlists/moodelist.m3u ]; then mpc rm moodelist; fi;
                                mpc save moodelist; cp /var/lib/mpd/playlists/moodelist.m3u /home/pi;';

        scp pi@moode.local:/home/pi/moodelist.m3u /home/pi &> /dev/null;

        sudo mv moodelist.m3u /var/lib/mpd/playlists && mpc load moodelist &> /dev/null;
        exit 0;
else
        exit 1;
fi
Hi,

I have couple of Pi-2B's and no issues installing Adv kernels.

To troubleshoot try the following:

- start with fresh image
- install one of the Adv kernels
- BEFORE rebooting open an ssh session and examine moode log

cat /var/log/moode.log

- it should look similar to below

pi@rp4:~ $ cat /var/log/moode.log
20170616 103706 worker: Startup
20170616 103708 worker: Host (rp4)
20170616 103708 worker: Hdwr (Pi-2B 1GB v1.1)
20170616 103708 worker: Arch (armv7l)
20170616 103708 worker: Kver (4.4.50-v7+)
20170616 103708 worker: Ktyp (Standard)
20170616 103708 worker: Gov (performance)
20170616 103708 worker: OS (moodeOS 2.0)
20170616 103708 worker: Rel (Moode 3.7 2017-05-25)
20170616 103708 worker: Upd (None)
20170616 103708 worker: MPD (0.20.6)
20170616 103708 worker: Session loaded
20170616 103708 worker: Debug logging (off)
20170616 103708 worker: File check...
20170616 103709 worker: File check ok
20170616 103709 worker: USB sources (none attached)
20170616 103709 worker: MPD scheduler policy (time-share)
20170616 103709 worker: MPD started
20170616 103709 worker: wlan0 exists
20170616 103709 worker: wlan0 trying SSID (AirnetN2)
20170616 103709 worker: Rotary encoder driver loaded
20170616 103709 worker: HDMI port off
20170616 103709 worker: Audio (I2S audio device)
20170616 103709 worker: Audio (IQaudIO Pi-DigiAMP+)
20170616 103710 worker: Chip options applied
20170616 103710 worker: IQaudIO Pi-DigiAMP+ unmuted
20170616 103710 worker: ALSA mixer name (Digital)
20170616 103710 worker: MPD volume control (hardware)
20170616 103710 worker: MPD output 1 ALSA default (on)
20170616 103710 worker: MPD output 2 ALSA crossfeed (off)
20170616 103710 worker: MPD output 3 ALSA equalizer (off)
20170616 103710 worker: Hdwr volume controller exists
20170616 103710 worker: Volume level (0) restored
20170616 103710 worker: wlan0 (192.168.1.248)
20170616 103722 worker: eth0 exists
20170616 103722 worker: eth0 address not assigned
20170616 103722 worker: NAS sources (none configured)
20170616 103722 worker: MPD crossfade (off)
20170616 103722 worker: Watchdog started
20170616 103722 worker: End startup
20170616 103722 worker: Ready
20170616 103834 worker: Job install-kernel
20170616 103916 worker: install-kernel util.sh output (installing Advanced-LL kernel)
20170616 103916 worker: install-kernel util.sh output (flushing cached disk writes)
20170616 103916 worker: install-kernel util.sh output (Advanced-LL kernel installed)
20170616 103917 worker: install-kernel MPD scheduler (ts)
20170616 103917 worker: install-kernel Squeezelite scheduler (ts)
20170616 103917 worker: install-kernel Rotenc scheduler (ts)
20170616 103917 worker: install-kernel MPD cpu affinity (none)
pi@rp4:~ $


Btw, what does "Add Next" actually do?

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 16th June 2017, 02:54 PM   #8183
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by terry22 View Post
Hi Tim,
Do you plan to add driver for st4000 in future versions?
thank you
Hi Terry,

Whats an st4000 driver?

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 16th June 2017, 03:06 PM   #8184
FizzyTea is offline FizzyTea
diyAudio Member
 
Join Date: Jun 2017
Thanks for the advice on the advanced kernel. I will try it when I get the opportunity.

Quote:
Originally Posted by TimCurtis View Post
Btw, what does "Add Next" actually do?

-Tim
Hi Tim, Add next would add a song or folder (or I suppose potentially a playlist) to the next position in the playlist so it plays immediately after the currently playing song.

I find when I am constructing on-the-fly playlists I often desire to be able to insert tracks next in the queue, when the current playing song is not the last song on the playlist.

There are of course work arounds with shifting track positions but this is clunky and click heavy.

This is the only feature I am surprised moOde does not have and I think people would find it useful. It often appears in other music players.
  Reply With Quote
Old 16th June 2017, 06:26 PM   #8185
pkdick is offline pkdick  France
diyAudio Member
 
Join Date: Apr 2017
Location: France
Quote:
Originally Posted by TimCurtis View Post
Hi Terry,

Whats an st4000 driver?

-Tim
Hi Tim,

For your information the ST4000 DAC is a ES9018MK2 DAC proposed by Audiophonics (please have a look on the following link ST4000 DAC ES9018K2M HDMI I2S TCXO 32Bit / 384kHz DSD256 pour Raspberry Pi - Audiophonics). This product is a chinese product from Suptronics with the X4000 reference.

There is no driver for this DAC and it is supported with the "RPI-DAC" option if you choose the I2S interface to manage it. It is also possible to use it through the HDMI interface: it was claimed to operate up to 32 bit 384 kHz, which I found not possible with Moode 3.7.

Regards,
  Reply With Quote
Old 16th June 2017, 06:32 PM   #8186
RafaPolit is offline RafaPolit  Ecuador
diyAudio Member
 
RafaPolit's Avatar
 
Join Date: Dec 2016
Location: Quito, Ecuador
Hey Tim,

Thanks for the new versions with updated dependencies.

I sent you my mail on a PM. Looking forward to testig 3.8.

Thanks!

Rafa.
  Reply With Quote
Old 16th June 2017, 07:55 PM   #8187
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by FizzyTea View Post
Thanks for the advice on the advanced kernel. I will try it when I get the opportunity.



Hi Tim, Add next would add a song or folder (or I suppose potentially a playlist) to the next position in the playlist so it plays immediately after the currently playing song.

I find when I am constructing on-the-fly playlists I often desire to be able to insert tracks next in the queue, when the current playing song is not the last song on the playlist.

There are of course work arounds with shifting track positions but this is clunky and click heavy.

This is the only feature I am surprised moOde does not have and I think people would find it useful. It often appears in other music players.
Hi,

Well, no one has asked for it before. You are the first.

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 16th June 2017, 08:01 PM   #8188
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by pkdick View Post
Hi Tim,

For your information the ST4000 DAC is a ES9018MK2 DAC proposed by Audiophonics (please have a look on the following link ST4000 DAC ES9018K2M HDMI I2S TCXO 32Bit / 384kHz DSD256 pour Raspberry Pi - Audiophonics). This product is a chinese product from Suptronics with the X4000 reference.

There is no driver for this DAC and it is supported with the "RPI-DAC" option if you choose the I2S interface to manage it. It is also possible to use it through the HDMI interface: it was claimed to operate up to 32 bit 384 kHz, which I found not possible with Moode 3.7.

Regards,
Hi,

AFAIK the HDMI audio interface is limited to 16/48 in Linux 4.4 branch kernels. I believe this gets bumped up to 24/192 in the 4.9 branch.

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 16th June 2017, 08:05 PM   #8189
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by RafaPolit View Post
Hey Tim,

Thanks for the new versions with updated dependencies.

I sent you my mail on a PM. Looking forward to testig 3.8.

Thanks!

Rafa.
Hi Rafa,

It will take me a day or so to get a TR made. You might also want to check out the thread below and the corresponding Git repo. I'm not sure whether the latest mainline 0.20.9 MPD contains some or all the patches mentioned in the thread.

-Tim

http://www.diyaudio.com/forums/pc-ba...ml#post5108984

https://github.com/xxxbugxxxx/MPD
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 16th June 2017, 08:38 PM   #8190
trung224 is offline trung224
diyAudio Member
 
Join Date: Jun 2016
Quote:
Originally Posted by TimCurtis View Post
Hi,

From what I understand after investigating, when bit depth format is not specified Squeezelite chooses an output bit depth that it thinks is best for the audio device. If this bit depth is > than input bit depth then only zero-padding occurs and the original bits are not altered, i.e., still bit-perfect.

-Tim
Thanks Tim. But zero-padding on output stream can result in truncating/dithering/rounding on DAC/SPDIF receiver. These kinds of thing are all SRC, and all SRCs leave some artifacts on stream signal. So it is probably better to leave the original bit depth of bit stream untouched.

Could you find a way to preserve the original bit depth?
  Reply With Quote

Reply


Moode Audio Player for Raspberry PiHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My DAC for the Raspberry Pi usul27 Digital Line Level 156 29th April 2017 11:10 PM
DSP for the Raspberry Pi usul27 Digital Line Level 39 30th August 2016 07:29 AM
Raspberry Pi + CirrusLogic Audio Card = FAIL solderhead PC Based 31 26th January 2016 06:48 PM
RaspyFi/Volumio - Turn raspberry Pi into Audiophile audio Player mikelangeloz PC Based 295 14th June 2014 05:32 PM
miniAMP and raspberry pi kp93300 miniDSP 0 3rd March 2014 03:38 AM


New To Site? Need Help?

All times are GMT. The time now is 03:04 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki