-
Notifications
You must be signed in to change notification settings - Fork 20
Description
HoldCtrlAlt asked via Email:
Hello, I have an Ubuntu-24 Server running HQPlayer Embedded (HQPE) from Signalyst.com. I use the Dante Virtual Soundcard today on Windows and Mac. I am very interested to send music from HQPE via ALSA to the Inferno Virtual Soundcard (alsa_pcm_inferno) and then on to my Dante devices without having to send via a Mac or PC in the middle. Today I send from HQPE on the server via HQPE-NAA over the network to a Mac and then out through a Dante VSC to the Dante devices around the house.
I tried to make this work last weekend but had no joy. Inferno did not show up on ALSA lists on the server. Is this something that should work though?
Here is a list of what I managed.
• Rust installed
• Git cloned and cargo built the Inferno version of Statime
• Correct network interface set
• Ran sudo target/debug/statime -c inferno-ptpv1.toml
• Ran sudo systemctl stop systemd-timesyncd.service
• Git cloned recursively and cargo built Inferno
• Copied libasound_module_pcm_inferno.so from target/debug/ to /usr/lib/x86_64-linux-gnu/alsa-lib/
• Added Inferno pcm device to a new file called .asoundrc in ~/
Any help / pointers much appreciated. Do I need to start any applications or open a PCM stream some particular way?
Teodly Reponded via Email:
It depends on the application. The lines in .asoundrc:
hint {
show on
description "Inferno ALSA virtual device"
}
mean that the device should be visible in applications. Nevertheless, it is visible in Audacity, but aplay -L or Ardour does not show it.
Interestingly, Ardour shows only hardware interfaces, and aplay -L shows also null, pipewire and default devices, but not Inferno. Meaning that apps have different ways of enumerating devices.
If HQPlayer has a way of specifying custom device name, enter it here and it should work. If not, try to select other audio interface, stop HQPlayer, change hw:... device name in HQPlayer config (if it is editable, I don't have any experience with it) and start HQPlayer. There is also ALSA_OVERRIDE_PCM environmental variable.
Otherwise, we need to find a way of forcing the device to be displayed. It may be nearly impossible in some cases, e.g. if the app is scanning /proc/asound, then userspace devices won't be visible at all. You could study PulseAudio, PipeWire and JACK ALSA plugin configs to find what they do to make the device visible at least in some apps.
Also, verify that the plugin is correctly installed by running something simpler, e.g.
aplay -vvv -D inferno -r 48000 -f s32 -c 2 music.wav
The only daemon that must be running is the clock receiver (Statime or ptp4l).