now track notes according to channel and track
make IRQ counting and play flags volatile, hopefully IRQ0 won't try to
play music while we're cleaning up.