Piano Program

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:

  1. I really don't understand the code
  2. 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!!!

I also want to make kind of piano with my arduino due.

Perhaps you are not aware that there is a Due forum.

Sorry but I thought that would fit good to this topic and in the due forum I did not find anything that helped me, so maybe instead of making nice remarks you could help me please?