-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
APC Key 25 midi controller - I/O configuration in .midiboard.json (#1722
) * APC Key 25 midi controller - I/O configuration in .midiboard.json * Inputs added (dropdown list nessery) * Add colors and blink: green, red, yellow --------- Co-authored-by: Marek Zdrzałek <[email protected]>
- Loading branch information
Showing
2 changed files
with
269 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,266 @@ | ||
{ | ||
"$schema": "./mfmidiboard.schema.json", | ||
"InstanceName": "APC Key 25", | ||
"Inputs": [ | ||
{ | ||
"Label": "Button 1_%", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"InputType": "Button", | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 32, 33, 34, 35, 36, 37, 38, 39 ] | ||
}, | ||
{ | ||
"Label": "Button 2_%", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"InputType": "Button", | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 24, 25, 26, 27, 28, 29, 30, 31 ] | ||
}, | ||
{ | ||
"Label": "Button 3_%", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"InputType": "Button", | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 16, 17, 18, 19, 20, 21, 22, 23 ] | ||
}, | ||
{ | ||
"Label": "Button 4_%", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"InputType": "Button", | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 8, 9, 10, 11, 12, 13, 14, 15 ] | ||
}, | ||
{ | ||
"Label": "Button 5_%", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"InputType": "Button", | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 0, 1, 2, 3, 4, 5, 6, 7 ] | ||
}, | ||
{ | ||
"Label": "Function %", | ||
"LabelIds": [ "STOP ALL", "SHIFT", "PLAY", "REC" ], | ||
"InputType": "Button", | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 81, 98, 91, 93 ] | ||
}, | ||
{ | ||
"Label": "Function %", | ||
"LabelIds": [ "SUSTAIN" ], | ||
"InputType": "Button", | ||
"MessageType": "CC", | ||
"MessageChannel": 2, | ||
"MessageIds": [ 64 ] | ||
}, | ||
{ | ||
"Label": "Horizontal Circle %", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"InputType": "Button", | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 64, 65, 66, 67, 68, 69, 70, 71 ] | ||
}, | ||
{ | ||
"Label": "Vertical Circle %", | ||
"LabelIds": [ "1", "2", "3", "4", "5" ], | ||
"InputType": "Button", | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 82, 83, 84, 85, 86 ] | ||
}, | ||
{ | ||
"Label": "Knob 1_%", | ||
"LabelIds": [ "1", "2", "3", "4" ], | ||
"InputType": "LimitedKnob", | ||
"MessageType": "CC", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 48, 49, 50, 51 ] | ||
}, | ||
{ | ||
"Label": "Knob 2_%", | ||
"LabelIds": [ "1", "2", "3", "4" ], | ||
"InputType": "LimitedKnob", | ||
"MessageType": "CC", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 52, 53, 54, 55 ] | ||
} | ||
], | ||
"Outputs": [ | ||
{ | ||
"Label": "Button 1_% Green LED ", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 32, 33, 34, 35, 36, 37, 38, 39 ], | ||
"ValueOn": 1, | ||
"ValueBlinkOn": 2, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 1_% Red LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 32, 33, 34, 35, 36, 37, 38, 39 ], | ||
"ValueOn": 3, | ||
"ValueBlinkOn": 4, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 1_% Yellow LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 32, 33, 34, 35, 36, 37, 38, 39 ], | ||
"ValueOn": 5, | ||
"ValueBlinkOn": 6, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 2_% Green LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 24, 25, 26, 27, 28, 29, 30, 31 ], | ||
"ValueOn": 1, | ||
"ValueBlinkOn": 2, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 2_% Red LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 24, 25, 26, 27, 28, 29, 30, 31 ], | ||
"ValueOn": 3, | ||
"ValueBlinkOn": 4, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 2_% Yellow LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 24, 25, 26, 27, 28, 29, 30, 31 ], | ||
"ValueOn": 5, | ||
"ValueBlinkOn": 6, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 3_% Green LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 16, 17, 18, 19, 20, 21, 22, 23 ], | ||
"ValueOn": 1, | ||
"ValueBlinkOn": 2, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 3_% Red LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 16, 17, 18, 19, 20, 21, 22, 23 ], | ||
"ValueOn": 3, | ||
"ValueBlinkOn": 4, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 3_% Yellow LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 16, 17, 18, 19, 20, 21, 22, 23 ], | ||
"ValueOn": 5, | ||
"ValueBlinkOn": 6, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 4_% Green LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 8, 9, 10, 11, 12, 13, 14, 15 ], | ||
"ValueOn": 1, | ||
"ValueBlinkOn": 2, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 4_% Red LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 8, 9, 10, 11, 12, 13, 14, 15 ], | ||
"ValueOn": 3, | ||
"ValueBlinkOn": 4, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 4_% Yellow LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 8, 9, 10, 11, 12, 13, 14, 15 ], | ||
"ValueOn": 5, | ||
"ValueBlinkOn": 6, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 5_% Green LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 0, 1, 2, 3, 4, 5, 6, 7 ], | ||
"ValueOn": 1, | ||
"ValueBlinkOn": 2, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 5_% Red LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 0, 1, 2, 3, 4, 5, 6, 7 ], | ||
"ValueOn": 3, | ||
"ValueBlinkOn": 4, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Button 5_% Yellow LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 0, 1, 2, 3, 4, 5, 6, 7 ], | ||
"ValueOn": 5, | ||
"ValueBlinkOn": 6, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Horizontal Circle % Red LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5", "6", "7", "8" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 64, 65, 66, 67, 68, 69, 70, 71 ], | ||
"ValueOn": 1, | ||
"ValueBlinkOn": 2, | ||
"ValueOff": 0 | ||
}, | ||
{ | ||
"Label": "Vertical Circle % Green LED", | ||
"LabelIds": [ "1", "2", "3", "4", "5" ], | ||
"MessageType": "Note", | ||
"MessageChannel": 1, | ||
"MessageIds": [ 82, 83, 84, 85, 86 ], | ||
"ValueOn": 1, | ||
"ValueBlinkOn": 2, | ||
"ValueOff": 0 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters