Audio Capture with QLC+ on R-Pi

All the topics related to QLC+ on the Raspberry Pi
Post Reply
chrisfger
Posts: 3
Joined: Sat Jan 30, 2021 6:08 pm
Real Name:

Dear all,

I'm currently moving my (lving room) DMX setup from a windows DMX software to a raspberry pi with QLC+ 4.12.3, for which I got the installation package via a donation.

Everything works like a charm, I just have the issue that I can't get the audio input working. My configuration is the following:
- Raspberry Pi 4 - 8GB
- USB sound card (I tried two, a cheap one from Amazon and a Behringer UCA)

The sound card is detected properly, and I can record audio e.g. with audacity, and I see an input with other qt software like pavucontrol-qt.

In QLC+, only "standard audio device" is shown, but not the USB sound card. I've seen screenshots in this forum where many ALSA devices were listed, but this is not the case for me. I also extensively search the forum and found some related topics but none brought me closer to a solution.

When I start qlc in debug mode, it dispays the following when I try to access the standard sound device:
Requested format not supported - trying to use nearest
using null input device, none available
Could not start input capture on device ""
[AudioCapture] Could not initialize audio capture, abandon

I also deactivated the internal sound card of the raspberry (to make the USB soundscard the standard device), but this also hasn't helped.

I started to look for an extermal sound-to-light script which forwards to qlc e.g. via OSC, but this would be a bit cumbersome.


In a nutshell: I tred lots of stuff, but nothing worked ;)


Does anybody have a hint if this issue can be solved? That would ne awsome. otherwise I'm kind of screwed because my lighting setup doesn work as ) need to ;)


Any hint is deeply appreciated! Thanks.


Cheers from Germany,

Chris
User avatar
mcallegari
Posts: 4830
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Hi, I have read that the latest RaspiOS release has reworked the audio infrastructure by adopting pulseaudio everywhere.
Maybe a 'apt distupgrade' of the QLC+ image can solve some audio issues? I haven't had the chance to test it myself yet.
I plan to do more audio tests at the next release.
chrisfger
Posts: 3
Joined: Sat Jan 30, 2021 6:08 pm
Real Name:

Thanks for this quick feedback!

I directly installied the deb package on an already running raspiOS system. After your message, I tried the QLD-image with another SD card, and here it finds the external soundcard just fine... So it must be something that happened with raspiOS after the last release.

I will keep poking around if I find a solution, and am still happy about any hint ;)
chrisfger
Posts: 3
Joined: Sat Jan 30, 2021 6:08 pm
Real Name:

Ok, I just figured it out:
A simple

Code: Select all

sudo apt install libqt5multimedia5-plugins
did it for me.

Maybe this is a missing dependency in the .deb file? But I don't know this, I've never worked with creating deb-files...


Thanks again for the feedback, the note with the hint that the sound-stuff has been changed made me install random sound-related packages andafter all the above one seems to have fixed it ;)
Post Reply