Skip to content

Master290/cli-modplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cli-modplayer

A console MOD tracker player for Linux inspired by tools like ProTracker. The app streams audio through PortAudio, loads songs with libopenmpt, and shows a live channel grid in the terminal using FTXUI. Watch the showcase video

Features

  • Plays the tracker formats handled by libopenmpt (.mod, .xm, .s3m, .it, ...).
  • Color grid with vertical channel panels that fall like in ProTracker, fitting the visible channels, paging through the rest, listing the next rows, and fading notes for earlier and upcoming beats.
  • Live VU bars above every column to display channel power with peak markers that decay over time.
  • Keyboard shortcuts for pause, order jumps, and fast row scrubbing.
  • Toggle overlay with tracker info, counts of instruments and samples, and a slice of the module message.
  • Gentle status strip that confirms actions without covering the pattern view.
  • Runs entirely inside the terminal.

Prerequisites

Install packages with your distro manager. Example for Debian and Ubuntu systems:

sudo apt install g++ cmake libopenmpt-dev portaudio19-dev libncursesw5-dev

Build

cmake -S . -B build
cmake --build build

Run

./build/modtracker /path/to/song.mod

New thing: Simple mode

./build/modtracker /path/to/song.mod --simple
It has no pattern view, only metadata, seekbar and some key bindings for comfortable use.

Or you can download one of the prebuilt binaries in the "Releases"
Or download one from GitHub workflow artifacts.

Key bindings inside the UI:

- `Space` — pause or resume playback
- `` / `` (or `h` / `l`) — jump to the previous or next order
- `[` / `]` — move backward or forward by 8 rows inside the order list
- `PgUp` / `PgDn` (or `u` / `d`) — page through channel columns when the module has more than four channels
- `N` — show or hide the info overlay
- `Q` — quit the program


### TODO
add crossplatform support (windows and mac)
uhh idk

About

MOD/XM/IT module player for Linux that runs in the terminal.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published