LedFx is a network based LED effect controller with support for advanced real-time audio effects! LedFx can control multiple devices and works great with cheap ESP8266 nodes allowing for cost effectvice syncronized effects across your entire house!
Background
LEDfx has been running well on PC for a few days. I use Windows 10, with environment created with anaconda. Input source is Stereo Mix.
Recently, I had to fiddle around with the windows sound settings, during which I disabled and re-enabled Stereo Mix while ledfx was not running.
Since then I am not able to start ledfx normally.
Scenario 1: If I run ledfx -vv it runs ok (although I have to change the input device from Microphone to Stereo Mix everytime). Runningledfx -v(single v) exits with the error in Scenario 2.
Scenario 2:ledfx --open-ui OR ledfx OR ledfx -v
LEDfx closed after error:
Traceback (most recent call last):
File "c:\users\prana\anaconda3\envs\ledfx\lib\site-packages\ledfx\effects\audio.py", line 142, in _audio_sample_callback
self._invoke_callbacks()
File "c:\users\prana\anaconda3\envs\ledfx\lib\site-packages\ledfx\effects\audio.py", line 149, in _invoke_callbacks
Stopping LedFx.
callback()
File "c:\users\prana\anaconda3\envs\ledfx\lib\site-packages\ledfx\effects\audio.py", line 512, in _audio_data_updated
[2020-04-13 10:12:59] INFO:ledfx.effects.audio:Deactivating AudioReactiveEffect.
self.audio_data_updated(self.audio)
File "c:\users\prana\anaconda3\envs\ledfx\lib\site-packages\ledfx\effects\pitchSpectrum(Reactive).py", line 35, in audio_data_updated
midi_value = self.pitch_o(data.audio_sample())[0]
ValueError: can only accept vector of float as input
[2020-04-13 10:12:59] INFO:ledfx.effects.audio:Audio source closed.
Background LEDfx has been running well on PC for a few days. I use Windows 10, with environment created with anaconda. Input source is Stereo Mix.
Recently, I had to fiddle around with the windows sound settings, during which I disabled and re-enabled Stereo Mix while ledfx was not running. Since then I am not able to start ledfx normally.
Scenario 1: If I run
ledfx -vv
it runs ok (although I have to change the input device from Microphone to Stereo Mix everytime). Runningledfx -v
(single v) exits with the error in Scenario 2.Scenario 2:
ledfx --open-ui
ORledfx
ORledfx -v
LEDfx closed after error: