added more notes and improved timing in sound.h