Skip to content

Getting Started

Install

Rust toolchain is required.

bash
cargo build --release

Basic Commands

You can also try Loom in the browser with Playground from the site navigation. Playground uses a GM-lite browser preview for quick sound without local MIDI setup; it is not a complete General MIDI synth.

Start a MIDI synth first. See Playback for the recommended FluidSynth setup.

bash
# list MIDI ports
loom ports

# one-shot playback
loom play examples/starter/melody-simple.loom

# live coding (hot reload)
loom live examples/starter/melody-simple.loom

# integrated TUI composer
loom studio examples/starter/melody-simple.loom

# save as .mid
loom save examples/starter/melody-simple.loom

Next