-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
42 lines (34 loc) · 927 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# -*- coding: utf-8 -*-
"""
~ Latent sound painting // Pompidou center ~
config.py : Main class for global configuration values
Author : Philippe Esling
All authors contributed equally to the project.
"""
class config:
# Global program info
class painter:
device = 'Latent sound painter'
version = 0.01
# Global audio info
class audio:
# Screen modes
mode_idle = 0
mode_burnin = 1
mode_play = 2
mode_rec = 3
mode_busy = 4
# General screen properties
volume = 1.0
stereo = 0.0
class events:
none = -1
button = 0
rotary = 1
gate0 = 2
gate1 = 3
cv2 = 4
cv3 = 5
cv4 = 6
cv5 = 7