News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Converting from... to nsf files  (Read 415 times)

ultimaweapon

  • Full Member
  • ***
  • Posts: 165
    • View Profile
Converting from... to nsf files
« on: February 10, 2019, 01:58:45 am »
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

ruiner9

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Converting from... to nsf files
« Reply #1 on: February 10, 2019, 08:42:07 am »
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.

Disch

  • Hero Member
  • *****
  • Posts: 2673
  • NES Junkie
    • View Profile
Re: Converting from... to nsf files
« Reply #2 on: February 10, 2019, 10:09:07 am »
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.