wavepropagation
New Member
Hi,
I'm working on a project where I have the original audio (music) which is output to speakers. The output from speakers is captured by a microphone. The signal captured by the microphone can be a combination of white noise, music, and conversation. What I'm interested in achieving is obtaining a confirmation that someone is speaking while the music is playing. The confirmation can be either a binary 0 / 1 or a level of confirmation from 0 - 10.
My current thought is to use a differential amplifier. The original signal + gain + buffer is fed on one input and the input of the microphone is fed on the other input. The goal is to match the amplitude of the signal from the microphone with the amplitude of the original signal and then subtract the two signals. If no one is speaking then I would expect a very low amplitude signal but if someone is speaking then I should detect a signal with amplitude exceeding a threshold. This can be fed directly in to a comparator outputting a 1 / 0.
Also, is the phase shift between the input of the original signal and the signal captured by the microphone something I need to be concerned about?
Please let me know if this would work or any other options to accomplish this goal.
Thanks!
I'm working on a project where I have the original audio (music) which is output to speakers. The output from speakers is captured by a microphone. The signal captured by the microphone can be a combination of white noise, music, and conversation. What I'm interested in achieving is obtaining a confirmation that someone is speaking while the music is playing. The confirmation can be either a binary 0 / 1 or a level of confirmation from 0 - 10.
My current thought is to use a differential amplifier. The original signal + gain + buffer is fed on one input and the input of the microphone is fed on the other input. The goal is to match the amplitude of the signal from the microphone with the amplitude of the original signal and then subtract the two signals. If no one is speaking then I would expect a very low amplitude signal but if someone is speaking then I should detect a signal with amplitude exceeding a threshold. This can be fed directly in to a comparator outputting a 1 / 0.
Also, is the phase shift between the input of the original signal and the signal captured by the microphone something I need to be concerned about?
Please let me know if this would work or any other options to accomplish this goal.
Thanks!