Popular songs and melodies generated with a buzzer
This is an example of using the tone () function on an Arduino Nano. In the same way you can apply other Arduinos and the like
Playing popular songs using a piezo buzzer with Arduino
Christmas melody generated with a piezo buzzer and Arduino