-
Notifications
You must be signed in to change notification settings - Fork 0
/
consts.py
105 lines (88 loc) · 2.03 KB
/
consts.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
##################################################################
#
# Copyright (C) 2012 Imaginando, Lda & Teenage Engineering AB
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# For more information about this license please consult the
# following webpage: http://www.gnu.org/licenses/gpl-2.0.html
#
##################################################################
VERSION="1.0.9"
# Number of tracks
NUM_TRACKS = 13
NUM_ROWS = 1
NUM_MODES = 4
# Modes ID's
OP1_MODE_PERFORM = 0
OP1_MODE_CLIP = 1
OP1_MODE_TRANSPORT = 2
OP1_MODE_MIXER = 3
# MIDI CC's
CHANNEL = 0
OP1_ENCODER_1 = 1
OP1_ENCODER_2 = 2
OP1_ENCODER_3 = 3
OP1_ENCODER_4 = 4
OP1_HELP_BUTTON = 5
OP1_METRONOME_BUTTON = 6
OP1_MODE_1_BUTTON = 7
OP1_MODE_2_BUTTON = 8
OP1_MODE_3_BUTTON = 9
OP1_MODE_4_BUTTON = 10
OP1_T1_BUTTON = 11
OP1_T2_BUTTON = 12
OP1_T3_BUTTON = 13
OP1_T4_BUTTON = 14
OP1_ARROW_UP_BUTTON = 15
OP1_ARROW_DOWN_BUTTON = 16
OP1_SCISSOR_BUTTON = 17
OP1_SS1_BUTTON = 50
OP1_SS2_BUTTON = 51
OP1_SS3_BUTTON = 52
OP1_SS4_BUTTON = 21
OP1_SS5_BUTTON = 22
OP1_SS6_BUTTON = 23
OP1_SS7_BUTTON = 24
OP1_SS8_BUTTON = 25
OP1_REC_BUTTON = 38
OP1_PLAY_BUTTON = 39
OP1_STOP_BUTTON = 40
OP1_LEFT_ARROW = 41
OP1_RIGHT_ARROW = 42
OP1_SHIFT_BUTTON = 43
OP1_MICRO = 48
OP1_COM = 49
OP1_PATTERN = 26
OP1_KEY1 = 53
OP1_KEY2 = 54
OP1_KEY3 = 55
OP1_KEY4 = 56
OP1_KEY5 = 57
OP1_KEY6 = 58
OP1_KEY7 = 59
OP1_KEY8 = 60
OP1_KEY9 = 61
OP1_KEY10 = 62
OP1_KEY11 = 63
OP1_KEY12 = 64
OP1_KEY13 = 65
OP1_KEY14 = 66
OP1_KEY15 = 67
OP1_KEY16 = 68
OP1_KEY17 = 69
OP1_KEY18 = 70
OP1_KEY19 = 71
OP1_KEY20 = 72
OP1_KEY21 = 73
OP1_KEY22 = 74
OP1_KEY23 = 75
OP1_KEY24 = 76