-
-
Notifications
You must be signed in to change notification settings - Fork 97
/
config.py
14 lines (13 loc) · 940 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#########################################
# LOCAL
# CONFIG
#########################################
AUDIO_DEVICE_ID = 2 # change this number to use another soundcard
SAMPLES_DIR = "." # The root directory containing the sample-sets. Example: "/media/" to look for samples on a USB stick / SD card
MAX_POLYPHONY = 80 # This can be set higher, but 80 is a safe value
USE_BUTTONS = False # Set to True to use momentary buttons (connected to RaspberryPi's GPIO pins) to change preset
USE_I2C_7SEGMENTDISPLAY = False # Set to True to use a 7-segment display via I2C
USE_SERIALPORT_MIDI = False # Set to True to enable MIDI IN via SerialPort (e.g. RaspberryPi's GPIO UART pins)
USE_SYSTEMLED = False # Flashing LED after successful boot, only works on RPi/Linux
SERIALPORT_PORT = '/dev/ttyAMA0'
SERIALPORT_BAUDRATE = 31250