Skip to content

dubek/arduino-songs

Repository files navigation

arduino-music

Tunes for playing on Arduino boards.

Usage

Every code here should run on every arduino board without problems. This uses the tone() function from Arduino, what makes this only monophonic. On the bright side, libraries are not required.

If you want to compare the code with the original score, I try to group the notes in measures with lines and into staves with groups of lines. However, in some cases notes will be tied together among measures or be dotted and this rule is broken.

Hardware

Just connect an piezo buzzer to the board and you are good to go. Pin 11 is used in every sketch because a piezo buzzer can be connected between it and the close GND pin without any wiring.

Why this?

I have been learning sight reading and thought this would help.

List of tunes

Copyright

Every sketch here has been written by myself, although based on scores I found online or books I own. These scores are linked in eah file when possible. I only kindly ask that you give credit if you use these codes on a tutorial, video, etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%