Is it possible that the latest version of FamiTone2 has a bug that wasn't in the old version?
I have always been using the version v1.15 10'15 for my projects. And everything was fine.
Now I tried v1.15 04'17 (the current one). And the music sounds completely off.
I noticed one thing:
The file "famitone2.s" is identical in both versions, except that the new version declares the constants FT_TEMP_SIZE and FT_BASE_SIZE, that it never uses, though. So, the code is exactly the same.
But the text2data tool outputs slightly different data:
becomes:
(This is done in every line where there is an ;instrument xx comment.)
Why does the conversion tool generate different data, even though the actual code that interprets the data hasn't changed at all? Does the code only read the lower nibble of the value $30/$f0, so that the upper nibble is unimportant?
I've attached an FTM file. This sounds fine when I use the older version. But it sounds metallic when I use the latest version. Maybe someone can include it in his own ROM and tell me whether he has the same effect.
By the way, I even included the new song into the demo program that is in the FamiTone zip file. I replaced my own song with one of the existing songs: Same effect in the new version, everything fine in the old version.
You can find the old version of FamiTone2 that I'm using here:
https://web.archive.org/web/20160216023 ... itone2.zip
I have always been using the version v1.15 10'15 for my projects. And everything was fine.
Now I tried v1.15 04'17 (the current one). And the music sounds completely off.
I noticed one thing:
The file "famitone2.s" is identical in both versions, except that the new version declares the constants FT_TEMP_SIZE and FT_BASE_SIZE, that it never uses, though. So, the code is exactly the same.
But the text2data tool outputs slightly different data:
Code:
.instruments:
.db $30 ;instrument $1b
.db $30 ;instrument $1b
becomes:
Code:
.instruments:
.db $f0 ;instrument $1b
.db $f0 ;instrument $1b
(This is done in every line where there is an ;instrument xx comment.)
Why does the conversion tool generate different data, even though the actual code that interprets the data hasn't changed at all? Does the code only read the lower nibble of the value $30/$f0, so that the upper nibble is unimportant?
I've attached an FTM file. This sounds fine when I use the older version. But it sounds metallic when I use the latest version. Maybe someone can include it in his own ROM and tell me whether he has the same effect.
By the way, I even included the new song into the demo program that is in the FamiTone zip file. I replaced my own song with one of the existing songs: Same effect in the new version, everything fine in the old version.
You can find the old version of FamiTone2 that I'm using here:
https://web.archive.org/web/20160216023 ... itone2.zip