Skip to content
CW
Navigation

Language

Navigation

Back to Blog
03 Dec 2026 4 min read 12 Views
MSXScope: Extract the Music From Your MSX Cartridges

MSXScope: Extract the Music From Your MSX Cartridges

Meet MSXScope: it plays VGM, extracts the soundtrack straight from an MSX cartridge and exports it to WAV, MP3 or MIDI. Open source and free.

The music was never in the recording

For years, the only way to listen to MSX music on a PC was to record an emulator and hope the loop did not click. That always felt wrong to me. The music of an MSX game is not a wave file — it is a stream of register writes, a few kilobytes of instructions telling two tiny chips what to do. If you keep those writes, you keep the music itself.

That idea became MSXScope, a desktop player that does exactly that: it opens the writes, plays them through faithful chip emulation, and shows you every voice while it happens.

Two chips, eight voices, zero samples

The MSX sound is the AY-3-8910 PSG — three square channels, noise and envelopes — plus, in the games that carry one, the Konami SCC: five wavetable channels with a warm, almost analog character. Together that is up to eight voices, rendered from scratch at 4-8x oversampling.

Spectral comparison against openMSX recordings sits at 0.998. That is not "close enough"; that is the chip.

The part that still feels like magic: ripping a soundtrack from a cartridge

Here is the feature I keep coming back to. Point MSXScope at a cartridge ROM and it runs the game's own sound driver inside a small in-process MSX, then captures every song as a VGM. One button, the whole soundtrack.

No manual ripping. No hunting for the music routine. No guessing which bytes are notes. The game plays its own music, and MSXScope writes it down.

MSXScope extracting the soundtrack from an MSX cartridge

Point at a cartridge, let MSXScope recognise the game and press extract.

The assistant also recognises the game and can drive openMSX for you when that is the better route — it downloads and installs it, so you do not have to assemble a toolchain first.

A player worth staring at

MSXScope is not a command line with a window. It shows the spectrum, a piano roll, per-channel strips with note, volume and pan, and a playable piano that uses the song's own instruments.

MSXScope showing the PSG and SCC channels of an extracted song

Every channel of both chips, live, while the song plays.

Packs fold, songs rename and delete, the keyboard drives the list and the transport has a real AT END: loop / next / stop choice.

Make it sound the way you want

The automatic mixer analyses the notes, finds the tune, the bass, the arpeggios, the pads and the drums, then gives each one its own level, pan, tone, echo and reverb. On top of that, a compressor and a limiter.

And then you can take the music with you: export the current song or a whole list to WAV, MP3 or MIDI, with loops repeated, a fade-out and everything normalised to -14 LUFS. The MIDI carries the detected tempo, notes on a 16th grid, arpeggios as held chords and vibrato as pitch bend.

It is also a library

The player is built on a package you can use in your own game:

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

engine.PlaySong("stage_a");
engine.PlaySample("jump");

There is a MonoGame bridge with a streaming player and a host that keeps library, engine and player in sync. A whole soundtrack ends up smaller than a single PNG.

Go break a cartridge

MSXScope is free, open source and runs on Windows, Linux and macOS. It ships no ROMs and no extracted music: you bring your own cartridge, and the extraction happens on your machine.

What I want to hear

I want to know which soundtrack you would extract first. And if you build something with the library — a game, a remix tool, a visualizer — tell me, because that is the whole point of shipping it.

If you like this kind of reconstruction, the other project is just as obsessive: rebuilding King's Valley (1985) from the cartridge.

Cezar Wagenheimer

Written by

Cezar Wagenheimer

Share this article

Comments

Have a question, or found an issue with the code? Drop a comment below — I read and reply to every one.

Loading comments…

Leave a comment

Keep exploring

Deploy // Reconectando
Reconectando ao Servidor

Uma nova versão do ecossistema está sendo aplicada. A conexão será restabelecida automaticamente em instantes.