Text this: Music theory through improvisation