So I've coded this little toy

Little piano
I chose the common keys of AZERTY and QWERTY keyboards for playing with keyboard. (see the groupbox "Clavier" )
Del = delete the last note
Enter = play the melody
R = save/load a melody (save will not be in WAV format

+/- = increase/decrease the imposed tempo.
RAZ = delete all the actual melody
You can try to move the mouse on the piano with the left button pressed.
Updated with tsh73 addon and fixes.
Have fun
