mpc-sample-sdk
Tool for MPC Sample (Akai Professional)
Rust SDK for writing MPC Sample mods for firmware 1.3.0.12, which load from the SD card as a preload library and hook the stock app's buttons, pads, MIDI, screen, audio and sample objects.
by ioma8

- Distribution
- Build from source yourself
- Requires stock
- 1.3.0.12 only
- License notes
- The LICENSE file is the MIT text. The repository holds no Akai firmware; the SDK reads the stock app already running on the unit.
- Source
- github.com https://github.com/ioma8/mpc-sample-sdk
- sdk
- library
- rust
- mod
- open-source
Description
A mod is a Rust cdylib built against the crate, which finds the running app, checks it against fingerprints of firmware 1.3.0.12 and patches 22 hook sites in memory, so nothing on the unit's flash is changed. The SDK gives typed events for buttons, pads, the encoder, knobs and MIDI notes, typed access to the Sample page's selection, samples, pads, slices, trim, WAV files and the Extract command, drawing through the app's own graphics calls, taps on the four ALSA audio streams, a one-shot worker thread and virtual folders in the stock file browser. A build script cross-compiles the mod, checks its symbols and glibc use and packs the SD card autorun zip. The documentation has one short page per topic with a code example and covers an emulator loop for testing. The author's MPC Sample MiniMod is built on it.
Install notes
Add the crate from crates.io (mpc-sample-sdk 0.7) to a Rust cdylib, then run build-mod.sh with --pack and the firmware hash to produce the autorun zip for the SD card. The loader refuses to start on another firmware or when a hook site cannot be patched. Deleting the autorun folder returns the unit to stock.
Version history
| Version | Date | Notes |
|---|---|---|
| 0.7.4 | 2026-11-17 | Adds hooks for the stock Save Project paint and text editor and the Sample Record button. |
| 0.7.3 | 2026-11-17 | Keeps a control button's press and release together when a mod callback is briefly unavailable. |
| 0.7.2 | 2026-11-17 | Adds virtual folders and files in the stock file browser. |
| 0.7.0 | 2026-11-16 | Adds exact slice snapshots and corrects the pad API. |