This tutorial of Robo India explains how to use buzzer on arduino. Here two examples are included one of them plays a beep sound and other one plays a song.
Detailed tutorial is here -
http://roboindia.com/tutorials/tutori...
Thanks and Regards
Content Development Team
Robo India
http://roboindia.com