| Crates.io | ym2149-replayer-cli |
| lib.rs | ym2149-replayer-cli |
| version | 0.9.0 |
| created_at | 2025-12-03 15:09:34.653592+00 |
| updated_at | 2026-01-15 17:26:15.61095+00 |
| description | Command-line player for YM chiptune files |
| homepage | https://ym2149-rs.org |
| repository | https://github.com/slippyex/ym2149-rs |
| max_upload_size | |
| id | 1964206 |
| size | 248,832 |
A feature-rich command-line player for YM2149/AY-3-8910 chiptune files with a modern TUI interface.

TUI player showing oscilloscope, spectrum analyzer, channel levels, and song metadata

Playlist overlay with type-ahead search for browsing music collections
# Clone the repository
git clone https://github.com/slippyex/ym2149-rs.git
cd ym2149-rs
# Build and install
cargo install --path crates/ym2149-replayer-cli
The binary will be installed as ym-replayer.
# Play a single file
ym-replayer song.ym
# Browse a directory of chiptunes
ym-replayer ~/music/chiptunes/
# Disable the ST-style color filter
ym-replayer --no-color-filter song.sndh
# Show help
ym-replayer --help
| Key | Action |
|---|---|
Space |
Pause/Resume playback |
1-9, 0 |
Toggle mute for channels 1-10 |
Up |
Next subsong |
Down |
Previous subsong |
Left / Right |
Decrease/Increase volume |
. / > / ] |
Next song (playlist mode) |
, / < / [ |
Previous song (playlist mode) |
p |
Open/Close playlist overlay |
q |
Quit |
| Key | Action |
|---|---|
Up / Down |
Navigate list / Jump to matches when searching |
Page Up / Page Down |
Scroll by 10 items |
Enter |
Play selected song |
Type any character |
Start type-ahead search |
Backspace |
Delete last search character |
Esc |
Clear search / Close overlay |
p |
Close overlay |
| Format | Extension | Description |
|---|---|---|
| YM | .ym |
Leonard/Arnaud Carré format (YM2, YM3, YM5, YM6) |
| AKS | .aks |
Arkos Tracker 2/3 songs (supports multi-PSG) |
| AY | .ay |
ZX Spectrum ZXAY/EMUL format |
| SNDH | .sndh |
Atari ST format with 68000 emulation |
The CLI is built on top of the ym2149-rs ecosystem:
ym2149-replayer-cli
├── ym2149-core # Core YM2149 chip emulation
├── ym2149-ym-replayer # YM format parser and player
├── ym2149-arkos-replayer # Arkos Tracker format support
├── ym2149-ay-replayer # AY/EMUL format support
├── ym2149-sndh-replayer # SNDH format with 68000 emulation
└── ym2149-common # Shared types and traits
| Option | Description |
|---|---|
--no-color-filter |
Disable the ST-style color filter (enabled by default) |
--chip <mode> |
Select synthesis engine (currently only ym2149) |
-h, --help |
Show help message |
The TUI mode requires a terminal with at least 80 columns and 24 rows. If the terminal is too small, the player falls back to a simple text-based visualization.
# Play a classic Atari ST tune
ym-replayer music/mad_max_tune.sndh
# Browse your entire chiptune collection
ym-replayer ~/Music/Chiptunes/
# Play an Arkos Tracker song with color filter disabled
ym-replayer --no-color-filter demo.aks
RUST_LOG=debug for more informationThis project is licensed under the MIT License - see the LICENSE file for details.