Sounds like the CM function 'import-events' is what you want to start with. You should be able to extract the info that you want from each file and, with some list manipulation, generate the new midi file. Phil Sobolik