2 min read

trk

Table of Contents

trk is a terminal tracker and music environment that brings pattern and sequence editing, sample playback, native audio DSP, MIDI I/O, and deterministic transforms directly into your shell.

It combines a Ratatui and Crossterm interface with a multi-crate Rust architecture, offering realtime and offline audio rendering, sample management, parameter locking, and reviewable AI-assisted composition edits.

Highlights

  • Responsive terminal tracker interface with Pattern, Sequence, Sampler, DSP Rack, and browser views.
  • Keyboard note entry, velocity, instrument, volume, pan, delay, effect columns, row insert/delete, copy/paste, and undo history.
  • MIDI output routing with port listing, TUI connection, panic/all-notes-off, and channel assignments.
  • MIDI input recording into active pattern rows with clock synchronization.
  • WAV sample loading, waveform inspection, amplitude envelopes, and multi-mode looping (one-shot, forward, backward, ping-pong, reverse).
  • Native per-track and master DSP chains shared by realtime audio playback and offline export.
  • Parameter locks for sampler, mixer, and native DSP parameters on individual pattern rows.
  • Offline audio export for stems and WAV files, plus Strudel browser live-coding export.

Quick Install

brew install delaudio/tap/trk

Read the documentation →