not-matt / Systematic-LEDs

Audio reactive, all in one, room lighting for your computer.
MIT License
100 stars 35 forks source link

Audio setup on MAC (crashes)? #68

Closed Andriejus closed 5 years ago

Andriejus commented 5 years ago

Hello,

could someone explain how to setup audio on MAC? It works with microphone. But I dont know how to setup built-in input..:( I want my LEDS to react to music from my computer. If I try to use other input (picture attached) so it crashes and I get this error:

File "main.py", line 1263, in set_mic microphone.setDevice(mic_button_group.checkedId()) File "main.py", line 858, in setDevice self.device_id = self.devices[device_id]["index"] IndexError: list index out of range Abort trap: 6

screen shot 2019-02-01 at 11 13 01 pm

P.S. and I dont want to use Loopback, because its not free:)

david-bour commented 5 years ago

So I had a similar issue with indexing.

*Edit: See #71

GabeDahl commented 5 years ago

Look into something called Soundflower.

You can use this along with the Audio MIDI setup to loop your audio output back into the computer as an input.

Andriejus commented 5 years ago

Thank you. I used soundflower and now it works!:)