PSG Noise emulation

While developing BrMSX, I found that the PSG noise emulation was not quite equal to the sound of the real machine. The bug turned out to be the most difficult bug in my entire career, and I describe it in detail on the following article:

Article: The most difficult bug