But now there's a feature that I might need that FamiTone doesn't seem to provide:
I want to be able to fade out the music instead of outright stopping it.
So, to see if this is even in the realm of possibilities without much hazzle, I've got some questions:
How complicated would it be to include this feature if the original FamiTone2 code is my current basis?
Would it be possible to write a new function that simply uses the FamiTone variables, but where the "famitone2.s" file is left completely unaltered?
Like this:
Code: Select all
.include "famitone2.s"
MyNewFamiToneFadeoutFunction:
...
RTS
Alternately:
Is there any other way to simulate this feature? Stuff like manually reducing the volume values in the APU (after FamiToneUpdate was written) or something like that? (But this would also silence the sound effects.)
Would reading values back from the APU even be possible? And would this sound alright, if I change existing values after they have already been sent to the APU?