Skip to content

rohankulkz/bluetooth_light_system

Repository files navigation

🎧 Bluetooth Lighting + Audio Reactive System

This system connects to any Bluetooth lighting device with a "QHM-" prefix in its Bluetooth name and runs on macOS. Is fully live and works very well with DJing too!

Demo Video (sorry about low volume...)

Watch the video

Here are the lights I used:

https://amzn.to/3Zw2HxQ or https://amzn.to/4dAwhrN

Support for Windows and Linux is coming soon!

🚀 Setup Instructions

1. Install BlackHole

Install the 2-channel virtual audio driver using Homebrew:

brew install blackhole-2ch

This enables audio loopback, allowing your system audio to be captured and analyzed in real-time.

2. Install Python Dependencies and Download Source Code

Download the repository (code) to your computer

Make sure you have Python 3.8+ installed, then install the required packages:

pip install bleak
pip install numpy
pip install matplotlib
pip install sounddevice

3. Configure Audio Output (macOS Only)

To route system audio through BlackHole and still hear it through your speakers or headphones:

  1. Open Audio MIDI Setup (found in /Applications/Utilities/)
  2. Click the + button and choose "Create Multi-Output Device"
  3. In the right panel, check:
    • BlackHole 2ch
    • ✅ Your actual output device (e.g., MacBook Speakers, Headphones, etc.)
  4. Set the Multi-Output Device as the system output in System Settings > Sound

Run visualizer.py and you’re now ready to use the system! It will listen to your music and react with lights accordingly 🎵💡

Thank You

Special thanks to Akashcraft for reverse engieering the bluetooth protocol for these type of lights. Your contributions helped light the way — literally.

About

LED lights sync up to music to produce an immersive experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages