Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maximecb/pyopendmx
Python OpenDMX stage light control
https://github.com/maximecb/pyopendmx
audio beat-detection dmx-512 dmx-interface dmx512 enttec-opendmx ftdi opendmx stage-lighting
Last synced: 14 days ago
JSON representation
Python OpenDMX stage light control
- Host: GitHub
- URL: https://github.com/maximecb/pyopendmx
- Owner: maximecb
- License: mit
- Created: 2021-04-02T17:29:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T03:37:34.000Z (8 months ago)
- Last Synced: 2024-05-01T21:46:08.161Z (7 months ago)
- Topics: audio, beat-detection, dmx-512, dmx-interface, dmx512, enttec-opendmx, ftdi, opendmx, stage-lighting
- Language: Python
- Homepage:
- Size: 85.9 KB
- Stars: 11
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyopendmx
Music-reactive DMX experiment with an [ENTTEC OpenDMX](https://www.enttec.com/product/controls/dmx-usb-interfaces/open-dmx-usb/) (USB to DMX interface) using the pyftdi and aubio libraries. This code is designed to run on a Raspberry Pi 4 but will also run on more powerful x86 machines. I personally use an affordable (~$35) clone of the ENTTEC OpenDMX which I found on eBay, simply search
your favorite merchant website for "OpenDMX" to find options.# Installation
```
# On MacOS, install required libraries
brew install --build-from-source libusb# On Ubuntu or Raspbian, install required libraries
sudo apt-get install libportaudio2# Install required Python packages
pip3 install pyftdi numpy sounddevice aubio
```# Usage
The `dmx.py` source file contains reusable code to interface with DMX devices using an OpenDMX FTDI interface.
The `anim_beatdetect.py` script contains my own code to animate lights based on beat detection, which you can take inspiration from.