Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: Quantam on May 03, 2022, 10:29:23 PM

Title: Request for Comments: Final Fantasy II (NES) Music Format
Post by: Quantam on May 03, 2022, 10:29:23 PM
First draft is done. I would appreciate it if you guys could proof-read it before I officially publish it, looking for accuracy about the NES APU and whether composers find it complete and understandable.

https://raw.githubusercontent.com/TheRealQuantam/RetroDocs/main/Final%20Fantasy%20II%20(NES)%20Music%20Format.txt (https://raw.githubusercontent.com/TheRealQuantam/RetroDocs/main/Final%20Fantasy%20II%20(NES)%20Music%20Format.txt)

5/25: Updated to v0.2 (release candidate)
Changes can be seen here (https://github.com/TheRealQuantam/RetroDocs/commit/6bb4472afcee45cb0b44f7f1dc08d2f2e9966594?diff=split).
Title: Re: Request for Comments: Final Fantasy II (NES) Music Format
Post by: PolishedTurd on May 08, 2022, 11:05:54 AM
I don't understand the notation about envelopes. For volume, is the number on the left side of the colon the number of frames, and the number on the right the amplitude during those frames? And for pitch, frames on the left and pitch change on the right?

Would it be possible to put in an ASCII graph of the envelopes? Or add images from a graph in Excel or something, and the document becomes HTML instead of text? Just a thought. Actually, it might be more feasible to write a small program that consumes your envelope notation and generates a graph, and people could use that alongside the document.
Title: Re: Request for Comments: Final Fantasy II (NES) Music Format
Post by: abw on May 08, 2022, 12:44:50 PM
Downloaded for future reference!

I am alas unqualified to comment on the musical parts of this, but it was a pleasure to read ("Working around these jarring stops is left as an exercise to the composer." :laugh:), and on the technical side this dovetails quite nicely with the FF2 disassembly efforts that are a part of the Final Fantasy II Restored (https://www.romhacking.net/forum/index.php?topic=29704.0) thread. I haven't looked at the music engine in any great depth, but I have examined it enough to recognize some of the features you've highlighted, so it's pretty cool to see a musical explanation of the code and data that I'm more familiar with.

Thanks for sharing this!
Title: Re: Request for Comments: Final Fantasy II (NES) Music Format
Post by: Quantam on May 09, 2022, 05:59:51 AM
Quote from: PolishedTurd on May 08, 2022, 11:05:54 AM
I don't understand the notation about envelopes. For volume, is the number on the left side of the colon the number of frames, and the number on the right the amplitude during those frames? And for pitch, frames on the left and pitch change on the right?

Would it be possible to put in an ASCII graph of the envelopes? Or add images from a graph in Excel or something, and the document becomes HTML instead of text? Just a thought. Actually, it might be more feasible to write a small program that consumes your envelope notation and generates a graph, and people could use that alongside the document.
The value is on the left of the colon, the number of frames is on the right. It might be possible for the volume envelopes to do a 1 char per frame rendition of them; for the pitch envelopes that's not as possible because it has both positives and negatives and some of the delay values are very large.
Title: Re: Request for Comments: Final Fantasy II (NES) Music Format
Post by: Quantam on May 25, 2022, 11:38:00 PM
Updated to v0.2 (release candidate).