gatheround
Well-known member
Hey everyone,
I'd like to use my Teensy 3.2 to measure the frequency of two separate audio signals. I see that the FreqMeasure and FreqCount library are hard-coded onto a single pin.. (the LED pin??). Is there any way to use these libraries on different pins at the same time? Or can anyone recommend any other way to measure frequency on other pins?
Here's some details that will hopefully help:
- The audio I'm trying to measure is a clean sine or triangle wave, direct input. Not a guitar and not picked up from a microphone.
- The range of the audio I'm trying to measure is between 100Hz and 4000Hz. For accuracy, I'd love to see +/- .1Hz accuracy @ 100Hz and +/- 1Hz accuracy @ 4000Hz.
I'd like to use my Teensy 3.2 to measure the frequency of two separate audio signals. I see that the FreqMeasure and FreqCount library are hard-coded onto a single pin.. (the LED pin??). Is there any way to use these libraries on different pins at the same time? Or can anyone recommend any other way to measure frequency on other pins?
Here's some details that will hopefully help:
- The audio I'm trying to measure is a clean sine or triangle wave, direct input. Not a guitar and not picked up from a microphone.
- The range of the audio I'm trying to measure is between 100Hz and 4000Hz. For accuracy, I'd love to see +/- .1Hz accuracy @ 100Hz and +/- 1Hz accuracy @ 4000Hz.