Open Source iOS Library for musical notes, scales, intervals, etc.  Part of the brains behind the Sound Wand apps.