midi: track bug, fix. sample