Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > Extracting VRC7 instruments from NSFs? Owner: jrlepage New post
Page 1 of 1 Sort:  
Extracting VRC7 instruments from NSFs? Posted: 2011-05-27 07:24 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4982 days
Location: Canada
Status: Offline

#17677
Title says it all: does anyone know of any way to extract VRC7 custom instruments from NSFs, preferably in MML format? I doubt there is, but who knows. If there isn't, do you guys think it's at least feasible? I mean, we've got N106 and FDS waveforms covered (you can extract those using NSFPlug or NSFPlay); would this be any similar?

Cheers.

Posted: 2011-05-27 16:44 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#17680
Well, aside from Lagrange Point, aren't pretty much all VRC7 compositions going to start out as an FTM or MML anyway? Why not just get the source?

Posted: 2011-05-27 22:30 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4982 days
Location: Canada
Status: Offline

#17684
What if covering Lagrange Point is my goal from the start? Also, I'm not always going to have access to the MML or FTM sources anyway.

Posted: 2011-05-28 01:40 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#17691
I don't think you can actually recover VRC7 or FDS instruments (at least not with an easy method). Have you tried using WinAmp with NSFPlug?

_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!

(Lousy modern technology! )
Posted: 2011-05-28 02:27  (Last Edited: 2011-05-28 02:27) Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4982 days
Location: Canada
Status: Offline

#17693
I tried with NSFPlay, which is essentially a standalone NSFPlug. FDS waveforms can be extracted, but not VRC7 instruments. Just to be clear, I doubt it's at all possible, but I just wanted to see if you guys knew things I didn't.

Posted: 2011-05-30 17:09 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#17749
Well, the FDS waveform is something that has to be loaded in one contiguous place in memory; it comes in one piece and the hardware knows exactly where it is.

With a VRC7 instrument, I may be wrong, but I think each parameter is an independent control. You could theoretically take a snapshot of all the settings at any given time to get an instrument, but the NSF or hardware itself doesn`t have any built in concept of a VRC7 instrument like it does with an FDS waveform.

Posted: 2011-05-31 02:28 Reply | Quote
TechEmporium

Avatar

Member for: 4485 days
Status: Offline

#17765
Actually, the information contained for any instrument is located in specific parts of the ROM's memory; the only problem is figuring out the ASM code & what it would stand for in terms of the instrument's waveform, volume & effects.

It's not as simple as saying "offset 506F of the ROM contains this VRC7 instrument." Rather, it's a matter of several offsets being used as placeholders for the particular channel's waveform settings (duty, phase, volume, attack, decay, etc.).

The sad thing is that there was only one actual game that uses VRC7 audio. On the upside, if someone were to reverse-engineer Lagrange Point's NSF & compare them to other FamiTracker-generated NSFs, a pattern could be found.

_______________________
Technology: the one thing that's hated & cursed at by all engineers, technologists, scientists & technicians!

(Lousy modern technology! )
Page 1 of 1 Sort: