Skip to content

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

Notifications You must be signed in to change notification settings

SaturnOperator/OP-1-Macropad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages