Tone generator library for Arduino