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
This is simply writing the triangle period with custom code that's not based on vblank timings (at least not 60Hz) but rather taking more CPU usage. Ibelieve Sunsoft got their croaking sound in the Fester's quest and Journey to Silius game over screens in a similar fashion.
I didn't provide the source because the export is imperfect. FamiTracker's environment is not set up for non-vblank (video pixel blitter to TV @ 50Hz(PAL/2a07)/60Hz(NTSC/2a03)) music at the moment; even though it works perfectly well on hardware without PPU (or video) initialization. (However, I have not tested this on hardware. I'm not sure if FamiTracker's replayer with PowerPak as well has enough free cycles to play this "accurately."
I took inspiration from some of Neil "Demon" Baldwin's softwares. :D
The triangle channel and the 2a03 are being used as a single FM "operator". A frequency envelope rapidly switching up and down octaves in a triangle loop pattern are creating the FM. $4011 (Zxx) acts as an AM operator; manipulating volume in a triangle loop fashion to generate tremolo.
Different FM tones are generated by modulating up and down the "tempo" at increments of 10 (or #$0A) in another triangle loop pattern.
It would be very challenging to make music this way as the export does not match what is being played in FamiTracker. It was just fun to learn.
When I was talking about "triangle loop pattern", if any of you have used FM chips or the AY/YM, you may be familiar with the triangle based volume or frequency envelopes.
My next PoC (proof of concept) étude is to attempt to make LFO on the triangle channel by using $4011. But I believe I will have to use either DefleMask or MuseTracker for that.
The Sunsoft croaks I believe are just using the triangle's "linear counter" feature which can make very short triangle bursts (240Hz width) that Famitracker can't do normally. I don't think it's CPU driven, still on vsync, just using an obscure hardware feature.
Now I'm all kinds of confused because I don't understand what FM or AM are, so I'll just assume these morphing triangle sounds are the work of a Lovecraftian deity
I don't think DPCM would work because I could only have a constant sine or triangle LFO pattern versus longer periods of successive, unchanged samples due to the nature of delta encoding.
It's not exactly what I want, and I'm still figuring out some things, but here's an attempt using DPCM: