Hi, I have to write a VI that continuously acquires sound and performs a certain action only when human voice is detected. I can't figure out how to do it, I thought about computing the fundamental frequency of the audio signal and then if it's in a particular range (the one of human voice) perform the action but I don't know if it's the best way to do so and I'm not even quite sure about how to implement it. Thanks for the help
Simple solution: Write a VI with a button ("Press to Start"). Station a volunteer with a pair of headphones to listen to the audio and press the button when he/she hears human speech.
Much more complex solution: Learn a lot about audio signals, including how to characterize them in the frequency/time domain, and how to use this information to, perhaps, decide if the signals represent human speech. Once you know how to do this "theoretically", then start worrying about how to implement the algorithm.