Moode Audio Player for Raspberry Pi

Hi,

I decided to test the 4.14.22 kernel fixes to 24 bit audio with a Kali Reclocker in the audio chain and I'm getting white noise at 24 bits :-0

Here are the the tests:

Kernel 4.14.22
- Piano + Kali = white noise at 24 bits
- Piano w/o Kali = OK all bit depths
- Other HAT DAC's w/o Kali = OK all bit depths

Kernel 4.9.80
- OK all bit depths with or w/o Kali

What I'd like to do is see if someone with a Kali+Piano 2.1 DAC can repro the white noise issue. Just send me an email and I can provide the steps to setup the repro.

If the issue is reproducable then I can forward to Allo for analysis.

-Tim
 
Output of the System info utility. Menu, Configure, System then Menu, System info
Browser (IE, Firefox, Safari, Chrome)
Type of client (Android, IOS)

UI response has not come up as an issue with moOde 4, in fact just the opposite, its more responsive than any prior moOde release, thus your particular issue would suggest something external to moOde software for example network issue or possibly a client/Browser issue, maybe even a broken build.

Safari on iOS

S Y S T E M P A R A M E T E R S

Date and time = 2018-02-28 20:55:04
System uptime = up 1 day, 7 hours, 14 minutes
Timezone = Europe/London
moOde = Release 4.0 2018-01-26

Host name = sitting-room
ETH0 IP = 10.0.0.109
ETH0 MAC = b8:27:eb:9b:1c:72
WLAN0 IP = unassigned
WLAN0 MAC = no adapter

HDWR REV = Pi-3B 1GB v1.2
SoC = BCM2835
CORES = 4
ARCH = armv7l
KERNEL = 4.9.79-v7+
KTIMER FREQ = 100 Hz
USB BOOT = not enabled
Warranty = OK

ROOT size = 15G
ROOT used = 15%
ROOT avail = 12G
FS expand = expanded
MEM free = 651 MB
MEM used = 67 MB
Temperature = 46.7°C

CPU GOV = performance
MPD SCHDPOL = TS
P3-WIFI = Off
P3-BT = Off
HDMI = Off
ETH0 CHECK = On
MAX USB CUR = Off
UAC2 FIX = Off
SSH server = Off

LED0 = on
LED1 = on

C O R E S E R V E R S

PHP-FPM = 7.0.27
NGINX = 1.10.3
SQLite = 3.16.2
Bluetooth = 5.43

C P U L O A D

CPU %usr %sys %idle
all 0.00 0.00 100.00
0 0.00 0.00 100.00
1 0.00 0.00 100.00
2 0.00 0.00 100.00
3 0.00 0.00 100.00

P R O C E S S L O A D

PRI RTPRIO COMMAND %MEM PSR %CPU
19 - sysinfo.sh 0.2 0 2.0
19 - sudo 0.3 2 0.5
19 - worker.php 1.1 1 0.2
19 - php-fpm7.0 1.0 1 0.2
19 - php-fpm7.0 1.2 1 0.1
19 - systemd 0.6 0 0.0
19 - kthreadd 0.0 2 0.0
19 - ksoftirqd/0 0.0 0 0.0
39 - kworker/0:0H 0.0 0 0.0

C L O C K F R E Q U E N C I E S

arm = 1200 MHz pwm = 0 MHz
core = 400 MHz emmc = 249 MHz
h264 = 300 MHz pixel = 0 MHz
isp = 300 MHz vec = 0 MHz
v3d = 300 MHz hdmi = 0 MHz
uart = 47 MHz dpi = 0 MHz

SD card = 50 MHz

S Y S T E M V O L T A G E S

core = 1.3125V
sdram controller = 1.2000V
sdram I/O = 1.2000V
sdram chip = 1.2250V

U I C U S T O M I Z A T I O N S

Theme = Standard
Accent color = Emerald
Alpha blend = 1.0
Adaptive background = No
Background image = No
Playback history = No
Extra metadata = Yes
Library = Use Artist

A U D I O P A R A M E T E R S

Audio device = HIFI Digi+
Interface = I2S
Hdwr volume = None
Mixer name = Digital
Output stream = Closed
ALSA version = 1.1.3-5+rpi3
SoX version = 0.1.2-2

Volume knob = 0
Volume mute = Off
Volume limit = 20

Bluetooth controller = Off
Airplay receiver = On
Squeezelite = Off
UPnP renderer = Off
DLNA server = Off

Rotary encoder = Off
Encoder params = 100 2 3 4 5
Crossfeed = Off
Parametric EQ = Off
Graphic EQ = Off
Auto-shuffle = Off
Autoplay = Off
MPD crossfade = Off

M P D S E T T I N G S

Version = 0.20.12
Volume control = disabled
ALSA device = hw:0
SoX resampling = disabled
SoX quality = very high
SoX multithreading = off
Audio buffer (kb) = 4096
Buffer before play = 10%
Output buffer size (kb) = 81920
Volume normalization = no
DSD over PCM (DoP) = no
Replay gain = off

A I R P L A Y S E T T I N G S

Version = 3.1.7
Friendly name = Sitting-Room Pi
Metadata display = Off
ALSA device = hw:0
Volume mixer = auto
Resume MPD after = No
Output bit depth = S16
Output sample rate = 44100
Session interruption = no
Session timeout (ms) = 120
Audio buffer (secs) = 0.0

S Q U E E Z E L I T E S E T T I N G S

Version = 1.8.7-1020 "DSD/SRC enabled"
Friendly name = Moode
ALSA device = hw:0
ALSA params = 80:4::1
Output buffers = 40000:100000
Task priority = 45
Codec list = flac,pcm,mp3,ogg,aac,alac,dsd
Other options = -W -D 500 -R E

M O O D E L O G

20180227 131427 worker: - Start
20180227 131427 worker: Successfully daemonized
20180227 131427 worker: - Init
20180227 131428 worker: Session loaded
20180227 131428 worker: Debug logging (off)
20180227 131429 worker: Host (sitting-room)
20180227 131429 worker: Hdwr (Pi-3B 1GB v1.2)
20180227 131429 worker: Arch (armv7l)
20180227 131429 worker: Kver (4.9.79-v7+)
20180227 131429 worker: Ktyp (Standard)
20180227 131429 worker: Gov (performance)
20180227 131429 worker: Rel (Moode 4.0 2018-01-26)
20180227 131429 worker: Upd (None)
20180227 131429 worker: MPD (0.20.12)
20180227 131429 worker: USB boot not enabled yet
20180227 131429 worker: File system expanded
20180227 131430 worker: HDMI port off
20180227 131430 worker: File check ok
20180227 131430 worker: - Network
20180227 131430 worker: eth0 exists
20180227 131430 worker: eth0 (10.0.0.109)
20180227 131430 worker: wlan0 does not exist
20180227 131430 worker: - Audio
20180227 131430 worker: ALSA outputs unmuted
20180227 131430 worker: Audio out (I2S audio device)
20180227 131430 worker: Audio dev (HIFI Digi+)
20180227 131430 worker: ALSA mixer name (Digital)
20180227 131430 worker: MPD volume control (disabled)
20180227 131430 worker: Hdwr volume controller not detected
20180227 131430 worker: - Services
20180227 131432 worker: MPD started
20180227 131432 worker: MPD scheduler policy (time-share)
20180227 131432 worker: MPD output 1 ALSA default (on)
20180227 131432 worker: MPD output 2 ALSA crossfeed (off)
20180227 131432 worker: MPD output 3 ALSA parametric eq (off)
20180227 131432 worker: MPD output 4 ALSA graphic eq (off)
20180227 131432 worker: MPD crossfade (off)
20180227 131432 worker: Airplay receiver started
20180227 131432 worker: Airplay volume mgt (auto)
20180227 131432 worker: - Last
20180227 131432 worker: USB sources (none attached)
20180227 131432 worker: NAS sources (mountall initiated)
20180227 131436 worker: Volume level (0) restored
20180227 131436 worker: Maintenance interval (21600)
20180227 131436 worker: Watchdog started
20180227 131436 worker: Ready
20180227 194211 worker: Maintenance completed
20180228 014300 worker: Maintenance completed
20180228 074349 worker: Maintenance completed
20180228 134438 worker: Maintenance completed
20180228 194528 worker: Maintenance completed
 
Hi @ICLIP,

I don't see anything suspicious in System info.

I actually develop and test moOde using Mac OS X, IOS, Safari, iPhone, iPad mini and also a locally attached Pi Touch. I have one Pi on Ethernet, 4 Pi's on WiFi using Edimax adapters and a Pi-0W on WiFi using its internal adapter. I'm not experiencing any UI response issues.

-Tim
 
Hi,

I decided to test the 4.14.22 kernel fixes to 24 bit audio with a Kali Reclocker in the audio chain and I'm getting white noise at 24 bits :-0

Here are the the tests:

Kernel 4.14.22
- Piano + Kali = white noise at 24 bits
- Piano w/o Kali = OK all bit depths
- Other HAT DAC's w/o Kali = OK all bit depths

Kernel 4.9.80
- OK all bit depths with or w/o Kali

What I'd like to do is see if someone with a Kali+Piano 2.1 DAC can repro the white noise issue. Just send me an email and I can provide the steps to setup the repro.

If the issue is reproducable then I can forward to Allo for analysis.

-Tim

Hi,

Thanks to @jonners we have a successful repro 🙂

Looks like there is a compatibility issue between 24 bit output from new 4.14.22 kernel and Kali reclocker.

-Tim
 
Hi,

Thanks to @jonners we have a successful repro 🙂

Looks like there is a compatibility issue between 24 bit output from new 4.14.22 kernel and Kali reclocker.

-Tim

Possibly a clock frequency incompatibility at 24 bit and not an issue at 32 bit. I believe I read there was some incompatibility with the Hifiberry DAC+ Pro at 24 bit which also has its own master clocks.

EDIT: Looking at properly fix S24_LE mode with pcm512x codec by HiassofT * Pull Request #2365 * raspberrypi/linux * GitHub it appears the symptom for the clock incompatibility was "stuttering" not noise. HiassofT apparently modified the drivers for the DAC+ Pro and the Allo Boss to fallback to 32 bit.

Richard
 
Last edited:
Dunno, but we have repros that produces the same result using new 4.14.22 kernel on two different software versions w/ Kali in the audio chain. No issues with 4.9.80 kernel.

- moOde 4.0, MPD 0.20.12, Raspbian 9.1, Kali+Piano 2.1, 4.14.22 kernel
- moOde 4.1, MPD 0.20.18, Raspbian 9.3, Kali+Piano 2.1, 4.14.22 kernel

Its also same result when using Airplay set to output 24 bit. Thats a completely different player!

But it could be an issue with the 24-bit kernel fixes themselves. Maybe its too early to be deploying the 4.14.y kernels :-0

Either way, I forwarded the results to Allo so lets see what comes back.

-Tim
 
Hi,

I have problems with constantly rebooting raspberry pi 3 b if I do music scan or playing flac.
My power supply is 12v 500va.
Teddy pardo 5v 2A for raspberry.
Teddy pardo 5v 2A for alo isolator and hifiberry digi plus pro.
DDDAC 24 DACS
Edit : I have also 1000 gig ssd connected to the raspberry.

Regards,
Rudy

A Pi-3 requires 2.5A minimum. You have 2A maximum. That may be your problem....
Edit. Is your ssd powered from the Pi or independently.... if the former then you need a much heftier supply than you have currently.
 
Last edited:
That it fails during reads would point to the ssd drawing heavily.

Is the usb increased current switch in System configuration checked ?

Can you remove the ssd and try running with a simple usb flash drive containing some music files..?
 
Last edited:
Yes should be safe. This is one if the steps in the upcoming 4.0 --> 4.1 update. If you do it now then the update will take less time.

Just don't do apt-get dist-upgrade

Great to hear that. Noted I will not do get-get dist-upgrade.

Since the 4.1 is almost ready and Moode 4.0 is running fine, I will hold off the update for now and wait for 4.1 instead. It's ok if it take longer later.
 
Hi,

I have problems with constantly rebooting raspberry pi 3 b if I do music scan or playing flac.
My power supply is 12v 500va.
Teddy pardo 5v 2A for raspberry.
Teddy pardo 5v 2A for alo isolator and hifiberry digi plus pro.
DDDAC 24 DACS
Edit : I have also 1000 gig ssd connected to the raspberry.

Regards,
Rudy

Since you are obviously taking care about having clean power supplies it would make sense to power your ssd separately and to isolate it from the RPi supply. A powered hub such as this should do the job: 7 Port USB Hub for the Raspberry Pi - The Pi Hut
 
Tim. The UI design aesthetics in 4.0 is really awesome. Especially digging the playback window from a phone where the track progress bar is straight compared to the circular one on the desktop view. The fonts and the customisation options are really spot on. Thanks for the wonderful work.