dzlonline/the_synth

Synth with barebone ATMEGA328p PU chip

Opened this issue · 5 comments

Hi @dzlonline,

Thank you for sharing this awesome project!
I have been using your library without any issues on different nano boards. I recently got my hands on a couple of atmega328p PU (28DIP) chips.

After boot loading and uploading the sketch it all works well until I connect the audio out pin (in my case, pin 3, using CHB).

I know the sketch is running well without the audio input connected because the code runs an LED sequence (sequencer steps) and it works. I modify the tempo with a delay function in the sketch and turning the tempo potentiometer affects the LED sequence tempo accordingly.

Moreover, sometimes I connect the audio pin out and I do get some notes. Sometimes just one and it freezes, sometimes a full sequence and then it freezes...

I have tried different chips and get the same result. I was wondering if this can be related to the way the Synth.h is setting up the board.

@troisiemetype, reading the reported issues before creating one, I found a thread with you that made me think you can also have a good idea about what is happening here.

Thanks!