Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.8 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.8 KB

Akai MPK Mini Flasher

Simple python-based command line tool to configure the Akai MPK Mini 1. Generation. The native configuration tool (32-bit) is not longer supported and does not work anymore on newer MAC's that only allow 64-bit programs. A web-based interface from gljubojevic already reversed engineered the midi protocol, but the tool is not fully implemented yet. Meanwhile this interface should enable people to flash configurations from their command line.

Install

Installation is described for Mac only, but it could work on other platforms as well with small changes in the installation procedure.

  1. Make sure to have Python >=3.12 with python -V.

  2. This package uses the mido python library with an rtmidi backend. rtmidi can be installed with:

brew install rtmidi
  1. Create a python virtual environment and install the dependencies by running:
sudo chmod +x install.bash
./install.bash

Usage

Make sure your midi keyboard is connected to your computer. The virtual environment has to be sourced in every new terminal. For help on the specific arguments run:

source venv/bin/activate
python miniflasher.py -h

Read example

source venv/bin/activate
python miniflasher.py r 1 presets/slot1.json

Write Example

source venv/bin/activate
python miniflasher.py w 1 presets/factory1.json

Notes

The tool primitively checks if a configuration contains valid values. However, it is not guaranteed that wrong values won't "slip through" when flashing. Just be careful what values you manually type in the configuration files and check gljubojevic's site for a full description on the values that can be set.