Skip to content

Commit

Permalink
APC Key 25 midi controller - I/O configuration in .midiboard.json (#1722
Browse files Browse the repository at this point in the history
)

* 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
ZionFon and Marek Zdrzałek authored Mar 3, 2024
1 parent 27514fd commit a77eee6
Show file tree
Hide file tree
Showing 2 changed files with 269 additions and 0 deletions.
266 changes: 266 additions & 0 deletions MidiBoards/apckey25.midiboard.json
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
}
]
}
3 changes: 3 additions & 0 deletions MobiFlightConnector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,9 @@
<None Include="MidiBoards\BoardEditorConfigs\xtouchmini\LayerB.bin">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="MidiBoards\apckey25.midiboard.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="MidiBoards\intech_ef44.midiboard.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down

0 comments on commit a77eee6

Please sign in to comment.