Edited: I have solved some of the distortion problems I was having. It was stupid user error.
However there is still the following issues:
1)
I have noticed a few instances where a rendered piece would be fading out to silence, and there would be a gritty distortion as the piece faded to silence. It would be somewhat subtle, but it definitely be there.
2)
Also, I have some very clean sine wave test tones that I have tried playing in Tracktion. These are WAV files that play with no apparent distortion in any of my WAV editors, and no apparent distortion in Sonar4. The amplitude of these sine waves is -12dB. There is no chance of being near clipping. Lower pitched test tones, such as 60Hz or even 440Hz, play fine in Tracktion. However, if I play a sine wave of 4,000 Hz or 8,000 Hz, I get serious distortion in the audio.
I'm including two screenshots, taken with Bram's nice utility "s(M)exoscope":

The sine waveform at 440 Hz

The sine waveform at 4,000 Hz
The 4,000 Hz waveform both looks bad and sounds bad. Notice the angular sections of the waveform, near the peaks.
A 4,000 Hz sine wave should play without distortion in Tracktion. This same WAV file works in my other software without distortion.
Please, help me if you can.
Thanks,
McLilith

