Jim writes -
Why write a music program for the internal speaker when the speaker sounds so terrible? Because the journey is more important than the destination.
Ultimately, I wrote it to teach myself OOP techniques, and simply to see if it could be done. Along the way I felt that I learned what it was like to program 30 years ago, where you have to put much more thought up-front into design instead of rapid development.

RSS for MAKE
Sounds like he tries to simulate chords by switching rapidly between the two frequencies. It is also possible to control the speaker directly (1 bit resolution) and achieve higher quality using pulse-width modulation.
Anyone know where I can find the chiptune he used in this video?
Follow MAKE
From the Maker Shed
Launch Price: $9.99
Make: School’s Out! Summer Fun Guide
This Summer Fun Guide is brimming with over 50 projects for kids of all ages. You’ll also find inspiring young maker profiles, as well as tool reviews written for and by kids! Plus, it’s our 3D issue, complete with 3D glasses and tons of super-cool 3D photos!
Read More →