In this project, a perfect PCM sine wave is one that contains a single frequency at 0 dBTP and no error harmonics at all. A bit-perfect PCM sine wave has error harmonics due to encoding quantization, but they are at the minimum level possible for the chosen encoding.
The generated wave files hold a sequence of one or more complete copies of a repeating pattern. A file containing a single pattern can be played in a loop to extend the play time. Because most audio players don't loop...