Hello - I'm trying to play high resolution music through the new Digi+ but can't get anything above 48 kHz to play smoothly. I'm using a fresh raspbian image and MPD for playback.
Any ideas how to solve this or is this normal?
Date
Votes
25 comments
-
HiFiBerry team Hi Chris,
what DAC are you using? Not every DAC supports sample rates above 48kHz. Do you use the optical or the electrical interface?
Best regards
Daniel -
Chris Connaker I'm using a Benchmark DAC2 D. This DAC supports up through 192 kHz on it coaxial inputs. I am using the coaxial output of the Digi+. -
HiFiBerry team Hi Chris,
this should work then. What do you mean with "smoothly". We have seen that some setups can't read the data fast enough. Can you try Volumio or RuneAudio. Both are also mpd-based and work well also with 192kHz FLAC file. Or are you using WAV files? The IO bandwidth in the Raspberry is quite limited, using an uncompressed 192kHz sound format might also give problems.
Best regards
Daniel -
Chris Connaker Hi Daniel - By "smoothly" I mean without pops, ticks, and hiccups. I will give Volumio a try.
My files are completely uncompressed FLAC.
I'll let you know how my Volumio tests turn out. -
Chris Connaker I installed Volumio and updated everything. I can play 44.1 and 48 kHz music just fine. When I try 192 kHz I hear nothing but pops and ticks. When I play 96 kHz music it plays at double the speed. In other words the songs play way too fast. -
Chris Connaker I just tested my Volumio install using USB audio output and it works great up through 24/192 music. Switching back to the Digi+ I'm still limited to 44.1 or 48 kHz music. -
HiFiBerry team Hi Chris,
this can be an incompatibility between the Digi and your DAC. Can you try the optical output?
Best regards
Daniel -
Chris Connaker I just switched to a completely different DAC and tried the coaxial and optical outputs of the Digi+. The problem remains the same.
I've tried two different cables, two different Digi+ boards, and two different Raspberry Pi boards. -
HiFiBerry team Hi Chris,
that is special. We never heard about a problem like this. Let's try to investigate this further. Do you have a plain Raspbian installation available (Volumio is also good) and can run some commands on it? I would like to play a simple sine wave using sox.sudo apt-get install sox
play -r 96000 -n synth 60 sine 1000
Does this work without problems? -
Chris Connaker Hi Daniel - Yes the sine wave worked perfect. -
HiFiBerry team Hi Chris,
in this case it must be some kind of software issue. Where do you store the FLAC file?
BTW: You can still tryplay -r 192000 -n synth 60 sine 100
to check if 192kHz work without problems.
Best regards
Daniel -
Chris Connaker I tried all the sample rates using the Sox program and Sine wave and all work just fine.
I have tried both Wav and FLAC files stored on a NAS and stored locally on a Class 10 microSD card. -
HiFiBerry team Hi Chris,
unfortunately I don't have any ideas what could be the problem here. Many people including myself use 192kHz FLAC files without any problems and the hardware itself and the driver seem to work without problems.
Can you try playing the file with "mplayer"?
Does some of our readers have an idea here?
Best regards
Daniel -
Chris Connaker This is really weird. I just tried mplayer and it works. I used this command to play a 24/192 track.mplayer -ao alsa /var/lib/mpd/music/04-Breakdown.wav
I wonder why MPD isn't working. -
HiFiBerry team Hi Chris,
do you have upsampling or any kind of sample rate conversion actived in mpd?
Best regards
Daniel -
Chris Connaker No, I am outputting bit perfect to my DACs. The DAC I'm using now displays the sample rate and if there is a lock between the Digi+ and the DAC. -
HiFiBerry team Hmm, I have no idea what could be the problem with mpd.
Maybe one of our readers have seen something like this before? -
Vivek Subramanian I'm having the same issue. I use a Schiit Bifrost DAC and 96/48 FLAC files click rapidly and play at double speed when played using MPD. The DAC isn't losing lock.
My mpd.conf contains:
audio_output {
enables "yes"
type "alsa"
name "HiFiBerry"
device "hw:0,0"
dsd_usb "yes"
}
Obviously, I could downsample using "format "44100:16:2" ", but I would prefer to avoid this.
Do you have any suggestions? -
oaks70 same issue here.
there are others with the same problem. we did already discuss it on volumio forum and i tried to get an answer from raspberrypi.org without success..
it seems to be a problem with the b+ rather than the digi+, because, while waiting for delivery of the digi+ i was using a usb dac with optical output and had the exact same issue.
the same usb dac hooked up to an "old" raspberry b works flawlessly (exact same configuration, raspbian and firmware version).
lets hope someone is able to find out what is wrong.
bye,
oskar -
oaks70 hm, links to the forum posts have been stripped.. here they are:
volumio forum: h++p://volumio.org/forum/#p6886
raspberrypi.org: h++p://www.raspberrypi.org/forums/viewtopic.php?f=28&t=86983 -
olefrankjensen I have the same problem. When playing mp3 and flac 44.1 kHz it's good. When playing high res, the playback speed is reduced.
Did you find a solution yet?
Setup:
RPi B+
Digi+
Benchmark DAC1
Raspbmbc (newest) -
-
oaks70 still having problems with links... h++p://volumio.org/forum/volumio-for-raspberry-feedback-thread-t1933-40.html -
HiFiBerry team We will also have a look into this. What is the kernel version of the kernel with the problem?
Best regards
Daniel -
oaks70 hi daniel,
seems to be everything above version 3.12.26 (up to the latest available through rpi-update).
a kernel downgrade to 3.12.26 as instructed here did solve the problem for me!
h++p://volumio.org/forum/testing-needed-for-i2s-dacs-t1958.htmlsudo apt-get update
sudo apt-get install binutils
sudo rpi-update e38850519c56b835dbd1c81e04d9307e154c36ed
sudo reboot
tschüss,
oskar
Please sign in to leave a comment.