Rhapsody M1: a structure for basic operations on pitch, note, chord, key