Reading audio frequency with COUNT
Bryan
Posts: 2
I'm trying to read the frequency of a plucked string on my guitar. Basically, I have the 1/4 inch output hooked into pin 0 on the BS2. I'm counting frequencies like this:
other:
vari VAR Word
COUNT 0, 1000, vari
DEBUG CLS, HOME, DEC vari, CLREOL
GOTO other
What I'm getting is a different number around approximately 600 every second, irregardless of whether a string has been plucked. Even when I mute all strings it is still reading a signal. Is this because I need a Schmidtt trigger or amplifier or both? Any info would be appreciated.
other:
vari VAR Word
COUNT 0, 1000, vari
DEBUG CLS, HOME, DEC vari, CLREOL
GOTO other
What I'm getting is a different number around approximately 600 every second, irregardless of whether a string has been plucked. Even when I mute all strings it is still reading a signal. Is this because I need a Schmidtt trigger or amplifier or both? Any info would be appreciated.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office