11 March 2016 - Forum Rules

Main Menu

Converting from... to nsf files

Started by ultimaweapon, February 10, 2019, 01:58:45 AM

Previous topic - Next topic


I see programs that allow to to convert nsf files to wav or midi files, but is there a program that allow you to convert midi or wav files to nsf files?
Trust in the Heart of the Cards


Technically, yes... you can import a MIDI file into Famitracker (an NES composition tool for Windows) and export the project as an NSF file. The nice thing about that is that you'd be able to tweak the song in Famitracker if the import doesn't go as smoothly as you'd like.

If you Google "MIDI to Famitracker" you'll get a lot of useful results regarding how to do this.


Unless I'm mistaken, Famitracker's NSF output uses it's own engine.  Which is fine if you just want to listen to an NSF file, but it is practically useless if you are looking to actually edit the music in game.  Similarly, NSF to MIDI is a relatively easy conversion to make, but MIDI to NSF while preserving the original engine and music format is all but impossible.

NES music is challenging because there wasn't really a standard music format, and each game pretty much does its own thing as far as the way the music data is stored (though there's some overlap in some games --- for example Capcom used the same music driver for multiple games).

As far as I know there are not any general solutions to editing music in NES games.  Common solutions either use game specific tools, or involve editing the score by hand.

... though I am currently working on a super secret project (general purpose music editor) which I'm hoping will address this, but it's a complicated project that I'm working on in my free time and I may or may not actually get around to finishing it, so I wouldn't hold my breath.