A native live-coding music engine.

rustel runs Strudel, Tidal, Mondo, mini-notation, and SuperCollider (experimental) natively in an embedded terminal Studio, your editor, or the browser (beta). One binary. No server.

Fully compatible with strudel.cc patterns. Bring your code here, check the compatibility docs, or join the TZFM Discord.

# Install

curl -fL https://rustel.cc/install | bash

Open a new terminal, run rustelup, then rustel studio to start.

Apple Silicon & Intel · Installation guide · Build from source

No install yet? Try it at vm.rustel.cc: the same studio, on Linux, in your browser. Sound runs much slower there than on a native install.

curl -fL https://rustel.cc/install | bash

Open a new terminal, run rustelup, then rustel studio to start.

x86_64 & ARM64 (including WSL 2) · Installation guide · Build from source

No install yet? Try it at vm.rustel.cc: the same studio, on Linux, in your browser. Sound runs much slower there than on a native install.

irm https://rustel.cc/install.ps1 | iex

Run in PowerShell, then open a new terminal, run rustelup, and rustel studio.

Windows 10+ x86_64 · Installation guide · Build from source

No install yet? Try it at vm.rustel.cc: the same studio, on Linux, in your browser. Sound runs much slower there than on a native install.

code --install-extension tzfm.rustel-vscode

Install from Marketplace → Requires rustel on PATH · Source
{ "tzfm/rustel-neovim", main = "rustel", lazy = false, opts = {} }

Add to your lazy.nvim plugins. Requires Neovim 0.9+ and rustel on PATH. See rustel-neovim.

Open app.rustel.cc → WebAssembly · No install

Runs the Rustel engine directly in your browser. This version is currently under development and may contain bugs.

# Languages

$: s("bd*2 ~ bd ~").gain(0.85)
$: note("c3 e3 g3 b3").s("sawtooth").lpf(1200).gain(0.3)

Full Strudel syntax. The file extension picks the language, or switch anytime in Studio or with --lang.

d1 $ s "bd*2 ~ bd ~" # gain 0.85
d2 $ note "c3 e3 g3 b3" # s "sawtooth" # lpf 1200 # gain 0.3

TidalCycles-style Haskell syntax. Same engine, no Strudel syntax required.

$ s [bd*2 ~ bd ~] # gain 0.85
$ note [c3 e3 g3 b3] # s sawtooth # lpf 1200 # gain 0.3

Mondo notation with bare brackets and # chains. Runs straight through the native engine.

bd*2 ~ bd ~, hh*8

Bare mini-notation with zero boilerplate. Great for quick rhythms and sketches.

SynthDef(\acid, { |freq = 220, amp = 0.5, cutoff = 1200|
  var sig = RLPF.ar(Saw.ar(freq), cutoff, 0.25).tanh;
  var env = EnvGen.kr(Env.perc(0.01, 0.28), doneAction: 2);
  Out.ar(0, Pan2.ar(sig * env * amp, 0));
}).add;
Pbind(\instrument, \acid, \midinote, Pseq([48, 55, 60, 58], inf), \dur, 0.25).play;

Experimental native SuperCollider frontend. Compiles SynthDef, Pbind, and UGen graphs straight to Rust patterns and DSP with no scsynth server.

# Features

# Studio

1 / 24

Overview

Press Ctrl+Enter to update. Same chord as strudel.cc. The piano roll and the scope follow the pattern.

2 / 24

Languages

Switch live between Strudel, Tidal, Mondo, mini-notation, and experimental SuperCollider in the same set. Open a split with Ctrl+E and hand the sound across languages without stopping the clock.

3 / 24

Widgets

Shift+F1 opens a dock of widgets beside the score. Add a scope, a spectrum, a vectorscope, or the event list. Press a to add one. The pictures move with the music.

4 / 24

Visuals

_pianoroll(), _scope(), _spectrum(), _punchcard(), and the rest draw inside the score. The playhead moves with the clock.

5 / 24

Hydra

await initHydra(), then a chain that ends in .out(), draws behind the code. The picture follows the score. Visuals opacity in Settings sets the strength of the picture.

6 / 24

Kitty pixels

Settings, then Advanced, then rendering, set to Kitty pixels. The scope, the piano roll, and Hydra draw as pictures, at the terminal's own resolution. Performance depends on the terminal and the computer.

7 / 24

Themes

Ctrl+T opens the theme list. Arrow to a theme and press Enter. You can edit a theme. A theme can draw a Hydra background.

8 / 24

Mixer

F4 opens the mixer. The master and each orbit have a meter and a fader. Ctrl+Shift+Up and Ctrl+Shift+Down move the master.

9 / 24

Live input

Ctrl+P opens devices. Enter on audio in picks what s("in") plays. F4 meters and scales it. Audio out shows live output and round-trip latency as you adjust the buffer in Settings, Advanced.

10 / 24

MIDI and Link

Tick per-port in and out boxes for .midi() and midin(). Send or follow 24 PPQN MIDI clock, or join an Ableton Link session to share tempo, start, and stop across DAWs and rustel instances.

11 / 24

Limiter

Open Transport, then Add limiter to set. The master limiter's mixer strip sets the ceiling. Press c to change its mode and b to bypass it. Score-level .limit() is a separate effect.

12 / 24

Mapping

Map twelve slider slots to MIDI knobs, faders, or sticks. Ctrl+L learns a pad to launch a scene immediately or on beat, cycle, or phrase boundaries. Ctrl+Shift+S rewinds from cycle zero.

13 / 24

Samples

Open Reference with Ctrl+F, then Tab to Samples. Right expands a bank. Space previews. Enter inserts or copies. Drop an audio file or folder on the terminal window to import it.

14 / 24

Record a sample

Ctrl+H records from your microphone or voice straight into the recordings bank. Ctrl+J pastes the name into the score. Chop that line, update, and the slice plays.

15 / 24

Chords and scales

Each row draws its notes on a keyboard. Right opens the row. Space plays the chord or the scale. The keys light while it sounds.

16 / 24

Reference

Ctrl+D opens documentation for the function at the caret. Ctrl+F shows names, values, or functions that fit the caret position, or opens the reference to browse and search.

17 / 24

Generator and examples

The generator tab builds a part from a musical direction. The examples tab holds parts, tracks, sound design, and Hydra sketches. Space previews and c copies the code.

18 / 24

Sliders

Ctrl+J on a number offers to make a slider. After you update, the fader sits in the score and also shows up on the mixer so you can reach it without scrolling.

19 / 24

Split

Ctrl+E splits the editor across two scenes. F10 moves the caret across. Update either pane with Ctrl+Enter or F5 to hand the sound over cleanly.

20 / 24

Syntax check

Studio checks the score as you pause, underlining bad calls and naming fixes in the footer. Choose full, on update, or off in Settings.

21 / 24

Settings

Ctrl+O opens settings. Playback, look, samples, controllers, and key bindings are in there. Tab changes page.

22 / 24

Session tapes

The first successful update creates a tape in the set's sessions/ folder recording accepted scores, timing, slider changes, and stops. Open from the set panel or replay from the shell.

$ rustel replay tonight.rustel-session
$ rustel replay tonight.rustel-session --from 600
23 / 24

Record a take

Shift+F11 records the master mix to a 24-bit stereo WAV in ~/.rustel/recordings/. Press the chord again to finish, or use Transport → Reveal last export or take.

24 / 24

Export

Ctrl+Shift+X exports the focused scene. Choose a length in cycles or run until the sound falls quiet. Pick wav or mp3, with the limiter riding along.

Ctrl+Enter
Update and play. Strudel's update chord. A bad update leaves the last good score playing. Ctrl+. stops.
keyboard
Everything is reachable from the keyboard. The mouse works too. Keyboard-only is the easier grip in a live set.
beat
The sounding step lights in your source. The header dot pulses on the downbeat.
Ctrl+D
Open the reference. Every function in the language, inside the editor.
visuals
Piano roll, punchcard, scope, and spectrum as rows in the editor, plus a mixer and a minimap.
editor
Modeless. Selection, undo, redo, bracketed paste. Saves stay off the audio thread.

# Command line, editors & browser

Run the engine from a shell. Watch a file. Bounce a render. Query a cycle. Open Studio.

# play and reload on each stable save
$ rustel song.strudel --watch

# bounce a render
$ rustel render song.strudel -o take.wav --format scalar-wav --duration 60

# check, replay, inspect devices, or query JSON
$ rustel check song.strudel
$ rustel replay tonight.rustel-session
$ rustel devices
$ rustel query -e 'note("c e g").s("piano")' --json

# open Studio
$ rustel studio

The rustel-neovim plugin plays the buffer you have open. Syntax colors the score. Active notes light up as they sound. Scope, piano roll, spectrum, and spiral draw in the buffer.

{ "tzfm/rustel-neovim", main = "rustel", lazy = false, opts = {} }

Neovim 0.9 or newer, and rustel on your PATH. Ctrl+Enter updates. Ctrl+. stops.

The rustel-vscode extension plays the score you have open. Hover a function to read its docs. Completion offers methods, sounds, scales, and chords. Lint marks errors as you type. Active notes light up as they sound.

code --install-extension tzfm.rustel-vscode

Ctrl+Enter
Play or update in VS Code (Cmd on macOS).
Ctrl+Shift+Enter
Play the selection or current line in VS Code.
Ctrl+.
Stop playback.
rustel lsp --stdio
Built-in language server for Emacs, Helix, Zed, or any LSP client.

Runs the Rustel engine directly in your browser at app.rustel.cc. This version is currently under development and may contain bugs.

Open app.rustel.cc → WebAssembly · No install
Engine
Rustel compiled to WebAssembly running locally in your browser.
Editor
Active highlights, inline sliders, autocomplete, and Vim mode.
Visuals
Piano roll, scope, spectrum, spiral, punchcard, and 16-orbit mixer.
I/O
Web MIDI, drag-and-drop samples, URL sharing, and offline WAV export.

# Under the hood

Rust schedules patterns and runs DSP. Sandboxed QuickJS evaluates Strudel JavaScript. Ratatui draws Studio. DSP kernels pick SIMD paths from your CPU for low CPU and memory use. rustel doctor and Studio's About panel show the active kernels.

# Terminal setup and known limits

The Studio guide covers terminal profiles, keyboard fallbacks, and graphics modes.