LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous Sound Input Interface

Greetings

 

I want to use LabVIEW for measuring frequencies of a continuous sound input and plotting them in real time, using a microphone connected to the computer. See the picture below.

 

sound.jpg

Sorry for the picture quality, but I guess you can see what is going on.

 

How do I get to this interface, or how can I create one like it? When I start the program, I select "Create Project", then comes up the menu to choose type of project. I guess I then should choose "Continuous Measurement and Logging"? Then I come to the "Project Explorer". What do I do next?

 

Could someone please write, step by step, how to get an interface and functionality as can be seen in the picture above?

0 Kudos
Message 1 of 6
(3,914 Views)

Hi!

I suggest to start from the "Continuous sound input" example shipped with labview.

 

Marco

0 Kudos
Message 2 of 6
(3,887 Views)

And where in the program do I find that?

0 Kudos
Message 3 of 6
(3,879 Views)
Like all of the other examples, try Help> Find Examples.

Please don't attach pictures from your phone. Surely you know how to use the printscreen button on your keyboard. An image of the front panel tells nothing of your code in any case.
0 Kudos
Message 4 of 6
(3,866 Views)

The first picture is not from my own computer (if it had been I wouldn't ask how to create this interface) so I can't screenshot it and I don't have any better picture of it or the code of the program, I only have this picture. That's why I'm asking here how to implement it.

 

Ok I went to the example and found Continuous Sound Input and managed to open it. However when I run it, it only shows the following:

 

s2.png

 

The "Raw Data" graph shows some constant movement that seems unaffected by sound inputs to the microphone.

 

How can I make graphs that are affected by microphone inputs, showing frequency response etc like in the first picture I posted?

0 Kudos
Message 5 of 6
(3,851 Views)

Hi Fastness,

 

Try changing the Device ID. If you are using the built in sound card of your computer, most likely it has the ID 0.

 

Also, if you need to make a frequency analysis, you need to make an FFT analysis. 

You can find more info about FFT analysis at the following link:

https://www.ni.com/en/shop/labview/using-fast-fourier-transforms-and-power-spectra-in-labview.html

 

If that application was doing some additional processing, you won't be able to reverse engineer just  by looking at front panel, you need more details about it.

 

Best regards,

IR

0 Kudos
Message 6 of 6
(3,814 Views)