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 an experiment, replacing the Hi-pitch macro with a sweep unit macro usable on 2A03 squares only.
A value of 0 in the macro works like H00, causes a phase reset.
A non-zero value with the low 3 bits clear (e.g. 8, 16, 24, 32...) is treated as a "do nothing" for one tick, useful for spacing out 0 phase resets.
Any other value will be written directly to the sweep register with the high bit set. 1-7 are good for sweep down, 9-15 for sweep up. Using the higher bits will slow the sweep unit down (updating less often).
Not sure why the high bits don't seem to function correctly. Sweep macro 33, and the equivalent I21 aren't doing the correct thing. Wondering if Famitracker's APU emulation is doing something funky with the $4017 write? I'm not sure how my changes broke this.
I just made a quick test intrument to see how vibrato works, and on one channel it's slowly lowering in pitch, but on the other it's a constant vibrato.
Not sure why this is, I'v heard things about the two sweep units not working quite in the same way, but it could be just inaccurate emulation.
Also now that hardware-based features have come up, I should also mention that I'd really like to see The hardware envelopes and frame counters again, I now it's an inferior method compared to software controlled sound, but I believe these should be included for the sake of completion.
Yes, the two sweep units are supposed to be slightly different.
However, Famitracker 0.4.2's sweeps are slightly off as well: [url=http://famitracker.com/forum/posts.php?id=4467]http://famitracker.com/forum/posts.php?id=4467.