Open ITotalJustice opened 2 years ago
i have updated the post so that it's a little more clear
Thanks for opening this. I intend to implement a low pass filter to remove aliasing when I rewrite the APU. I believe that will also remove the artifacts heard in this instance.
FFA sets ch1,2 to a high enough frequency that on normal hardware, it would be inaudible. the current apu impl causes the duty to be rapidly changed, which causes a high pitch static-like noise when playing.
one way of solving this (which is what i do) is this.
then i just multiply the channel sample with the matching bool, to toggle sound on or off.