Zeptomech guide

zeptomech is a bigger, handheld sample player based on the open-source Zeptocore by Infinite Digits. zeptomech adds high quality mechanical key switches, eight dedicated control knobs, hardware MIDI in and out on 3.5 mm TRS jacks, and RGB LEDs. The keypad, modes, effects and sequencer work as on Zeptocore; this guide notes where zeptomech differs.

zeptomech runs a customized firmware based on Zeptocore (v8.1.0).

Overview

Zeptomech plays stereo 16-bit audio at 44.1 kHz from a microSD card, then lets you slice, retrigger, sequence, and process it immediately from the keypad and knobs.

Specifications and highlights

  • Audio: mono or stereo 16-bit files with internal 32-bit processing at 44.1 kHz.
  • Sample library: up to 256 files arranged as 16 banks of 16 samples on microSD storage (tested up to 64 GB).
  • Voices: one stereo sample voice and one monophonic wavetable bass voice with smooth crossfading.
  • Effects: 16 realtime effects plus per-effect parameters and probability.
  • Sequencing: realtime, optionally quantized sequencing without a required time signature.
  • Hardware: 20 RGB backlit mechanical key switches, compatible with either Kailh Choc V1 or Cherry MX switches.
  • Controls: a 5 × 4 keypad and X/Y/Z knobs (like Zeptocore) plus eight dedicated control knobs.
  • Connectivity: USB MIDI in and out, hardware MIDI in and out over 3.5 mm TRS jacks, clock sync input and optional sync output.
  • Power: USB-C, or an optional LiPo battery.
  • Portable sound: a small built-in speaker for standalone playback.
  • Processor: RP2350.

The Zeptomech's jacks, card slot, USB-C port and switches, labelled around the device

Ports and switches.

Goals

  • Open source: firmware and tools remain available for study and modification.
  • Low learning curve: the instrument is playable immediately, while the guide reveals deeper behavior.
  • Unquantized by default: sequences are not forced into a 4/4 grid.

Intentional limits

  • Like Zeptocore, it is opinionated rather than designed to imitate another sampler.
  • Its synthesis is intentionally focused: a monophonic wavetable bass voice complements the sample voice.
  • Playback uses two carefully crossfaded voices; sync multiple devices for more layers.

Quick start

  1. Power on. A preloaded sample starts automatically.
  2. Press keys 1–16 to jump between slices.
  3. Hold one slice key and press another to retrigger; the second key sets the rate.
  4. Turn the dedicated knobs for volume and tempo, or hold A and turn Knob X for volume and hold B and turn Knob Z for tempo or Knob Y for pitch.
  5. Hold B, press a bank key, then a sample key to choose among 16 × 16 files, or turn the sample knob.
  6. In Jump mode, hold A and press 1–16 to toggle an effect.

Press any of keys 1 through 16 to jump to that slice

Jump between slices.

Hold one slice key and press another to retrigger

Retrigger a slice.

Hold B, then press a bank key and a sample key

Choose a bank and sample.

Modes, controls, sequences, and saves

Jump makes the keypad perform slices, Mash makes it control effects, and Bass makes it play notes. Hold an effect key in Mash mode and turn Knobs X/Y to edit its parameters or Knob Z to change its probability. Hold A, B, C or D while turning Knob X, Y or Z for the functions below; the eight dedicated knobs cover the most used ones without a button.

Zeptomech buttons, keys and knobs by name

Button and knob names used throughout this guide.

Action Combination Mode Behavior
Jump mode A + B Any Return to the default performance mode. Keys 1–16 jump between slices, create short loops, or retrigger audio.
Mash mode A + C Any Turn keys 1–16 into effect toggles. Momentary FX mode can make an effect active only while its key is held.
Bass mode A + D Any Turn keys 1–16 into notes for the monophonic bass voice.
Jump 1–16; or A + 1–16 in Mash mode Jump / Mash Crossfade immediately to the selected slice. Slice positions are prepared in the sample tool.
Jump page lock D Jump Cycle the jump keys through the current, first, second, and third slice pages. The C and D LEDs show the selected page.
Retrigger 1–16 + 1–16 Jump Hold a slice key, then press a second key to retrigger it. Key 1 is the fastest rate and key 16 the slowest.
Loop slices 1–16 + 1–16 + 1–16 Jump Hold three slice keys to loop playback between the selected slice positions.
Octave +1 A + 1–16 Bass Play the selected bass note one octave higher.
Tempo B + Knob Z; tempo knob; A + repeated B taps; A + B + 1–16 Any B + Knob Z sets about half to 1½ times the sample BPM; the tempo knob sets 60–240 BPM, or the sample's own BPM when fully counter-clockwise. Tap a tempo from 30–300 BPM, or select a predefined tempo with keys 1–16.
Pitch B + Knob Y Any Change pitch independently of tempo, with a neutral zone around the center. Opposing high-tempo/low-pitch settings can create especially unusual textures.
Volume A + Knob X; volume knob Any Adjust output volume. Fully counter-clockwise mutes; very high settings can clip some source files.
Change bank and sample B + 1–16 + 1–16 Any While holding B, choose a bank and then a sample. The old sample fades out in about 10 ms and the new sample starts at the corresponding position.
Change sample with a knob C + Knob X; sample knob Any Browse and load samples with a knob instead of the two-key bank/sample selection.
Filter A + Knob Y; filter knob Any Left of center sweeps a low-pass filter, right of center a high-pass filter; the center leaves the sound open. Hold A while turning the filter knob for low-pass across its whole range, or B for high-pass.
Realtime stretch A + Knob Z Any About 1×–16×, with finer adjustment at the low end; the lowest range (below about 1.1×) bypasses stretching.
Random sequencer B + Knob X; random-sequence knob Any Choose how many steps a random sequence may use. Fully clockwise rerolls it; B + A rerolls one random step.
Mute B + C Any Mute audio while playback and clocking continue.
Start / stop B + D Any Stop audio and playback, or restart playback from the first beat.
Select sequence C + 1–16 Any Select one of 16 sequence slots for the current mode. Jump, Mash, and Bass each have their own 16 slots.
Play / stop sequence C + B Any Toggle playback of the selected sequence; while recording, this ends the recording.
Record / delete sequence C + D Any Record actions and the time between them at 1/96-beat resolution. Make one final press to set the last step duration. The same combo deletes an existing selected sequence.
Chain sequences C + empty slot + filled slots Any Hold C, choose an empty destination, then press existing sequence slots in order. Release C to create and save the chain.
Quantize C + Knob Z Any Increase quantization for the currently playing Jump, Mash, or Bass sequence.
Random tunnel C + Knob Y Any Adjust the chance of tunneling, where playback jumps to a neighboring sample in the current bank.
Select save D + 1–16 Any Select one of 16 slots for a saved device state.
Load save D + B Any Load settings from the selected save slot.
Create save D + C Any Store the current settings in the selected save slot.
Random jump D + Knob X; random-jump knob Any Adjust the probability of random slice jumps. On the random-jump knob the probability is highest at the center; the left half keeps playback aligned to its beat and the right half lets it drift.
Random effects D + Knob Y; grimoire probability knob Any Adjust the probability that effects from the selected random-effects bank will activate.
Random-effects bank D + Knob Z; grimoire knob Any Select which prepared bank of effects (grimoire rune) is used by random effects. Configure the bank contents in the sample tool.
One-shot 5 + 6 + 5 Any Toggle one-shot playback for the current sample so it stops at the end instead of looping.
Change play mode 7 + 8 + 7 Any Cycle the current sample between its available playback modes.
Slice playback 1 + 2 + 1 Any Toggle the current sample's slice-playback behavior.
Tempo match 5 + 6 + 7 + 8 Any Match playback speed using the ratio between the sample BPM saved by the tool and the current tempo.
Sequence lock 1 + 2 + 3 + 4 Any Keep a sequence synchronized to the global clock so performance jumps return to the intended beat position. Enabled by default.
Randomize sequence 6 + 7 + 11 + 10 Any Replace normal playback with a generated sequence. Holding a length key rerolls it; with Random Fill, a new sequence appears every 32 beats.
Random fill 10 + 11 + 15 + 14 Any Toggle an automatically generated fill at the end of a sequence.
Momentary FX mode 1 + 4 + 16 + 13 Any Switch Mash mode between latched effect toggles and effects that remain active only while held.
TRS MIDI out 9 + 13 + 12 + 16 Any Toggle sending notes and CCs to the TRS MIDI output. The display confirms MIDI TRS ON or MIDI TRS OFF. Clock, start and stop always go out on TRS.
Sync out 13 + 9 + 5 + 1 + 15 + 11 + 7 + 3 Any Toggle a clock pulse on the left output channel for external sync. The display confirms SYNC ON or SYNC OFF.
Retrigger pitching 9 + 10 + 11 + 12 Any Toggle random upward or downward pitch movement during retriggers.
Retrigger volume ramps 13 + 14 + 15 + 16 Any Toggle volume ramps during retriggers. This behavior is enabled by default.
Kick layering A + D + 1–16; or 13 + 10 + 7 + 16 Any Choose and level one of 16 built-in kicks, then layer it at kick positions detected in the prepared sample.
Kicks only 4 + 7 + 10 + 13 Any Restrict sequence playback to detected kick positions. The display changes between KICKS and NORM.
Snares only 13 + 10 + 7 + 3 Any Restrict sequence playback to detected snare positions. The display changes between SNARES and NORM.

Dedicated knobs

The eight dedicated knobs, labelled 1–8 in two rows of four below X, Y and Z, act without holding a button, and send the same MIDI CCs as their button-and-knob equivalents.

Knob Function Same as
1 · Volume Output volume A + Knob X
2 · Tempo 60–240 BPM; fully counter-clockwise uses the sample's own BPM B + Knob Z
3 · Sample Browse and load samples C + Knob X
4 · Filter Low-pass left of center, high-pass right of center; hold A for low-pass or B for high-pass across the whole range A + Knob Y
5 · Grimoire Random-effects bank (rune) D + Knob Z
6 · Grimoire probability Random-effects probability D + Knob Y
7 · Random sequence Random sequence length B + Knob X
8 · Random jump Jump probability, highest at the center; left half stays on the beat, right half drifts D + Knob X

Visual control diagrams

Tap sequences are quick taps in the order shown; the firmware matches them after a short pause.

Hold A and press B for Jump mode
Jump mode
Hold A and press C for Mash mode
Mash mode
Hold A and press D for Bass mode
Bass mode
Hold A and tap B in time to set the tempo
Tap tempo
Hold C and turn Knob X to select samples
Sample selection
Hold C and turn Knob Z to quantize
Quantize
Hold B and press C to mute
Mute
Hold B and press D to start or stop
Start / stop
Hold C and press a key to select a sequence
Select sequence
Hold C and press D to record or delete a sequence
Record sequence
Hold C and press B to play or stop a sequence
Play sequence
Hold C, press an empty slot, then filled slots in order
Chain sequences
Tap keys 1, 2, 3 and 4 in order to toggle sequence lock
Sequence lock
Tap keys 6, 7, 11 and 10 in order to randomize the sequence
Random sequence
Tap keys 10, 11, 15 and 14 in order to toggle random fills
Random fill
Tap keys 1, 4, 16 and 13 in order to toggle momentary effects
Momentary FX
Tap keys 5, 6 and 5 in order to toggle one-shot
One-shot
Tap keys 13, 9, 5, 1, 15, 11, 7 and 3 in order to toggle sync out
Sync out
Tap keys 9, 13, 12 and 16 in order to toggle TRS MIDI out
TRS MIDI out

The 16 effects

To toggle an effect, hold A and press its key in Jump mode, or press the key directly in Mash mode. To edit an effect, switch to Mash mode (A + C), hold its key alone and turn Knobs X/Y for its parameters and Knob Z for its activation probability. Effects keep these settings when they are turned off and on again, including after the random effects (grimoire) have used them.

Effect icons on keys 1–16 of the zeptomech keypad

Effect positions on the 4 × 4 keypad.

Effect Key Knob X Knob Y Sound
Saturation 1 Preamp — Adds warmth, depth, and loudness with a double-sine shaping technique.
Loss 2 Loss type Loss amount Simulates worn tape or faulty radio transmission with controllable character and degradation.
Fuzz 3 Preamp Postamp Adds rich fuzz-like distortion with gain control before and after the effect.
Bitcrush 4 Bits Frequency Reduces bit depth and sample frequency for early-digital textures.
Timestretch 5 — — Slows playback by eight times without changing pitch, using live grains; with realtime stretch (A + Knob Z) also set, the larger amount applies, up to 16×.
Delay 6 Feedback Duration Adds a feedback delay that can be driven into intense clipped textures.
Comb filter 7 Left spread Right spread Uses a very short delay to create metallic resonance and stereo movement.
Repeat 8 Duration — Loops audio around suitable zero crossings and can reach audio-rate repetition.
Tighten 9 Duration — Gates the end of each step for a shorter, more defined sound.
Expand 10 Expanse Dry / wet Creates a reverberant expansion; combining it with many effects can tax the processor.
Circulate 11 Rate Depth Moves audio dynamically between the left and right channels.
Scratch 12 Rate — Simulates a record scratch by changing playback speed rapidly.
Lower 13 Duration Depth Sweeps a low-pass filter to emphasize lower frequencies.
Pitch 14 Duration Depth Moves pitch independently of tempo, allowing split or doubled beats at speed extremes.
Reverse 15 — — Reverses audio playback and, outside a running sequence, its playback direction.
Tapestop 16 Duration — Drops pitch gradually and halts playback like a stopped tape machine.

Preparing and uploading samples

Samples must be prepared as 44.1 kHz, 16-bit audio. Two tools do this:

  • Zeptomech sample manager, a desktop app built from the Zeptomech firmware repository (make -C sample-manager zeptomech). It keeps a project folder in the card's layout, so you can open the microSD card itself, or a copy of it, and edit it directly. It also installs firmware and shows the device visualizer. Its workflow follows the _core sample manager guide.
  • Or use the original Zeptocore online sample tool in Chrome or Firefox, which produces a zip of bank folders.

Both accept WAV, AIFF/OP-1 kits, FLAC, MP3, Renoise XRNI splices, and Morphagene WAV reels.

Sample preparation tool interface

Prepare, slice, tempo-tag, and arrange samples.

SD card bank folder structure

The card holds one folder per bank, bank0–bank15.

Transfer to the SD card

With the sample manager, save the project and copy the folder to the card (or work on the card directly). With the Zeptocore online tool:

  1. Finish arranging samples, then choose Download .zip in the tool.
  2. Unzip the download and copy its bankX folders to the microSD card.
  3. Banks are zero-indexed: bank0 is the first bank. Rename a folder to move it to another slot.

The sample manager's Default samples installs the Infinite Digits default bank set as a new project. The Zeptocore drum sample pack (393 MB) and melodic + drum pack (853 MB) also work.

Card settings

The sample manager's Settings edits the settings stored on the card, including the MIDI receive channel, LED brightness, startup playback (play immediately or wait for a clock or button), start tempo, whether Knob X alone selects samples, and momentary Mash mode. Copy the settings to the card and restart zeptomech to apply them.

Kick detection and layering

The sample tool estimates kick and snare positions with a drum-separation model. Unlike interval or manually placed slices, those transients drive the Kicks/Snares playback modes and kick layering.

Four detected kick positions in the sample tool

Estimated kick positions shown in the sample tool.

Original drum loop

🔊 amen_beats8_bpm172

Separated kick stem

🔊 bombo

MIDI and clock

Zeptomech is class-compliant USB MIDI, appearing as zeptomech, and also has hardware MIDI in and out on 3.5 mm TRS jacks. It sends button, knob, timing-clock, start, and stop data, and follows incoming notes, CCs, start/stop/continue and timing clock from either USB or TRS. Connect it to a computer for DAW sync or route a controller with midi2midi.

Function Sent Received Notes
Basic channel 1–6 1 (setting) Sent: 1–3 Jump/Mash/Bass buttons; 4–6 their sequencers. Received: the card's MIDI receive channel
Note On / Off Yes Note On Sent: notes 0–31, velocity 127/0. Received: Note On selects slice note % slices of the current sample
CC 7 Yes Yes Volume
CC 12 / 13 / 14 Yes No Knobs X / Y / Z
CC 15 / 16 Yes Yes Tempo / pitch
CC 18 Yes Yes Random sequence
CC 19 / 20 Yes Yes Filter / realtime stretch
CC 21 / 22 Yes Yes Sample select / random tunnel
CC 23 / 24 Yes Yes Sequencer quantize / random jump
CC 25 / 26 Yes Yes Random-effects probability / random-effects bank
System Exclusive Yes Yes USB only: status text, and the management commands used by the sample manager
Timing Clock Yes Yes 24 pulses per quarter note
Start / Continue / Stop Start, Stop All MIDI realtime transport

The dedicated knobs send the same CCs as their button-and-knob equivalents.

TRS MIDI

Clock, start and stop always go out on the TRS output. Notes and CCs go out on TRS only after the 9 + 13 + 12 + 16 combo turns TRS MIDI out on (the display shows MIDI TRS ON). TRS input is always on.

Clock

While pulses arrive at the clock input, they set the tempo and incoming MIDI clock is ignored. About a second after the pulses stop, zeptomech follows MIDI clock from USB or TRS again.

Set the receive channel

In the Zeptomech sample manager, open Settings → MIDI receive channel and choose 1–16. There is no Omni mode. Copy the settings to the card and restart to apply.

SysEx

Text messages use the format F0 7D <text> F7, where 7D is the MIDI manufacturer ID for non-commercial use. Hosts send management commands as F0 7D core_cmd=1,<command> F7 (hello, version, bootloader, info, slices, view, key,<n>); zeptomech answers in the same form, and answers commands sent without 7D without it too.

Visualizer

With the visualizer firmware build, the sample manager's Visualizer shows the playing sample's waveform, the active slice and a playhead, using the waveforms of the project you have open.

Firmware and updates

Zeptomech firmware is the Zeptocore firmware (currently v8.1.0) with Zeptomech changes, kept in the Zeptomech firmware repository on the zeptomech-v8 branch. Releases are published there as zeptomech_vX.Y.Z.uf2; a _visualizer build adds the device visualizer. Zeptocore firmware does not run on zeptomech: it uses an RP2350, not an RP2040.

At power-on the LEDs show M while the card is prepared, then the version, for example zv8.1.0.

Install with the sample manager

  1. Open Device → Firmware in the Zeptomech sample manager.
  2. Choose a release and Download UF2, or Choose local UF2 for a file you built.
  3. Use Reset to bootloader (over USB MIDI), or enter the bootloader by hand (below). A drive named RP2350 appears and is selected.
  4. Click Install firmware and confirm. zeptomech restarts when the copy finishes.

The sample manager accepts only Zeptomech firmware for the RP2350.

Upload a UF2 by hand

  1. Put zeptomech in bootloader mode.
  2. Wait for a drive named RP2350 to appear.
  3. Drag zeptomech_vX.Y.Z.uf2 onto that drive.
  4. When the drive disappears, the update is complete and zeptomech restarts.

Build firmware from source

Install CMake, Python, Git, a C++ compiler, and the Arm GNU embedded toolchain. The repository Makefile retrieves the Pico SDK 2.3.1 and builds the target:

git clone -b zeptomech-v8 https://github.com/okyeron/_core
cd _core
make zeptomech

This writes zeptomech.uf2. make zeptomech ZEPTOCORE_VISUALIZER=ON builds the visualizer firmware. Windows users can run the Linux workflow through WSL 2.

Source and hardware

zeptomech firmware and tools live in the Zeptomech firmware repository, a fork of the _core repository by Infinite Digits that also builds the Zeptocore, Ectocore and Ezeptocore firmware. Zeptomech changes sit behind a build option, so the upstream targets are unchanged.

zeptomech is based on Zeptocore, whose schematic is open source and is available in the Zeptocore guide.

Troubleshooting and common questions

Why does zeptomech shut down unexpectedly?

Check the LiPo battery's charge, then test on USB-C power.

Why do I hear occasional glitches or dropouts?

MicroSD latency varies greatly, regardless of A1/U3 or “high speed” labels. Known good families include Gigastone 16/32 GB, SP Elite, SanDisk Extreme, Samsung EVO, PNY Elite, and MicroCenter. Avoid Lexar, Kootion, SanDisk Ultra, Kingston, and unreliable cards. zeptomech usually recovers from a delayed read, but a severe stall can require a restart.

Why does the sample tool not show waveforms?

Use a current Chrome browser for the most reliable waveform and Web MIDI support. Firefox can prepare samples, but does not provide the same MIDI integration.

Why is USB MIDI not working on macOS?

Use a USB-A data path or adapter rather than a direct USB-C/Thunderbolt bus if the device is not detected. In System Settings → Privacy & Security, set Allow accessories to connect to Automatically When Unlocked. The MIDI port is named zeptomech.

How do I identify my firmware version?

At power-on, the LEDs show M while the card is prepared, then the installed version, for example zv8.1.0. The sample manager's Device → Connection can also ask for the version.

How does zeptomech compare with Zeptocore?

Feature Zeptomech Zeptocore
Processor RP2350 RP2040
Knobs X / Y / Z and eight dedicated knobs X / Y / Z
MIDI USB and TRS, in and out USB in and out; MIDI in through the CLOCK jack
Power USB-C or optional LiPo Two AAA batteries or USB-C
Storage microSD, tested up to 64 GB microSD up to 32 GB
Firmware zeptomech_vX.Y.Z.uf2 zeptocore_vX.Y.Z.uf2

Friends and further instruments

Zeptomech builds on Zeptocore by Infinite Digits. These independent instruments share a similarly compact, exploratory spirit: