tconfig.py - dmt - source code for the kunsthal art installation
HTML git clone git://parazyd.org/dmt.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
tconfig.py (441B)
---
1 # See LICENSE file for copyright and license details.
2 """
3 MIDI handler configuration
4 """
5
6 # The device we want to use for MIDI. Found using: mido.get_input_names()
7 #device_name = 'USB MS1x1 MIDI Interface:USB MS1x1 MIDI Interface MIDI 1 24:0'
8
9 # Uncomment this for hardcode
10 #device_name = 'USB MS1x1 MIDI Interface:USB MS1x1 MIDI Interface MIDI 1 20:0'
11
12 # Comment this out if you hardcode
13 import mido
14 device_name = mido.get_input_names()[1]