Converts a midi file to cope events (as invented by David C. Cope, algorithmic composer and professor at UCSC)