aboutsummaryrefslogtreecommitdiffhomepage
path: root/configs/pyexample.py
blob: 7213005cbdc6b276347978d794c5f682f61c25b4 (plain)
1
2
3
4
5
6
7
8
# Import the MIDIMonster Python API
import midimonster

def channel1(value):
    # Print current input value
    print("Python channel 1 is at %s" % (value,))
    # Send inverse on py1.out1
    midimonster.output("out1", 1.0 - value)