Closed Cthulahoop closed 11 years ago
Further investigation seems to show the source is hardware, not code. Adding a capacitor to the headphone circuit helps, but that's getting pretty bulky already with the added potentiometer.
The 8x8 matrix drawing more than a few pixels seems to be the culprit. For some reason this makes the modified pin 6 noisy (it's fine if we revert the timer to standard values). I've modified some of the graphics to reduce the noise, but I'm thinking this is about as good as it gets without a total rewrite of the synth. Marking as closed.
It appears that the code for communicating with the matrix (and possibly the NeoPixel strip) is generating audible noise on pin 6. We need to investigate ways to minimize this.