PSG · SCC · VGM · .msxaudio

MSX music, straight from the cartridge

MSXScope plays VGM files and .msxaudio packs, shows every channel of the AY-3-8910 and the Konami SCC, extracts the soundtrack from an MSX ROM and exports it to WAV, MP3 or MIDI. Free and open source for Windows, Linux and macOS.

Download MSXScope View source

MSXScope playing a song extracted from a King's Valley cartridge, with live channel meters
Playing a soundtrack extracted from a cartridge. Everything you see is rendered live from the chip registers.
2chips emulated
0.998spectral match with openMSX
5SCC wavetable channels
3export formats

A player built for chip music

Not a sample player: MSXScope renders the register writes themselves, so a song loops seamlessly and every voice is visible while it plays. Per-channel strips show the note, the volume and the pan of each PSG and SCC channel.

MSXScope spectrum view with PSG and SCC channel strips
Spectrum and channel strips: what each of the eight voices is doing right now.
MSXScope piano roll showing the notes of an extracted MSX song
Piano roll: the notes decoded from the chip writes, ready to read or export.
MSXScope mixing profiles applied to an MSX song
Mixing profiles: the automatic mixer balances tune, bass, arpeggios and drums.
MSXScope track list grouped into packs
Packs and tracks: keep a whole game's soundtrack in one library and organise it.

Extract the soundtrack from a ROM

The assistant runs an in-process MSX that executes the cartridge's own sound driver, so the music comes out exactly as the game plays it. No manual ripping, no guesswork.

  1. 01

    Point at the cartridge

    Choose the ROM file. MSXScope identifies the game and the mapper from its own database.

    Selecting an MSX cartridge ROM in MSXScope
  2. 02

    Pick the method

    Use the built-in extractor, or let MSXScope download and drive openMSX as the reference path.

    Choosing the extraction method in MSXScope
  3. 03

    Press extract

    Every song is captured as a VGM and collected into a .msxaudio package you can replay.

    MSXScope extracting every song from an MSX ROM

Export anywhere

Render the current song or a whole list to WAV, MP3 (LAME) and MIDI. Loops are repeated, the end fades out and every track lands at the same loudness (-14 LUFS), so a soundtrack album sounds like an album.

  • MIDI with detected tempo, notes on a 16th grid and arpeggios as held chords
  • Vibrato written as pitch bend, chip volume as expression
  • Optional per-channel stems for remixing
MSXScope export dialog for WAV, MP3 and MIDI
The export dialog: format, loops, fade-out and normalisation.

Use it in your game

The engine is engine-agnostic and targets .NET 10. The MonoGame bridge adds a streaming player, so a game can ship a few kilobytes of VGM instead of megabytes of audio.

dotnet add package Wagenheimer.MsxAudio
dotnet add package Wagenheimer.MsxAudio.MonoGame
using Wagenheimer.MsxAudio.Songs;
using Wagenheimer.MsxAudio.Playback;
using Wagenheimer.MsxAudio.Mixing;

using var library = MsxAudioLibrary.Load("Content/Audio/kingsvalley.msxaudio");
using var engine  = new MsxAudioEngine(library, AudioProfile.Auto);

engine.PlaySong("stage_a");   // the loop comes from the manifest
engine.PlaySample("jump");    // short VGM or WAV clip

The package format, the CLI tool and the validation notes are documented in the repository README.

Download

MSXScope v1.3.0 is self-contained: unpack it and run, no .NET install needed.

macOS may ask to confirm the first launch because the app is not code-signed. The profiles/ folder with ready-made extraction profiles travels with the player.

Frequently asked questions

What is MSXScope?

MSXScope is the desktop player that ships with the MsxAudio repository. It plays VGM files and .msxaudio packages, shows every PSG and SCC channel in real time, and extracts the soundtrack of an MSX cartridge into VGM files you keep.

Can I play MSX music without the original hardware?

Yes. MSXScope renders the PSG and the SCC in software at 4-8x oversampling, so a VGM or an extracted pack sounds like the chip without an MSX, an emulator or a capture card.

How do I extract music from an MSX ROM?

Open the extraction assistant, choose the cartridge, let it recognise the game and press the button. It can drive openMSX, which it downloads and installs for you, or use the built-in extractor. Every song is written as a VGM and collected into a .msxaudio package.

Does it support Konami SCC games?

Yes. The SCC (K051649) is emulated with the MAME/libvgm core: five wavetable channels, key-on at 0x8F, and channel 5 sharing the wave of channel 4.

Can I export the music to MP3 or MIDI?

Yes. Export the current song or a whole list to WAV, MP3 and MIDI, with loops repeated, a fade-out and loudness normalised to -14 LUFS. The MIDI carries the detected tempo, notes on a 16th grid, arpeggios as held chords and vibrato as pitch bend.

Do I need openMSX?

No. openMSX is the reference path and improves recognition for some cartridges, but the built-in extractor works on its own. When openMSX is used, the player fetches it from the project's own releases.

Is it free?

The code is MIT licensed, and both the player and the library are free to use, including in commercial games. ROMs and extracted game music are not distributed: you supply your own cartridge.

Can I use the library in my own game?

Yes. Wagenheimer.MsxAudio is engine-agnostic and targets .NET 10; Wagenheimer.MsxAudio.MonoGame adds a streaming player and a host that keeps library, engine and player in sync.