Update the SD card (Ash — firmware 1.4)
Replace the autorun payload only; keep your Epicycle/ user data.
- Power off / remove the microSD.
- On a computer, unzip the new
EPICYCLE-*.zip.
- On the card root, delete or rename the old
autorun/ folder (and old top-level autorun.sh if present).
- Copy the new
autorun.sh + autorun/ onto the card root. Leave Epicycle/ alone (projects / samples / logs stay).
- Reinsert → power on → Developer Mode autorun prompt → Yes.
- Expect: splash PRESS ANY PAD TO CONTINUE → Tombola; B1/B2 pages; B3 quits; encoder push does not quit. Paste
Epicycle/logs/last-session.log.
Rollback: remove the card, or rename autorun → autorun-off.
Requirements
- Akai MPC Sample (primary: firmware 1.4.x with Developer Mode)
- microSD card (FAT32 or exFAT)
- Optional: SampleBoot for multi-boot
- Build host:
gcc, python3, aarch64-linux-gnu-gcc (or set CROSS=)
Quick build
make # build/epicycle (aarch64, static)
make host # build/epicycle-host (native smoke)
make package # dist/EPICYCLE-*.zip + dist/sd-root/
make test-host # demo bank + non-silent preview WAV check
Install on firmware 1.4 (Ash’s unit)
- On the MPC: enable Developer Mode (stock Settings → DEV ENHANCEMENTS). Do not use “Load Untrusted OS” for this project.
- Unzip a release (or
dist/EPICYCLE-*.zip from make package).
- Copy to the card root:
autorun.sh (top-level 1.4 bridge)
autorun/ (launcher + epicycle/ payload)
- optional:
Epicycle/ user-data folder (projects / samples / logs)
- Put any WAVs in
Epicycle/samples/ (any filename). Pads boot empty — assign via SAMPLE browse (no pad01 auto-map / no demo kit).
- Insert the card and power on. Stock boots, then asks to run the autorun script — choose Yes.
- The launcher stops
ac50.service, runs EPICYCLE from /run, and on exit starts stock again.
What you should try on the device
- Splash holds; centered PRESS ANY PAD TO CONTINUE under logo.
- Tombola home: balls rest at bottom; spin lifts; wall hits fire samples. Fader = morph; MAIN = vol; K1 = spin (CW=CW); K2 unused.
- SAMPLE + pad = select (LED solid); MUTE + pad = remove/add ball; LED flash = wall hit only.
- Soft keys: B1 prev, B2 next, B3 QUIT. Pages: Tombola / Trim / Mix / Amp / Tune / Filt / FEnv / LFO / HitMod.
- SEQ = jump to Tombola from any page. PAD FX = Hit Mod. LOOP off = one-shot bounce.
- Prefer short grains in
Epicycle/samples/; ~8 active balls = messy generative texture.
Session log: Epicycle/logs/last-session.log on the card.
Firmware 1.3 packaging
make package also writes autorun/autorun.check for 1.3.0.12 cards. On 1.3 you only need the autorun/ folder at the card root.
SampleBoot (multi-boot)
Copy the packaged autorun/ folder into autorun/mods/EPICYCLE/ on a SampleBoot card. EPICYCLE resolves the card root from /proc/mounts (SampleBoot OS-AUTHORS pattern).
Rollback
| Situation |
What to do |
| Hang |
Hold POWER until off → remove the card → boot stock |
| Bad build |
Rename card autorun → autorun-off (or delete it) |
| Multi-boot |
SampleBoot encoder → stock or previous mod |
| Keep projects |
Leave Epicycle/ on the card when replacing autorun/ |
Never write U-Boot, boot / recovery partitions, or “untrusted OS” images for v0.
Repository layout
src/
main.c entry + pad/knob → engine loop
include/epicycle.h pads, voices, LFO / mod-matrix hooks
platform/ card paths, session log, ALSA card lookup
display/ 320×240 DRM/fb present
audio/ I2S ALSA + realtime engine callback
surface/ surface MIDI pads/knobs/soft keys/quit
sample/ WAV load + synth demo tones
engine/ crossfade loopers, division/free, pitch, LFO scrub
ui/ splash + loop screen (waveform brace)
tools/make_autorun.py 1.4 bridge + 1.3 check + zip
tools/check_preview.py host preview WAV sanity
install/ templates shipped into the package
What’s in / still later
| Piece |
This release |
Still later |
| Tombola |
2D morph + spin + wall-hit triggers |
Full 3D mesh morph |
| Ball select / mute |
SAMPLE+pad; MUTE+pad |
Mute groups on collision |
| Hit Mod |
Stub: impact → pitch/filt/level |
Full matrix + ball–ball actions |
| Trim / env / filter |
Edit pages reused |
Freeze 2–5 s → loop export |
| FX |
— |
Reverb / delay sends (soon) |
| Samples |
WAV + synth demo bank |
Record from line/mic |
| Hardware sign-off |
Needs Ash’s card boot + log |
— |
License
MIT. Community docs from SampleBoot, MPC-600-S, and sample-base informed the packaging and hardware notes; no AGPL source is vendored into this tree.
Product vision
Tombola vision + phased plan live in the Project docs (tombola-vision.md / mpc-sample-os-plan.md). Short version: generative geometric tombola on MPC Sample, not a Melodee clone.