One of the lasting mysteries in sonar midi : I could swear that I had projects aligned on bar and beat, and have worked with them for weeks, when suddently I find the midi has been shifted forward or back a number of ticks, enough to make things sound wrong. If I ever find out why, I'll post. This is an old problem, specific to Platinum (I think).