Hello I have a similar Problem.
I also want to make kind of piano with my arduino due.
Now my Problem:
With arduino due the tone() and no_Tone() Functions do NOT WORK!
I already found a function with a given melody BUT:
- I really don't understand the code
- I don't want to have a melody fixed in the programming code, but a melody played with the buttons, so that my Piezo-Speaker just gives out the frequency I will programm for the touched button.
So who can help me with a tone/no tone function I easily can include in my Code?
Thank you very much!!!