Repository navigation
Releases
v0.11.0 — Moonshine CPU dictation
Features
- 16 Levels: shift the pad row by ±8 semitones; external MIDI plays the selected sample chromatically across the keyboard.
- AutoTrim: trim the selected sample's silent edges from the trim screen.
- SAMPLE OPTIONS: HPSS, Spectral Chop, Add Reverb, Vinyl, Lo-Fi and an eight-character Synth.
- Live Looper: record, play, overdub, clear and sync loops across 16 pads.
- Recent Samples: a virtual folder in the native Load Sample browser for the 20 latest samples loaded onto pads; files remain at their original paths.
- Voice project names in the optional dictation package: speak into the Create name field with
SAMPLE RECORD.
Install
- Download
minimod.zipfor the standard mod orminimod-dictation.zipfor voice naming. - Unzip it and copy the
autorunfolder to the root of an SD card. - Insert the card and boot the MPC Sample. Remove
autorunand reboot to return to stock.
Changes in v0.11.0
- Replace Whisper.cpp with quantized Moonshine Tiny English, running locally on the MPC's four Cortex-A55 CPU cores.
- Keep dictation optional. The standard zip excludes model/runtime files; the dictation zip includes the ~43 MB model and ARM64 runtime.
- Keep using the firmware's ALSA input and
SAMPLE RECORDstart/stop control, with recording and transcription feedback on the Create name screen. - Stage the executable and shared libraries in
/runat boot to work around the SD card'snoexecmount.
Verification and compatibility
- Both release zips built. The ARM64 helper passed a sample transcription smoke check.
- Dictation was manually verified on a physical MPC Sample.
- Supports MPC Sample firmware 1.3.0.12.
v0.10.3 — repeated Chop playback fix
Features
- 16 Levels: shift the pad row by eight semitones; external MIDI plays the selected sample across the keyboard.
- AutoTrim: trim silence from the selected sample in three steps, then clear.
- Sample Options: HPSS, Spectral Chop, Add Reverb, Vinyl, Lo-Fi and an eight-character Synth.
- Live Looper: record, play, overdub, clear and sync loops across 16 pads.
- Recent Samples: find up to 20 recently loaded sounds in the native Load Sample browser at the SD-card root. Entries open their original paths; no sample files are copied.
Install
Download minimod.zip from this release, unzip it, and copy the autorun folder to the top level of an SD card. Insert the card and power on the MPC Sample.
Changes in v0.10.3
- Fix repeated Chop playback: physical chop-pad releases now match their presses, so ledger slots do not fill and later regions do not become silent.
- Keep button releases with the recipient of their press when the SDK callback is temporarily unavailable.
- Update to
mpc-sample-sdkv0.7.3 for scoped surface-event context and press/release ownership across callback gaps.
Verification and compatibility
rust/check.sh: formatting, strict Clippy, rustdoc, 89 minimod tests, 63 DSP tests, and AArch64 cross-build.- Emulator: menu, AutoTrim, pad octave, synth shift, 21 rounds of four-region Chop playback, and Recent Samples; all six cases passed.
- Supports MPC Sample firmware 1.3.0.12.
v0.10.2 — Recent Samples
Features
- 16 Levels: shift the pad row by eight semitones; external MIDI plays the selected sample across the keyboard.
- AutoTrim: trim silence from the selected sample in three steps, then clear.
- Sample Options: HPSS, Spectral Chop, Add Reverb, Vinyl, Lo-Fi and an eight-character Synth.
- Live Looper: record, play, overdub, clear and sync loops across 16 pads.
- Recent Samples: find up to 20 recently loaded sounds in the native Load Sample browser at the SD-card root. Entries open their original paths; no sample files are copied.
Install
Download minimod.zip from this release, unzip it, and copy the autorun folder to the top level of an SD card. Insert the card and power on the MPC Sample.
Changes in v0.10.2
- Add Recent Samples to the native Load Sample browser. Only samples loaded onto pads appear; audition previews do not.
- Update to
mpc-sample-sdkv0.7.2 for virtual browser directories and successful file-open observation. - Correct emulator test navigation through the SD-card root.
Verification and compatibility
- Complete emulator suite: 17/17 passed, including loading from Recent Samples and confirming no files were copied.
- Strict Rust checks: 87 minimod tests, 63 DSP tests, formatting, Clippy, rustdoc, and AArch64 cross-build.
- Release package checks passed; highest GLIBC requirement is 2.30.
- Supports MPC Sample firmware 1.3.0.12.
v0.10.1 — SDK 0.7, Spectral Chop and MIDI fixes
Features
MINIMOD is a Rust firmware mod built on the public mpc-sample-sdk. It includes 16 Levels chromatic MIDI, AutoTrim, the SAMPLE OPTIONS menu, HPSS, Spectral Chop, Reverb/Vinyl/Lo-Fi effects, eight synth characters, and a 16-pad Live Looper with recording, playback, overdub, and sync.
Install
- Download
minimod.zipfrom this release. - Unzip it and copy the
autorunfolder to the top level of an SD card. - Insert the card and power on the MPC Sample. Remove
autorunand reboot to unload the mod.
Changes in v0.10.1
- Pin
mpc-sample-sdkv0.7.0 with exact slice snapshots, custom-end restoration, and native chop-mode restoration. - Preserve existing slices and chop mode if Spectral Chop cannot write or verify markers; retain cancelled detection workers until they finish.
- Preserve native MIDI note-on/note-off pairs at chromatic replay capacity and across 16 Levels mode changes.
- Repaint directly only from live UI callbacks; background work requests frames through the UI repaint pump.
Verification and compatibility
rust/check.sh: formatting, strict Clippy, rustdoc, feature safety, 81 minimod tests, 63 DSP tests, and the AArch64 cross-build.mod/build.sh: release package, required symbols, unresolved imports, and MPC Sample glibc limit.- Emulator: three menu navigation/close cycles, AutoTrim 3%/6%/9%/clear, Spectral Chop, and SDK Extract success/overwrite/full-program checks. The app did not restart during the interactive checks.
- Built for MPC Sample firmware 1.3.0.12 only.
v0.10.0 — SDK 0.6.0 migration and the reported fixes
SDK 0.6.0
MINIMOD is built on the tagged mpc-sample-sdk
v0.6.0: independent input
hooks that run without the UI lock, one Extract contract for both the selected
and the generated paths, a checked late button replay, and a WAV reader that
accepts the sampler's own working copies.
Fixes
- Effects no longer leave the page in Chop mode. An extraction that switches
the Sample page is restored immediately, or on the first safe button when the
app switches later. - "No exact WAV file" is gone. The app's writer leaves the RIFF size short by
theatem/slic/metachunks it appends; the reader now bounds the chunk
walk by the file, so every action works on streamed (DiskSample) pads and on
pads created by an earlier action, not only on loaded ones. - A render cannot stick on "PLEASE WAIT" any more. The repaint pump keeps
asking for a frame while a job is pending, instead of relying on the one
request the app can drop while it is loading a sample. - Pads no longer go silent after a few presses. The firmware reports a pad
press and its release with different source ids (0then1); the release
ledger pairs them by pad and input, so the app receives its note-off again. - AutoTrim is armed on the real trim page. It is available right after start
and acrossSAMPLE, hidden on Tune and Filter, andSHIFT+B3no longer
depends on having cycled the page keys first.
Verification
rust/check.sh: formatting, strict clippy, rustdoc, the feature safety guard,
76 minimod tests, 63 DSP tests and the aarch64 cross build.- SDK v0.6.0: 120 + 1 tests, clippy and rustdoc clean.
- Emulator suites: AutoTrim cycle and clear, menu, synth shift, pad octave, live
looper and its lighting.
Compatibility
Built for MPC Sample firmware 1.3.0.12 only. Copy the autorun folder from
the zip to the top level of the SD card; delete it to return to stock.
v0.9.0 — synth page, lighting and precise loop timing
Features
- Rust implementation: the preload library is a Rust
cdylibbuilt on the
public memory-safempc-sample-sdk;
no C or C++ is compiled. The feature code uses only small, documentedunsafe
blocks at explicit SDK firmware boundaries. - 16 Levels: shift the pad row by ±8 semitones with PLUS/MINUS; external
MIDI plays the selected sample chromatically over the whole keyboard from the
sample's own root note (C3 when it has none), with exact semitones and no
wrapping (enable Pad MIDI In in MIDI Config). - AutoTrim: on the trim screen, SHIFT+B3 trims the page-selected sample's
silent edges (3 %, 6 %, 9 %, then clear); the shifted Sample page shows the
AutoTrim caption. Off the trim screen B3 reaches the app. - SAMPLE OPTIONS: open with SHIFT+DATA, select with DATA, then press DATA
to confirm.- HPSS splits a sample into harmonic and percussive layers on two free
pads. - Spectral Chop detects musical changes and places slice boundaries on
the selected sample. - Add Reverb creates a reverberated copy with an appended tail.
- Vinyl and Lo-Fi apply the firmware's built-in H3 effects to a new
copy. - Synth has eight selectable characters — bass, piano, pads, lead, bells,
strings, voice and organ. TurnDATAto switch; each character has its own
three knobs. The pads light in a purple 1→16 brightness gradient while the
page is open, PLUS/MINUS shift by 8 semitones, the page shows the played
note, andDATArenders the last previewed pad's note to a new pad (C2 by
default). - Live Looper opens a fullscreen 16-pad looper: each pad records from the
selected input source, plays, overdubs, clears withERASE, and can be
synced to a pulse built from the last loop's length. Device latency comes
from the firmware's own period geometry; recordings use the input latency
and overdubs use input + output. There is no manual trim.
- HPSS splits a sample into harmonic and percussive layers on two free
Install
- Download
minimod.zipfrom the release assets. - Unzip it and copy the
autorunfolder to the top level of an SD card. - Insert the card and power on the MPC Sample. Remove
autorunand reboot to
unload the mod.
The release supports MPC Sample firmware 1.3.0.12 only.
Changes in v0.9.0
Synth page
- Light all sixteen pads in one purple hue while the synth page is open: pad 1
is off, pad 16 is full brightness, and the steps between are linear. Every
close path restores the app's native pad colours, including cancellation and
the completion of a render. - PLUS/MINUS shift the chromatic pad row by 8 semitones per press (four steps
each way; both keys reset). The shift is reset when the page opens. - Show the current note on the page. DATA renders the last previewed pad's note
plus the current shift to a new pad; C2 is the default when no pad was played.
Rendered sample names include the note, for exampleBass D2.
Live Looper
- Read the device latency from the firmware's own period geometry
(buffer - period, 896 frames per direction) instead of adding the two ring
capacities. Recordings compensate the input latency; overdubs compensate
input + output; synced loops keep their phase across restarts. - Remove the K1 manual latency trim. The settings file stores only MAIN VOLUME;
an old<trim> <master>file keeps its master value. - Keep the signed restart-phase fix.
AutoTrim
- Arm the shortcut only on the trim screen; on the other Sample screens B3
reaches the app unchanged. - Resolve the target from the page's native selected pad (matched through the
surface pad table, with sample identity as fallback), not from the last
physical pad press. - Restore the synth page's purple lights when a render closes the page.
SDK
- Pin
mpc-sample-sdkv0.5.3: directional device latency, per-pad AC50 RGB
overrides with brightness and native restore, and a dedicated
pad lighting page.
Verification and compatibility
rust/check.shpasses formatting, strict clippy, rustdoc, feature safety,
43 minimod tests, 49 DSP tests and the aarch64 cross build.- SDK v0.5.3 passes 97 tests, including the lighting and directional-latency
units. - Emulator checks cover the synth gradient, cancel/render restoration,
PLUS/MINUS semitone steps, the full synth sample render, AutoTrim's trim-screen
and selected-pad paths, and the live looper suite. - Built for MPC Sample firmware 1.3.0.12 only. Physical input/output
latency still depends on the converters and is not calibrated by the
emulator.
v0.8.0 — Rust port + eight synth characters
Features
- Rust implementation: the preload library is a Rust
cdylibbuilt on the
public memory-safempc-sample-sdk;
no C or C++ is compiled, and the feature crate contains nounsafe. - 16 Levels: shift the pad row by ±8 semitones with PLUS/MINUS; external
MIDI plays the selected sample chromatically over the whole keyboard from the
sample's own root note (C3 when it has none), with exact semitones and no
wrapping (enable Pad MIDI In in MIDI Config). - AutoTrim: trim the selected sample's silent edges with SHIFT+B3; the
shifted Sample page shows the AutoTrim caption. - SAMPLE OPTIONS: open with SHIFT+DATA, select with DATA, then press DATA
to confirm.- HPSS splits a sample into harmonic and percussive layers on two free
pads. - Spectral Chop detects musical changes and places slice boundaries on
the selected sample. - Add Reverb creates a reverberated copy with an appended tail.
- Vinyl and Lo-Fi apply the firmware's built-in H3 effects to a new
copy. - Synth has eight selectable characters — bass, piano, pads, lead, bells,
strings, voice and organ. TurnDATAto switch; each character has its own
three knobs, andDATAsaves a C2 note to a new pad. - Live Looper opens a fullscreen 16-pad looper: each pad records from the
selected input source, plays, overdubs, clears withERASE, and can be
synced to a pulse built from the last loop's length.
- HPSS splits a sample into harmonic and percussive layers on two free
Install
- Download
minimod.zipfrom the release assets. - Unzip it and copy the
autorunfolder to the top level of an SD card. - Insert the card and power on the MPC Sample. Remove
autorunand reboot to
unload the mod.
The release supports MPC Sample firmware 1.3.0.12 only.
Changes in v0.8.0
Rust port
- Replace the C preload library with a Rust
cdylibbuilt on the public
mpc-sample-sdk. The workspace
keeps feature code inrust/crates/minimodand host-testable DSP in
rust/crates/dsp; the SDK owns firmware discovery, hooks, events, audio,
drawing and typed platform objects. - No C or C++ is compiled.
minimodcontains nounsafeand no C ABI; the SDK
isolates the firmware boundary behind its safe API. - One SDK build script (
build-mod.sh) now performs the cross-build, symbol and
glibc checks, stripping and the SDautorunpackage. minimod only vendors a
thin wrapper. - The strict gate covers formatting, clippy (all + pedantic + cargo), rustdoc,
the no-unsafeguard, host tests and the aarch64 release build.
Synth characters
- Add eight selectable synth characters on the Synth page: bass, piano, pads,
lead, bells, strings, voice and organ. - The DATA encoder switches character; the page title shows the selection and
the three knob labels/defaults change with it. - Give each character its own synthesis path and controls: BASS
BRIGHT/DECAY/FILTER, PIANO BRIGHT/DECAY/TONE, PADS ATTACK/BRIGHT/WIDTH, LEAD
BRIGHT/BITE/FILTER, BELLS BRIGHT/DECAY/RATIO, STRINGS ATTACK/BRIGHT/WIDTH,
VOICE VOWEL/BRIGHT/FILTER, ORGAN DRAWBAR/BRIGHT/FILTER. - Shorten the bass from 1.5 s to 0.75 s with a 150 ms body and fast tail, and
replace the subtle EXCITE knob with DECAY. - Name rendered pads after the selected character (
Piano C2,Organ C2, …).
Fixes
- Route non-bass preview notes to the selected synth engine; previously every
character except the bass was silent when auditioned from the pads. - Let 16 Levels reach the stock app again; the mod had consumed the key and the
app never toggled its own state. - Clear the held PLUS flag on release so MINUS shifts the 16 Levels pitch down
instead of being mistaken for a two-key reset. - Accept a single spectral boundary, so pad A16's one-change sample chops into
two regions instead of failing with “no onsets”. - Close the SAMPLE OPTIONS menu when a Spectral run fails, making the status
and toast visible. - Keep a reverb copy's tail: native Extract starts with the source range, so the
new pad's trim end is moved to 99% of the rendered frames (1% end trim). - Repaint after a toast expires, so AutoTrim and other messages disappear
instead of remaining on screen. - Draw the looper grid like the hardware: pad 1 bottom-left, pad 16 top-right.
Live Looper
- Add a fullscreen 16-pad looper with one loop per pad: press to record from
the selected input source, press again to play, press a playing loop to stop. ERASE+ pad clears one loop,STOPstops every loop, and the sync click is
off by default (SHIFT+LOOPtoggles it).- The loops follow
MAIN VOLUME: the knob's CC is tracked and applied as a gain
on the loop mix, and the level is remembered in/data/minimod-looper.cfg. - Record the latency tail after the closing press, flush the input ring at the
start of every take, and finish a pad atomically so a take can never be closed
twice and starve the recording counter. - Keep the audio device untouched from the repaint thread: the ring sizes and the
channel count now come fromsnd_pcm_hw_params_currenton the stream's own
audio thread, and the loop mix uses the device's real channel count. This
removes the cross-thread ALSA calls and the stride guess that could corrupt the
output buffer and take the app down after closing the view. The MIDI dispatcher
is hooked once at load instead of being re-patched while it may be executing,
and the loader refuses to install anything unless every hooked site's first
instruction matches the firmware it was built for. SHIFT+ pad overdubs into the loop and the next press returns to playback;
SHIFT+LOOPtoggles the click,ERASE+LOOPclears everything;
SHIFT+DATAcloses the view.LOOPstarts an audible sync pulse whose period is the most recent loop's
length, and every new loop is quantized to a whole multiple of it (padded with
silence, never truncated silently).- Record input by interposing the app's own
snd_pcm_readi/snd_pcm_readn
(RW_INTERLEAVED S32, 4 channels, 44.1 kHz) and mix loop playback into the S32
block just before the app's device write, so no second audio device is opened
and the app's own rendering path is untouched. - Take the record latency from the firmware's own ALSA ring geometry (one
buffer per direction, read from the device with
snd_pcm_hw_params_get_buffer_size), apply it to every take so overdubs and
synced loops line up, and keep aK1trim in/data/minimod-looper.cfg. This
works with headphones, USB audio and a silent instrument input, unlike a
probe that needs to hear the output. - Draw the loop state, length, playhead and input level as a fullscreen view,
and block pad notes from the app while it is open. - Add
mod/tests/emulator_looper.pyand an in-process output tap for audio
acceptance.
Verification and compatibility
- Supported firmware: MPC Sample 1.3.0.12 only.
- Package:
minimod.zip, built from the Rust tree, with a valid
autorun.check; the loader checks the 36-word firmware fingerprint. - SDK: 59 tests, clippy and rustdoc clean.
- minimod: 39 tests; DSP: 42 tests, including all eight synth
characters, every knob, the golden fixtures and the non-bass preview. rust/check.sh: formatting, strict clippy, rustdoc, no-unsafeguard, host
tests and the aarch64 cross build all pass.- Emulator checks cover the menu, AutoTrim, HPSS, Spectral Chop, Reverb, Vinyl,
Lo-Fi, the eight-character Synth page and render path, Live Looper and
16 Levels. - Real-hardware verification remains device-specific; the emulator validates
logic, UI, native object access and the rendered audio, not hardware latency
or analog audio behaviour.
v0.7.0 — Full-keyboard chromatic MIDI in 16 Levels
Features
- 16 Levels: shift the pad row by ±8 semitones with PLUS/MINUS; external MIDI plays the selected sample chromatically over the whole keyboard from a C3 root, with exact semitones and no wrapping (enable Pad MIDI In in MIDI Config).
- AutoTrim: trim the selected sample's silent edges with SHIFT+B3; the shifted Sample page shows the AutoTrim caption.
- SAMPLE OPTIONS (SHIFT+DATA, select with DATA):
- HPSS splits a sample into harmonic and percussive layers on two free pads.
- Spectral Chop detects musical changes and places slice boundaries on the selected sample.
- Add Reverb creates a reverberated copy with an appended tail.
- Vinyl / Lo-Fi apply the firmware's built-in H3 effects to a new copy.
- Bass Synth previews chromatic C2–D#3 from pads 1–16, shapes it with K1/K2/K3, and saves a C2 pluck to a new pad.
Install
- Download
minimod.zipfrom the release assets. - Unzip it and copy the
autorunfolder to the top level of an SD card. - Insert the card and power on the MPC Sample. Remove
autorunand reboot to unload the mod.
Supported firmware: MPC Sample 1.3.0.12 only.
Changes in v0.7.0
- External MIDI in 16 Levels now plays the selected pad across the entire keyboard: exact semitones, no wrapping, no fallback to other pads outside the 16-pad row.
- Rebuild the note event for the selected pad and call the app's own pitch setter (
w3 = note - 60) before dispatching with the physical-pad source, keeping routing, note-offs and sustain in the firmware's native path. - Pad MIDI In resets to Off on every app start — enable it before playing.
- New docs:
docs/RE-MIDI-16LEVELS-FINDINGS.md(decompiled contract) anddocs/MIDI-16LEVELS-METHOD.md(what solved it and the reusable method).
Verification and compatibility
- Verified on a real MPC Sample (firmware 1.3.0.12) and in the emulator.
- Controlled 220 Hz sample: MIDI 48 → 110.4 Hz, 60 → 220.7 Hz, 65 → 293.4 Hz (exact semitones, positive and negative offsets).
- Every note 36–96 played the selected sample; with 16 Levels off the dispatcher is byte-identical to stock.
v0.6.0 — built-in effects, Bass Synth & chromatic MIDI
Features
- 16 Levels: shift the pad row by ±8 semitones with PLUS/MINUS; external
MIDI can play the selected sample chromatically from a C3 root (enable Pad
MIDI In in MIDI Config). - AutoTrim: trim the selected sample's silent edges with SHIFT+B3; the
shifted Sample page shows the AutoTrim caption. - SAMPLE OPTIONS: open with SHIFT+DATA, select with DATA, then press DATA
to confirm.- HPSS splits a sample into harmonic and percussive layers on two free
pads. - Spectral Chop detects musical changes and places slice boundaries on
the selected sample. - Add Reverb creates a reverberated copy with an appended tail.
- Vinyl and Lo-Fi apply the firmware's built-in H3 effects to a new
copy. - Bass Synth previews chromatic C2–D#3 from pads 1–16, shapes it with
K1/K2/K3, and saves a C2 pluck to a new pad.
- HPSS splits a sample into harmonic and percussive layers on two free
Install
- Download
minimod.zipfrom the release assets. - Unzip it and copy the
autorunfolder to the top level of an SD card. - Insert the card and power on the MPC Sample. Remove
autorunand reboot to
unload the mod.
The release supports MPC Sample firmware 1.3.0.12 only.
Changes in v0.6.0
- Add the firmware's built-in StereoReverb, Vinyl and Decimator effects to
SAMPLE OPTIONS, with native sample extraction and pad assignment. - Append a rendered reverb tail so the reverberated sample does not cut off at
the source sample's original length. - Add Bass Synth: a compact DaisySP physical-model C2 renderer, live chromatic
pad preview and three live sound-shaping controls. - Add external MIDI chromatic playback in 16 Levels through the firmware's
native note-event and pitch-setting path. - Replace the competing raw MIDI reader with the native MIDI event hook and
document the reverse-engineered firmware paths.
Verification
- Built and packaged the release for the MPC Sample's ARM64 firmware.
- Emulator checks cover the native reverb, Vinyl, Lo-Fi and Bass Synth paths,
plus C3/C#3/G3 MIDI transposition, pass-through outside 16 Levels, and no
firmware restart.
v0.5.4 — native DATA menu input
What's new
- Route SAMPLE OPTIONS encoder turns through the firmware's native DATA signal, so repeated identical turns are handled reliably without competing MIDI, evdev, or property paths.
- Keep encoder navigation and knob blocking consistent while the custom menu or spectral action owns the controls.
- Include Spectral Chop and its emulator acceptance coverage, alongside the existing HPSS and AutoTrim features.
- Refresh the AutoTrim and Spectral Chop handoffs and document the native input mechanism.
Verification
- Built and packaged from the merged
maincommit. - Host input harness covers 200 repeated signed DATA events.
- Emulator checks covered repeated menu navigation and Spectral Chop boundaries without an app restart.
Firmware support remains MPC Sample 1.3.0.12.