Overview
• source code • report an issue
Sektron is a midi step sequencer, made with live performance in mind, that runs in the terminal (TUI). Its main purpose is to mimic the fun and immediacity of hardware sequencers by being entirely controllable via keyboard.
It's heavily inspired by elektron devices.

Features
- Fully (and only) controllable by keyboard
- Customizable keyboard mapping
- Up to 10 midi tracks, that can be attached to specific midi device and channel
- Up to 128 steps per track. The number of steps per track is independent, allowing complex polyrhythms
- Parameters can be set per track or step (parameter locking)
- Up to 64 patterns can be loaded at the same time
- Pattern chaining
Installation
Download the last release for your platform.
Then:
# Extract files
mkdir -p sektron && tar -zxvf sektron_VERSION_PLATFORM.tar.gz -C sektron
# Run sektron
./sektron
You can also build it yourself if your want to.
Usage
Basic commands
# Run sektron
./sektron
# Display current version
./sektron --version
Hit ? to see all keybindings. esc to quit.
MIDI
Sektron doesn't generate sound on its own, but it works seamlessly with MIDI software or hardware. You can connect it to your favorite synthesizers, virtual instruments, or any MIDI-compatible devices for live performances or production.
Some companion apps that receive MIDI for testing Sektron:
Keyboard mapping
Keys mapping is fully customizable. After running Sektron for the first time, a config.json is created.
You can edit all the keys inside it.
You can select one of the default keyboard layouts available:
# QWERTY
./sektron --keyboard qwerty
# AZERTY
./sektron --keyboard azerty
# QWERTY MAC
./sektron --keyboard qwerty-mac
# AZERTY MAC
./sektron --keyboard azerty-mac
Default keyboard mapping
The default key mapping looks like this:

For qwerty keyboards, here's the default mapping:
spaceplay or stoptabtoggle parameter mode (track, record)`toggle pattern bank mode1234567890select track!@#$%^&*()toggle trackqwertyuiqsdfghjkselect step or switch to patternQWERTYUIQSDFGHJKtoggle step or chain pattern,previous step.next step=add track-remove track+add step to the selected track_remove step from the selected trackppage up either steps or patterns if more than 16 items;page down either steps or patterns if more than 16 itemsshift+upincrease temposhift+downdecrease tempoctrl+ccopy selected stepctrl+vpaste selected stepctrl+upadd new midi control to the selected trackctrl+downremove midi control. It will remove the selected oneentervalidate selectionleftmove parameter selection to the leftrightmove parameter selection to the rightupincrease selected parameter valuedowndecrease selected parameter value?show helpescapeorctrl+qquit
Pattern bank
You manage your projects using a bank. When you start the program, you can provide a bank JSON file, or if none is provided, a default file (default.json) will be created or loaded automatically. Each bank can store up to 128 patterns.
./sektron --bank my-patterns.json
The patterns are saved automatically whenever you changes pattern or exit the program, so you never have to worry about losing progress.