The reason I got mine ...
http://www.sxlist.com/images/www/hobby_elec/e_ckt13.htm
except with some filtering to shape the square wave some, for making tones
also libraries are not all that bad, but it takes me a couple reads on that tutorial because of the way its worded before it starts sticking