I read so many posts like this one, with nary a mention of what happened before the
track stage at gain, so thank you for stating where yours was set.
That may be your issue. Try lowering the gain to the level you set your tracks to
instead of adjusting from the track. That will give you more headroom.
If the signal is clipping on input(gain pot) it will clip on export If you're exporting to raw,
or even wav if you check the option to defeat Sonar's processing.
(I.E. you will get the full volume of the input no matter what your track settings are.)Have you checked for this?
Mel