rewrote 2001 code to use proper math for generating notes
debugging 2001 code. weird symptoms like playing certain notes /
sequences fine but LED not blinking / no sound happening for
other notes. maybe it's getting stuck on tone()?