Hi.
I need to make an application that can play a continuous pure tone using the computers sound card. Luckily there is an example that does just that, the Generate Sound.vi. Or so I thought. When I start the application, with the following settings: Waveform Type: Sine, Number of Samples/ch: 5000 and Frequency: 1000, the tone starts of fine, but after a while the tone starts to click. To document this problem I tried to record the tone using the Sound File Write.vi, but the recorded tone played fine. Why is this, and how can I modify the example to play a continuous pure tone without any distortions?
I have tried to increase the buffer by increasing the variable “Number of Samples” and it seems to help. I still get some distortions, but not so frequently.