LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

generate sound through Labwindows

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.Smiley Happy

0 Kudos
Message 1 of 5
(4,128 Views)

Hi,

 

If you use the sample finder, Help / Find Examples, and search for sound it will yield two sample projects...

0 Kudos
Message 2 of 5
(4,126 Views)

Another option is looking at the functions StartPCSound ( frequency) and StopPCSound () in the Programmer's Toolbox.

0 Kudos
Message 3 of 5
(4,121 Views)

 

Hi

 

If I use the StartPCSound ( frequency) and StopPCSound () , then please tell how can i change the Volume of sound by using these functions.

0 Kudos
Message 4 of 5
(4,068 Views)

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

 

0 Kudos
Message 5 of 5
(4,054 Views)