blargg wrote:
Hmmm, are you simply wanting to play an NSF programatically?
I'm wanting to rewrite the NSF with various "play", adjust the tempo as the user drags sliders, change between sections of the song as the user presses previous and next, modify instruments in real time as the user drags sliders, mute virtual instruments (which the NSF engine multiplexes into hardware instruments), and modify the song itself as the user enters notes on a keyboard. This may require real-time communication between the program in the NSF and the music editor.
Quote:
If so, just use Game_Music_Emu as-is, which will allow you to load the NSF from a block of memory, seek anywhere (runs about 800x real-time internally, so it's quite fast), adjust the song tempo, and mute channels.
"Adjust the song tempo" how?