UPDATE: I have since found what I believe to be the answer, inside of the pitch detection tutorial. I’ll fiddle that together with my existing hoo-hah and I think it will work. If anyone has a better idea, I’m always open to suggestion. Thanks again!
Here’s my scenario:
Planning to eliminate proprietary (that is, outrageously expensive!) GPI hardware to open and close relays in audio switcher when onair audio feed contains a tone of a given duration and specified frequency (e.g., 60hz). Since the frequency doesn’t occur naturally within the listenable audio feed at a duration of, say, half a second, finding it is easy.
Using getSpectrum, I’ve been testing audio files with tones embedded in them. It works just great – on audio output played by FMOD.
I need to analyze audio arriving on the line input of the soundcard. A little latency is not a problem, as precision in this case can be defined as half a second up to one or two seconds.
My thought is to sample, say, 1 second at a time from the input, analyze that, determine whether I was able to hear the appropriate tone, perform some other signalling action (unrelated to the audio processing), and discard the sampled data.
My question is this: I’m assuming that I can use the process indicated in the pitch detection tutorial? I’ve only been diddling with FMOD since late last evening (never heard of it; glad I found it!). Go easy on me, please!
Thanks for your time.
- davem2112 asked 11 years ago
- You must login to post comments