Like we have the PPU debug panel, it would be cool to have an APU debug panel to show the current state of the various APU components to help debug sound issues.
Ideas:
For Pulse and Triangle => Draw an example waveform. Should be a fairly simple calculation from their parameters.
For Noise => Figure out something that represents the mode/period/volume nicely.
For DMC => Simple thing would be to just display a bar based on length of current sample remaining. Ultimate thing would be to go fetch the sample from memory and draw the actual waveform.
Like we have the PPU debug panel, it would be cool to have an APU debug panel to show the current state of the various APU components to help debug sound issues.
Ideas: