返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

midi-protocol-lookup

查找APC Mini MK2 MIDI协议的详细信息,包括音符编号、MIDI通道、力度值和SysEx格式。当用户询问“MIDI音符”、“通道”、“力度”、“状态字节”、“SysEx”、“协议”,或需要理解MIDI消息如何控制APC Mini MK2时使用。

person作者: jakexiaohubgithub

APC Mini MK2 MIDI Protocol Reference

Quick reference for MIDI protocol. For complete details, see reference.md.

MIDI Message Structure

  • Note On: [0x9n, note, velocity] (n = channel 0-15)
  • Note Off: [0x8n, note, velocity]
  • Control Change: [0xBn, cc, value]

Note Mapping

| Region | Notes | Purpose | |--------|-------|---------| | Pad Grid | 0-63 | 8x8 RGB pads (row * 8 + col) | | Track Buttons | 100-107 | Red LEDs | | Scene Buttons | 112-119 | Green LEDs | | Shift | 122 | No LED | | Faders (CC) | 48-56 | CC 48-55 + Master 56 |

MIDI Channel Effects

| Channel | Effect | |---------|--------| | 0-6 | Brightness 10%-100% | | 7-10 | Pulse animation | | 11-15 | Blink animation |

Use channel 6 (0x96) for full brightness.

SysEx Custom RGB

F0 47 7F 4F 24 00 08 [pad] [pad] [R-MSB] [R-LSB] [G-MSB] [G-LSB] [B-MSB] [B-LSB] F7

RGB encoding:

const encodeRGB = (value: number): readonly [number, number] =>
  [(value >> 7) & 0x01, value & 0x7F] as const;