Hi everyone,
this is a minor update in terms of feature but it contains one that has been requested by many who simply wants to try out Elk Audio OS without having an Elk Pi shield.
We added support for a series of HiFiBerry audio hats for both Raspberry Pi 3 & 4. So now you can get started using Elk Audio OS in a very inexpensive way.
As usual, download links and instructions are on Github:
Let us know if you have any issues, we’ll be glad to answer any question.
I have already bought HifiBerry and tried to test it.
It works well with Raspbian Buster but with a high latency (I have more than 10 ms on alsa loopback). I was counting on your elkpi system, but I haven’t been able to boot properly it so far.
I have RasperryPi 3B (v1.2 2015) with HifiBerry DAC+ ADC HW 1.2.
I flashed elkpi-audio-os-image-raspberrypi3-v0.7.2.wic on a fast SD card (I have check archive integrity and tested boot on 2 cards). After power on there are logs on screen (including “No ethernet found”) but the last log is “Starting kernel …”. After few seconds there is black screen and no signal on hdmi (display goes to sleep). I waited about 10 min - no changes. I also tried version 0.7.1 (so I can upgrade it in future to 0.7.2) but the result with 0.7.1 is the same “Starting kernel …”. I hope to test it with newer hardware but I don’t have RasperryPi 4 to test the other release version right now.
Can you help me with this? Is there any version with verbose logging at boot etc.
Hi,
We haven’t tested with RPI3B the latest v0.7.2 release but having said that it should have worked.
You can try to flash the image again and try.
Can you please send a picture of the log messages that you see on your screen ?
All the messages that you see before “Starting kernel …”
Thanks.
I have already tried to run OS with 2 different SD cards (I downloaded file twice) and the result is the same. I only wonder if my old rasp is still 100% functional (it is 2 years old and worked as Raspbian/OSMC/Kodi).
The starting boot log looks like this:
Hello, I’m considering getting a HifiBerry DAC+ ADC Pro for experimenting meanwhile you restock Elk Pi. I’m trying to find latency info specially roundtrip. I know Elk Pi claims 1ms. What about Hifiberry? I’ll be using Hifiberry DAC+ ADC Pro with a Raspberry PI 4B 2GB.
Best
Alex
I’ve measured the roundtrip on the DAC Pro (audio in → audio out) to be 2ms when using a buffer of 16, so the 1ms claims which I believe is only one way hold up pretty nicely
It appears there’s no versions with a buffer of 8 available, which would shave off some ms fractions.
But it wouldn’t make a hughe difference anyway, so I’m satisfied.
Below is a sine wave burst measured going into the DAC Pro and coming out again. The plugin in use is the standard “no action” plugin that comes with ELK OS - don’t remember the name, but it just takes any input and routes it to the output.
Hi,
currently the HiFiBerry is configured with the ADC / DAC in high-quality mode and they add c.a. 1.3ms of latency (roundtrip).
In the next release we’ll have an option for the low-latency configuration of the codec bringing it down to 0.7ms, so you’ll be able to have a minimum analog-to-analog latency of (2 * 16) / 48000 + 0.7e-3 = 1.36ms.
On other systems we can go down to 8 samples buffer size but not on the Pi with direct codec access due to some internal FIFOs on the Broadcom SOC.
As fa as I recall from another post there’s an additional 4 samples to be added to the buffer size due to some internal book keeping?
Not that it matters a lot in the big picture…
Now I struggle with my raspberry touchscreen (I want to launch sushi or other VST plugin at startup with GUI in order to play with my MIDI keyboard immediately)…
I’m running the ELK Audio 0.7.2 image on RPi 4B with 2GB RAM and a HiFiBerry ADC DAC+ Pro. Everything works fine in Raspbian, but ELK doesn’t seem to recognize the HAT.
I followedthese instructions and rebooted, but running “aplay -l” gives me:
elk-pi:~$ aplay -l
aplay: device_list:272: no soundcards found...
dmesg shows the following so it seems like it took the config: