2018-08-23, 21:49
(2018-08-21, 23:36)Milhouse Wrote:(2018-08-21, 01:24)komerdoor Wrote: I solved it by adding some amixer commands to autostart.sh. The Allo firmware was also missing but I added a command to autostart.sh to copy them to /lib/firmware
Care to share? What commands, what firmware (link?)?
The firmware for Allo's Piano 2.1, 2.1-mode can be found at:
https://github.com/allocom/piano-firmware
My settings for the Piano 2.1 are as follows (the Dual-Mono-mode does not require the above firmware):
bash:
# Added simple test to detect if the Piano 2.1 is used
if grep -q PianoDACPlus /proc/asound/cards; then
amixer sset "Subwoofer" 207
amixer sset "Master" 207
amixer sset "Digital" 207
amixer sset "Dual Mode" "Dual-Mono"
fi
The above are also the default settings as mentioned in the Allo Piano 2.1 documentation:
https://www.amazon.com/clouddrive/share/..._link_copy
Somehow those default settings are not used in LibreELEC (I think wrongly set by the default start script as mentioned by HiassofT). When using Raspbian there is no need to run the above commands at all to get the default settings.
People that have the Piano 2.1 should add the following to their config.txt:
dtoverlay=allo-piano-dac-plus-pcm512x-audio
People that have the Piano 2.1 + Kali Reclocker should add the following to their config.txt:
dtoverlay=allo-piano-dac-plus-pcm512x-audio,glb_mclk
Note: With the recent Linux kernels the Kali Reclocker sometimes outputs noise. This is solved by forcing the output to 16 or 32bit:
https://volumio.org/forum/kali-reclocker...t9828.html
Note 2: The Kali Reclocker adds a delay to the sound that is different depending on the played audio/video. I found a solution (just as a reference for people that find this post):
http://www.diyaudio.com/forums/pc-based/...ssues.html
(2018-08-19, 11:17)HiassofT Wrote:(2018-08-18, 11:46)komerdoor Wrote: A suggestion: by default when using some of the RPi DSP boards the volume is set to > 255. This will cause distortion. I think it is better to set the volume on all channel on 255 by default, but not higher.Please tell us which card you are using and which mixer control should be adjusted.
Post the output of
Code:aplay -l
amixer
I noticed that the script to initialize the audio card mixers sets a lot of controls to 100% instead of 0dB - which can result in clipping if the maximum value is greater than 0dB.
https://github.com/LibreELEC/LibreELEC.t...oundconfig
so long,
Hias
The
aplay -l
output: Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PianoDACPlus [PianoDACPlus], device 0: PianoDACPlus multicodec-0
Subdevices: 1/1
Subdevice #0: subdevice #0
The
amixer
output:https://pastebin.com/3ULFyy4d