NSF is a cool format, itself. It's basically a specialized ROM format for encoding game music and sound effects for playback, usually in an emulator. And since it relies on actual CPU code rather than recorded register writes, it can include loops and such programmatically.