// This moves tempo events from track 2 to track 1 and omits other tempos events. #include "h.h" #include BP bp; note * mus = 0; int main(){ note* music = Read("", &bp); {void fed(note n) { if(n.dur == OpaqueStuff && n.o.opaque.subtype == 81) {if(n.trk == 2) {note k = n; k.trk = 1; aug(k, &mus);}} else aug(n, &mus);} scan(fed, music, 1);} Write("", mus, &bp); return 0;}