Snapping the sound to the beat almost works now.

Committing now in case I break the functionality trying to finish fixing
it.  Sound class had to be modified to reflect changing tempos.