ShiromMakkad / LedFx-balenaSound

LedFx and balenaSound With One Click!
4 stars 6 forks source link

Setting USB Soundcard as Default Input/Output? #6

Open qu4nt4r opened 1 year ago

qu4nt4r commented 1 year ago

First of all: Thanks for the port! First time I am testing LEDfx with BalenaOS, could be a fitting solution for larger installations in the future.

I am running it on a RP4, the USB Soundcard (Behringer UCA 222) is found as Card_2. Solutions to this question I found so far are kind of outdated (bluetooth-audio folder?), and after trying out blindly different similar (but not same approaches) I feel stuck. Also I dont know if there have been some mods or config changes in this repo so I am looking at the wrong direction. Before I start digging out logs I want to asked if there is a solution/guide that may help to get the external sound into LEDfx. It connects to the lights but the default and pulse input dont receive anything. Thanks! quan

ShiromMakkad commented 1 year ago

I haven't used this repo in a while, and I think I need to pull new changes from BalenaSound into here and test things out to get them working. Last time I used this, bluetooth,airplay, and Spotify worked out the box.

qu4nt4r commented 1 year ago

Just gave it another try with a fresh version in the RP4. Still cant get audio to ledfx with internal bt, 3,5 jack nor external USB soundcard. Audio source and added hardware definitely works. Errors I see:

audio E: [pulseaudio] backend-native.c: socket(SEQPACKET, SCO) Address family not supported by protocol

and ledfx ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory ledfx [ERROR ] ledfx.integrations.midi : Unable to enumerate midi devices: MidiInAlsa::initialize: error creating ALSA sequencer client object.