interactive programming of melodies