Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post 8-bit, 8000 Hz audio playback on a PC speaker. Main program /* * speaker_pcm * * Plays 8-bit PCM audio on pin 11 using pulse-width modulation (PWM). * For Arduino with Atmega168 at 16 MHz. * * Uses two timers. The first changes the sample value 8000 times a second. * The second holds pin 11 h