Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.42 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.42 KB

OP-1-Macropad

Use your OP-1 as a macropad using this python script.

Installation

At the core this program runs on Python3 and uses two libraries, RtMidi to interfaces with midi IO and Qt 5 which is a GUI framework.

pip install python-rtmidi
pip install PyQt5

The PHue library is used for Philips Hue integration. This can be disabled if you delete the PhilipsHueController class and remove it's use in the MainWindow class initializer. (This will be simplified later on)

Otherwise to install it use:

pip install phue

Running

Simply run main.py

python3 main.py

Using the Philips Hue features:

Press the green drums button to enter light controlling mode.

The four encoders control the brightness of the four lights you set it up to. Clicking the encoder turns that light on/off.

Pressing numbers 1 through 4 under the screen will give you more control over the light you selected.

  • The blue encoder controls brightness and turns the light on/off when clicked.
  • The green encoder controls the light's hue. Click on this makes the light purple.
  • The white encoder controls saturation. Clicking this resets the saturation.
  • The orange encoder controls colour temperature. Clicking this resets the light to the default warm white.