11-16-2010 02:33 AM
Hi,
I am working on a project and i have to be able to know when an alarm (sound alarm) is turning on with LabView. I try to use direct the microphone of the computer and I can now read the signals with the bloc "acquiere sound".
What i would like to do is to listen continuously and make a FFT of the signals each 100ms to know if my alarm is present (with specific frequence).
My problem is that there is always a dead time of almost 300ms between each measure of sound with the microphone and so i loose a big part of the signals.
Is that so because of my hardware system (microphone of the computer) or it's possible to improve that with using other bloc or other configuration?
I already searched on the forum but did'nt found this information.
Thank you
Jérôme
Solved! Go to Solution.
11-17-2010 03:05 AM
Hello,
There's a nice example in the NI Example Finder called "Continous Sound Input".
I think this VI can solve your Problem with the Timing.
Regards
Marco Meier
11-17-2010 03:38 AM
The NI sound system is a piece of software that MI care less about, bugs are not fixed. But somehow they manage to introduse new bugs. But anyway please post your code. So we can take a look at it. And no code no help 😉 It could also be that your problem may be fixed with a better Labview sound driver named waveio.
11-17-2010 09:33 AM
Thank you very much,
This example solved my problem. I didn't know why there isn't a link to this example in the help of the bloc Soud Input Read.
Jérôme