scottlawsonbc / audio-reactive-led-strip

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
2.67k stars 642 forks source link

Can't start visualization on MacOS with Loopback #311

Closed aluchianic closed 3 years ago

aluchianic commented 3 years ago

System: MacOs Big Sur NodeMCU v3 Led-strip WS2812 Loopback

Hey there, trying to use your library but when i trying to start python3 python/visualization.py i get following error and GUI doesn't starts:

Screenshot 2020-12-19 at 18 33 40

on screenshot command is python3 python/visualization.py but i getting same error with python3 python/visualization.py /tmp

seems that your lib can't find Virtual Audio Input of Loopback (i were getting same error when just installed all python dependencies and tried to run python3 python/visualization.py without Loopback setup). Didn't found any issues like mine, any advice please.

Screenshot 2020-12-19 at 18 40 06 Screenshot 2020-12-19 at 18 34 56 Screenshot 2020-12-19 at 18 35 04
osbash commented 3 years ago

I had a similar issue, something to do with Big Sur.

Run these: brew uninstall portaudio brew install portaudio --HEAD

Should fix it

aluchianic commented 3 years ago

@osbash yeah, reinstalling portaudio helped