Pan control
Opened this issue · 1 comments
First, my apologies for the PCM bug introduced by the channel control enhancement. I've did a copy/paste of the PCM write command from another line in the same file and didn't notice you had a different variable to control PCM writes at that point in the code.
I've been playing with the chip channel pan control and i'm amazed by the noise that still can be heard even when you force the output for all 6 channels to either left or right. This happens only with the YM2612, not with the YM3438, likely because the crossover distortion caused by the DAC.
If you think this is a nice feature, let me know, I would be more than happy to push another merge request to add this feature. I've added an option to the main menu where you can toggle pan controls OFF/BOTH/LEFT/RIGHT for each channel. If this is turned OFF, it means we won't interfere and just let the song play as originally intended.