NSF2MIDI

Discuss NSF files, FamiTracker, MML tools, or anything else related to NES music.

Moderator: Moderators

Post Reply
Skunk
Posts: 16
Joined: Thu Jul 28, 2005 9:15 pm

NSF2MIDI

Post by Skunk »

Hey, couldn't we do an NSF2MIDI type option on an emulator? That'd be cool. You could make your own instrument definations and then be able to actually play the game with them. That combined with Sai2x and possibly a new pallete... games like SMB3 will be more like SNES ones.
tepples
Posts: 22898
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

It's been tried before. Turns out it's hard in the general case to recognize what constitutes a "note" based on just the writes to the PSG registers. Go download (say) the Silver Surfer NSF, listen to each channel in Festalon or another NSF player plug-in, and tell me how you'd pick out individual notes.

The most plausible way to enhance NES music using MIDI would be to make a mapper with a 16550 UART or other serial port controller and then ROM-hack your games to write a MIDI bitstream to the serial port.
Skunk
Posts: 16
Joined: Thu Jul 28, 2005 9:15 pm

Post by Skunk »

Well, how does NSF2MIDI do it?
tepples
Posts: 22898
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Poorly.

NSF2MIDI probably emulates the NSF, watching for rising edges on each channel's volume, and then generates a MIDI note for each rising edge. This might work for simple tracks from 1985/1986 that use simple music engines, but it wouldn't work well for later tracks from Konami or from SID scene composers that use huge pitch bends, arpeggios, echo, etc.
Skunk
Posts: 16
Joined: Thu Jul 28, 2005 9:15 pm

Post by Skunk »

Which later Konami tracks would you speak of?
Post Reply