This sounds like the random metronome problem which occurs sometimes in SONAR during record/playback.
Try toggling the "FX" (Bypass Audio All Effects) button on the control bar.
"Toggling" meaning to press the "FX" button twice, either on-off or off-on.