08-11-2010 10:34 AM
Hi all,
There is a VI in Labview which generates sound from the built-in sound card in cpu. Its name is "Generate Sound. VI" . It plays the sound of sine wave, triagular wave , square wave etc at different volumes. Is there any project in Lab Windows which does the same?
Any help will be greatly appreciated.
08-11-2010 10:40 AM
Hi,
If you use the sample finder, Help / Find Examples, and search for sound it will yield two sample projects...
08-11-2010 10:57 AM
Another option is looking at the functions StartPCSound ( frequency) and StopPCSound () in the Programmer's Toolbox.
08-14-2010 05:01 AM
Hi
If I use the StartPCSound ( frequency) and StopPCSound () , then please tell how can i change the Volume of sound by using these functions.
08-15-2010 06:31 AM
Hello,
As Wolfgang mentioned, there are several samples.
II had once to make a superposition of a few frequencies. After some searching and puzzling, this went very well with "direct sound". Via CVI --> Help --> Windows SDk --> DirectSound, I found a tutorial. From this, I made the attached example.
Succes, Jos