The wav files used for Sonar's click are located (by default) at
C:\Cakewalk Content\Sonar X2 Producer\Metronome
Choose the desired sounds (one for the downbeat... and another for the other beats)
- Enable Snapping in Sonar (quarter notes)
- Insert the desired wav file for each beat in a single measure.
- Bounce to clip
- Make this clip a groove-clip
You now have the Sonar metronome sounds, exactly on the beat, and you can stretch this clip to the desired duration.