Visual guide for APC Mini MK2 LED and button mapping. Use when user needs to know "which button", "pad location", "LED position", "coordinate to note", "note to coordinate", or wants to understand the physical layout of the controller.
Provides visual mapping reference for APC Mini MK2 controller buttons, pads, and LEDs. Use when users need to convert between button locations, MIDI notes, or coordinates for programming custom lighting patterns.
/plugin marketplace add naporin0624/claude-plugin-apc-mini/plugin install apc-mini-tools@apc-mini-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Visual reference for button positions and their corresponding MIDI note numbers.
┌─────────────────────────────────────────────────────┐
│ │
│ [SHIFT] [SCENE 1-8] │
│ 112-119 │
│ ┌───┬───┬───┬───┬───┬───┬───┬───┐ ┌───┐ │
│ │56 │57 │58 │59 │60 │61 │62 │63 │ │112│ Row 8 │
│ ├───┼───┼───┼───┼───┼───┼───┼───┤ ├───┤ │
│ │48 │49 │50 │51 │52 │53 │54 │55 │ │113│ Row 7 │
│ ├───┼───┼───┼───┼───┼───┼───┼───┤ ├───┤ │
│ │40 │41 │42 │43 │44 │45 │46 │47 │ │114│ Row 6 │
│ ├───┼───┼───┼───┼───┼───┼───┼───┤ ├───┤ │
│ │32 │33 │34 │35 │36 │37 │38 │39 │ │115│ Row 5 │
│ ├───┼───┼───┼───┼───┼───┼───┼───┤ ├───┤ │
│ │24 │25 │26 │27 │28 │29 │30 │31 │ │116│ Row 4 │
│ ├───┼───┼───┼───┼───┼───┼───┼───┤ ├───┤ │
│ │16 │17 │18 │19 │20 │21 │22 │23 │ │117│ Row 3 │
│ ├───┼───┼───┼───┼───┼───┼───┼───┤ ├───┤ │
│ │ 8 │ 9 │10 │11 │12 │13 │14 │15 │ │118│ Row 2 │
│ ├───┼───┼───┼───┼───┼───┼───┼───┤ ├───┤ │
│ │ 0 │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ │119│ Row 1 │
│ └───┴───┴───┴───┴───┴───┴───┴───┘ └───┘ │
│ C1 C2 C3 C4 C5 C6 C7 C8 │
│ │
│ ┌───┬───┬───┬───┬───┬───┬───┬───┐ │
│ │100│101│102│103│104│105│106│107│ [TRACK 1-8] │
│ └───┴───┴───┴───┴───┴───┴───┴───┘ │
│ │
│ ════════════════════════════════ [FADERS 1-9] │
│ F1 F2 F3 F4 F5 F6 F7 F8 F9(Master) │
│ CC48 CC49 CC50 CC51 CC52 CC53 CC54 CC55 CC56 │
│ │
└─────────────────────────────────────────────────────┘
8x8 RGB pad matrix with full color support:
| Row | Col 1 | Col 2 | Col 3 | Col 4 | Col 5 | Col 6 | Col 7 | Col 8 |
|---|---|---|---|---|---|---|---|---|
| 8 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |
| 7 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
| 6 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
| 5 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |
| 4 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
| 3 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
// Convert (row, column) to MIDI note (1-indexed coordinates)
function coordToNote(row: number, col: number): number {
return (row - 1) * 8 + (col - 1);
}
// Convert MIDI note to (row, column) (1-indexed)
function noteToCoord(note: number): { row: number; col: number } {
return {
row: Math.floor(note / 8) + 1,
col: (note % 8) + 1
};
}
// Convert (x, y) to MIDI note (0-indexed coordinates)
function xyToNote(x: number, y: number): number {
return y * 8 + x;
}
// Convert MIDI note to (x, y) (0-indexed)
function noteToXY(note: number): { x: number; y: number } {
return {
x: note % 8,
y: Math.floor(note / 8)
};
}
Bottom row, single-color red LEDs:
| Button | Track 1 | Track 2 | Track 3 | Track 4 | Track 5 | Track 6 | Track 7 | Track 8 |
|---|---|---|---|---|---|---|---|---|
| Note | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 |
| Hex | 0x64 | 0x65 | 0x66 | 0x67 | 0x68 | 0x69 | 0x6A | 0x6B |
Velocity values:
0 = Off1 = On2 = BlinkRight column, single-color green LEDs:
| Button | Scene 1 | Scene 2 | Scene 3 | Scene 4 | Scene 5 | Scene 6 | Scene 7 | Scene 8 |
|---|---|---|---|---|---|---|---|---|
| Note | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 |
| Hex | 0x70 | 0x71 | 0x72 | 0x73 | 0x74 | 0x75 | 0x76 | 0x77 |
| Row | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
Velocity values:
0 = Off1 = On2 = Blink| Button | Note | Hex | LED |
|---|---|---|---|
| Shift | 122 | 0x7A | None |
| Region | Notes | LED Type | Colors |
|---|---|---|---|
| Pad Grid | 0-63 | RGB | 128 palette + custom RGB |
| Track | 100-107 | Single | Red only |
| Scene | 112-119 | Single | Green only |
function lightRow(output: Output, row: number, velocity: number) {
for (let col = 0; col < 8; col++) {
const note = (row - 1) * 8 + col;
output.send('noteon', { note, velocity, channel: 6 });
}
}
function lightColumn(output: Output, col: number, velocity: number) {
for (let row = 0; row < 8; row++) {
const note = row * 8 + (col - 1);
output.send('noteon', { note, velocity, channel: 6 });
}
}
function lightDiagonal(output: Output, velocity: number) {
for (let i = 0; i < 8; i++) {
const note = i * 8 + i;
output.send('noteon', { note, velocity, channel: 6 });
}
}
function clearAllPads(output: Output) {
for (let note = 0; note < 64; note++) {
output.send('noteon', { note, velocity: 0, channel: 0 });
}
}
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.