Simplify note constants
Some cleanup/commenting.
Added frequency sweep test.