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

Raspbian, Kali, Piano 2.1, 384k/32bit, no sound
Raspbian, Kali, Piano 2.1, 384k/32bit, no sound
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 29th October 2017, 06:34 PM   #11
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by komerdoor View Post
Sorry for the late reaction. I was not able to get 32/384 working on stock debian/stretch. I think I am still missing some patches for linux and asound.

I am thinking about buying Moode, but does it have the following?

- Support for debian/stretch currently available.
- A non-realtime patched kernel so I can do multicore SOX resampling (there is actually no need for a RT kernel if not used for live audio as far as I know?).

I will then install kodi, brutefir (or is it already inside Moode?) and retroarch on it as well.

Update: Just read Moode will be fully open-sourced. Thank you! That means I can just install it upon my existing raspbian/stretch installation. I will donate instead.
Hi,

Yep, FOSS all the way, but I'm not going to be releasing pre-made images (distribution) anymore due to the workload involved in keeping GPL compliance up to scratch. Releases will consist of moOde application Sources + Build Recipe for creating your own image. If you have decent Linux skills, the recipe should be straight forward. Pre-made distribution images may become available if/when other distributions for example DietPi, LibreELEC etc integrate moOde into their distros. I'm on-board to help with integration, of course

The upcoming moOde 4 release was developed on 2017-09-07 Streatch Lite. Its definitely NOT going to work on Jessie, but probably will work on earlier release of Stretch Lite. Don't know whether it will work on Full Stretch. YMMV.

2017-09-07 Stretch Lite ships with .41 mainline Linux kernel which supports 32/384K rate.
http://downloads.raspberrypi.org/ras...retch-lite.zip

Your gesture to offer a donation as appreciation for the work is greatly ppreciated :-)

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 29th October 2017, 07:20 PM   #12
komerdoor is offline komerdoor  Netherlands
diyAudio Member
 
Join Date: Sep 2017
Location: Amsterdam
No problem.

I am using Raspbian/Stretch lite. I tried the 4.9.41-moode1 kernel + modules and the latest allo firmware, but 32/384k still does not work. The song plays without any sound coming from the speakers. I suspect this could have something to do with the Kali or Raspberry PI. Not sure. I read somewhere about RPi 2 not supporting 32/384k. Could that be the reason?

Can I download an image of Moode somewhere that is known to work with Piano 2.1+Kali and 32/384k?
  Reply With Quote
Old 29th October 2017, 07:37 PM   #13
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by komerdoor View Post
No problem.

I am using Raspbian/Stretch lite. I tried the 4.9.41-moode1 kernel + modules and the latest allo firmware, but 32/384k still does not work. The song plays without any sound coming from the speakers. I suspect this could have something to do with the Kali or Raspberry PI. Not sure. I read somewhere about RPi 2 not supporting 32/384k. Could that be the reason?

Can I download an image of Moode somewhere that is known to work with Piano 2.1+Kali and 32/384k?
Sound like there may a rock somewhere in your config. If you have another audio app running that hogs ALSA output then you won't have any sound from MPD.

The 2B is fine, even the 1B ok with 32/384K.

You will have to wait for moOde 4. I'm planning to get the development version and Build Recipe up ASAP so please be patient :-)

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 29th October 2017, 07:51 PM   #14
komerdoor is offline komerdoor  Netherlands
diyAudio Member
 
Join Date: Sep 2017
Location: Amsterdam
Quote:
Originally Posted by TimCurtis View Post
Sound like there may a rock somewhere in your config. If you have another audio app running that hogs ALSA output then you won't have any sound from MPD.

The 2B is fine, even the 1B ok with 32/384K.

You will have to wait for moOde 4. I'm planning to get the development version and Build Recipe up ASAP so please be patient :-)

-Tim
Thank you. I will wait for moOde 4 then. Already have my crosstool-ng and raspberry pi toolkit ready.
  Reply With Quote
Old 2nd November 2017, 08:43 PM   #15
komerdoor is offline komerdoor  Netherlands
diyAudio Member
 
Join Date: Sep 2017
Location: Amsterdam
Quote:
Originally Posted by TimCurtis View Post
Sound like there may a rock somewhere in your config. If you have another audio app running that hogs ALSA output then you won't have any sound from MPD.

The 2B is fine, even the 1B ok with 32/384K.

You will have to wait for moOde 4. I'm planning to get the development version and Build Recipe up ASAP so please be patient :-)

-Tim
Thank you for open-sourcing Moode and the nice web GUI.

I installed Moode 4.0, but still no sound when playing at 32/384K. I now suspect something is wrong with my Kali Reclocker and that I should contact Allo.

What it currently looks like:

Kernel: 4.9.59-v7+

Userland: Debian/Stretch (from lite image)

Kernel log: [ 0.000000] Booting Linux on physical CPU 0xf00 [ 0.000000] Linux version - Pastebin.com

moode.log:
Code:
20171102 202553 worker: - Start
20171102 202554 worker: Successfully daemonized
20171102 202554 worker: - Init
20171102 202554 worker: Session loaded
20171102 202554 worker: Debug logging (off)
20171102 202558 worker: Host (htpc-1087)
20171102 202558 worker: Hdwr (Pi-2B 1GB v1.1)
20171102 202558 worker: Arch (armv7l)
20171102 202558 worker: Kver (4.9.59-v7+)
20171102 202558 worker: Ktyp (Standard)
20171102 202558 worker: Gov  (performance)
20171102 202558 worker: OS   (moodeOS deprecated)
20171102 202558 worker: Rel  (Moode 4.0 2017-MM-DD)
20171102 202558 worker: Upd  (None)
20171102 202558 worker: MPD  (0.20.11)
20171102 202558 worker: USB boot not enabled yet
20171102 202558 worker: File system expanded
20171102 202559 worker: HDMI port on
20171102 202559 worker: File check ok
20171102 202559 worker: - Network
20171102 202600 worker: eth0 exists
20171102 202600 worker: eth0 (192.168.170.150)
20171102 202600 worker: wlan0 does not exist
20171102 202600 worker: - Audio
20171102 202600 worker: ALSA outputs unmuted
20171102 202600 worker: Audio output (I2S audio device)
20171102 202600 worker: Audio device (Allo Piano 2.1 Hi-Fi DAC)
20171102 202601 worker: ALSA mixer name (Master)
20171102 202601 worker: MPD volume control (software)
20171102 202601 worker: Hdwr volume controller exists
20171102 202601 worker: Chip options applied (Burr Brown PCM5142)
20171102 202601 worker: Piano output mode (Dual-Mono)
20171102 202606 worker: Piano 2.1 initialized
20171102 202606 worker: - Services
20171102 202611 worker: MPD started
20171102 202611 worker: MPD scheduler policy (time-share)
20171102 202611 worker: MPD output 1 alsa (on)
20171102 202611 worker: 
20171102 202611 worker: 
20171102 202611 worker: 
20171102 202611 worker: MPD crossfade (off)
20171102 202611 worker: - Last
20171102 202611 worker: USB sources (none attached)
20171102 202611 worker: NAS sources (none configured)
20171102 202612 worker: Volume level (1) restored
20171102 202612 worker: Watchdog started
20171102 202612 worker: Ready
20171102 202835 worker: Job mpdcfg
mpd.conf:
Code:
#########################################
# This file is automatically generated by
# the player MPD configuration page.     
#########################################

music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/database"
log_file "/var/log/mpd/log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
group "audio"
bind_to_address "any"
port "6600"
log_level "default"
restore_paused "yes"
auto_update "no"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "no"
zeroconf_name "Moode MPD"
mixer_type "software"
audio_output_format "384000:32:2"
gapless_mp3_playback "yes"
replaygain "track"
volume_normalization "no"
audio_buffer_size "4096"
buffer_before_play "10%"
max_output_buffer_size "81920"
id3v1_encoding "UTF-8"
filesystem_charset "UTF-8"
max_connections "20"

decoder {
plugin "ffmpeg"
enabled "yes"
}

input {
plugin "curl"
}

resampler {
plugin "soxr"
quality "very high"
threads "0"
}

audio_output {
type "alsa"
name "ALSA default"
device "hw:0,0"
dsd_usb "no"
}

audio_output {
type "alsa"
name "ALSA crossfeed"
device "crossfeed"
dsd_usb "no"
}

audio_output {
type "alsa"
name "ALSA parametric eq"
device "eqfa4p"
dsd_usb "no"
}

audio_output {
type "alsa"
name "ALSA graphic eq"
device "alsaequal"
dsd_usb "no"
}
config.txt:
Code:
gpu_mem=256

boot_delay=1

# KEEP AT 0
force_turbo=0

temp_limit=75

over_voltage=4
max_usb_current=0

arm_freq=1000

core_freq=500
sdram_freq=500

initial_turbo=30

arm_freq_min=400
core_freq_min=200
sdram_freq_min=200

disable_splash=1

disable_overscan=1

hdmi_ignore_cec_init=1

# decode_DTS=0x00000000
# decode_DDP=0x00000000

dtoverlay=allo-piano-dac-plus-pcm512x-audio,glb_mclk
#dtoverlay=allo-piano-dac-plus-pcm512x-audio

#disable_audio_dither=1
#audio_pwm_mode=2

#hdmi_force_edid_audio=1
#hdmi_group=1
#hdmi_mode=16

dtparam=i2c_arm=on
dtparam=audio=off
dtparam=i2s=on
cat /proc/asound/card*/pcm0p/sub0/hw_params (while playing a song):
Code:
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 384000 (384000/1)
period_size: 16384
buffer_size: 65536
alsacap:
Code:
*** Scanning for playback devices ***
Card 0, ID `PianoDACPlus', name `PianoDACPlus'
  Device 0, ID `PianoDACPlus multicodec-0', name `', 1 subdevices (1 available)
    2 channels, sampling rate 8000..384000 Hz
    Sample formats: S16_LE, S24_LE, S32_LE
      Subdevice 0, name `subdevice #0'
  Reply With Quote
Old 2nd November 2017, 08:50 PM   #16
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Hi @komerdoor,

Based on log it looks like a config issue

20171102 202611 worker: MPD output 1 alsa (on)
20171102 202611 worker:
20171102 202611 worker:
20171102 202611 worker:

should be

20171102 081330 worker: MPD output 1 ALSA default (on)
20171102 081330 worker: MPD output 2 ALSA crossfeed (off)
20171102 081330 worker: MPD output 3 ALSA parametric eq (off)
20171102 081330 worker: MPD output 4 ALSA graphic eq (off)

Check /var/log/mpd/log

Also the cmd: mpc outputs

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio

Last edited by TimCurtis; 2nd November 2017 at 08:52 PM. Reason: eta
  Reply With Quote
Old 2nd November 2017, 10:29 PM   #17
komerdoor is offline komerdoor  Netherlands
diyAudio Member
 
Join Date: Sep 2017
Location: Amsterdam
Quote:
Originally Posted by TimCurtis View Post
Hi @komerdoor,

Based on log it looks like a config issue

20171102 202611 worker: MPD output 1 alsa (on)
20171102 202611 worker:
20171102 202611 worker:
20171102 202611 worker:

should be

20171102 081330 worker: MPD output 1 ALSA default (on)
20171102 081330 worker: MPD output 2 ALSA crossfeed (off)
20171102 081330 worker: MPD output 3 ALSA parametric eq (off)
20171102 081330 worker: MPD output 4 ALSA graphic eq (off)

Check /var/log/mpd/log

Also the cmd: mpc outputs

-Tim
Yes I know. I only use a single "alsa" output which is working for all bitrates / bits except 32/384k. It plays, so the ALSA part seems to be working, but no sound.

I will contact Allo about this issue. I read the old Kali FPGA program did not support 32/384k showing the same behaviour as I am having, playing but no sound.
  Reply With Quote
Old 2nd November 2017, 11:05 PM   #18
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Ok, got it. Sounds like the Kali revision then.

U mentioned SoX multi-threading in an earlier post. It can be enabled in MPD settings screen :-)

-Tim
__________________
Enjoy the Music!
http://moodeaudio.org, http://twitter.com/MoodeAudio
  Reply With Quote
Old 30th November 2017, 01:13 AM   #19
komerdoor is offline komerdoor  Netherlands
diyAudio Member
 
Join Date: Sep 2017
Location: Amsterdam
It was indeed the Kali revision. They replaced it for me and it now works fine.
  Reply With Quote

Reply


Raspbian, Kali, Piano 2.1, 384k/32bit, no soundHide 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
New Async XMOS 384K/32bit with PCM5102 DAC on ebay luxury54 Digital Line Level 132 22nd July 2017 06:17 PM
DIY 32BIT-384K USBDAC CM6631A+AKM4490 ljm_ljm Vendor's Bazaar 0 22nd May 2017 02:58 PM
XMOS ES9023 Asynchronous DAC Decoder USB to Optical Coaxial 384K 32Bit Weiliang Bgt Digital Source 15 22nd February 2016 07:15 PM
Leaf Audio XMOS 384k 32bit DAC: PCM5102, TDA1308, PE-65x12 AudioLapDance Digital Source 14 2nd November 2014 08:30 PM
Best speaker to reproduce piano sound? sprinter Instruments and Amps 146 3rd May 2011 02:06 AM


New To Site? Need Help?

All times are GMT. The time now is 02:37 PM.


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