Curious, recent versions of Raspbian should have "CD quality" audio on analog out since "audio_pwm_mode=2" became a standard setting in config.txt
epoch1970 wrote: ↑Wed Mar 27, 2019 5:48 pmCurious, recent versions of Raspbian should have "CD quality" audio on analog out since "audio_pwm_mode=2" became a standard setting in config.txt
Otherwise, and not speaking about the Berhinger device specifically, a USB link is more likely to cause issues than i2s.
Did you test under Raspbian or a specialized audio distro built for 3B+ to confirm the issue?
I tested raspbian. I played an mp3 file on mpv with the following lines in /boot/config.txt.epoch1970 wrote: ↑Wed Mar 27, 2019 7:14 pmDid you test under Raspbian or a specialized audio distro built for 3B+ to confirm the issue?
Audio rendering is sensitive to a lot of parameters, firmware, kernel, software...
I do not have a 3B+. But I can assure you the analog audio output is excellent on 3B. The built-in audio driver also has a mixer so it supports concurrent access by multiple applications.
A hardware mixer is something you might find in an USB device (not cheap ones) and that you will not find in i2s devices. With most of these you'd have to setup your own alsa software mixer, which is not only difficult, but also has its contraints wrt. audio formats.
I would suggest not dismissing the 3B's built-in audio before you've explored it thoroughly. It is very good.
EDIT: you posted while I was doing the same. Glad you found an improvement. I'm leaving the above for future doubters that might read this thread.
Code: Select all
audio_pwm_mode=2 disable_audio_dither=1 pwm_sample_bits=16