Text this: Keys to music analysis and melody writing/