Closed Xitee1 closed 1 year ago
I have changed debug from info to warning and now there is an error in the console:
Jun 06 17:33:47 MLSC python3[2058]: ERROR - libs.audio_process_service - Could not init AudioService.
Jun 06 17:33:47 MLSC python3[2058]: ERROR - libs.audio_process_service - Unexpected error in init_audio_service: [Errno -9993] Illegal combination of I/O devices
Jun 06 17:33:47 MLSC python3[2058]: Traceback (most recent call last):
Jun 06 17:33:47 MLSC python3[2058]: File "/share/music_led_strip_control/server/libs/audio_process_service.py", line 128, in init_audio_service
Jun 06 17:33:47 MLSC python3[2058]: self.stream = self._py_audio.open(
Jun 06 17:33:47 MLSC python3[2058]: File "/usr/local/lib/python3.9/dist-packages/pyaudio.py", line 750, in open
Jun 06 17:33:47 MLSC python3[2058]: stream = Stream(self, *args, **kwargs)
Jun 06 17:33:47 MLSC python3[2058]: File "/usr/local/lib/python3.9/dist-packages/pyaudio.py", line 441, in __init__
Jun 06 17:33:47 MLSC python3[2058]: self._stream = pa.open(**arguments)
Jun 06 17:33:47 MLSC python3[2058]: OSError: [Errno -9993] Illegal combination of I/O devices
Hi,
looks like an issue with pyaudio and your music/input source. Does this error occurs, if you use the default device?
Yes, it also occurs if I use the default device. But I have just bought me a USB sound card and an aux splitter for the music input. It's better anyways because there is less delay.
i have the same problem ( with the pi3) i try to config a virtual mic at the moment , unfortunately unsuccessful so far
Yes, virtual mics are hard to config and buggy at the moment. At the moment I could not find a solution for virtual mics.
I have installed MLSC on my Raspberry Pi with this https://github.com/nicokaiser/rpi-audio-receiver programm so I can send the data with Bluetooth to the RPi. I have selected the "microphone" (BL audio). I have a ESP8266 with WLED connected with MLSC which is working just fine with the Non-Music effects. However if I want a Music-Effect the connection to WLED times out (I think - the light pauses and stays on for a few seconds until it goes off and WLED is no longer saying that it is used through the API). Can anyone help me?