Flute Tuner
Mark Wieder
mwieder at ahsoftware.net
Sun Jan 11 19:50:39 EST 2004
Nelson-
The good news here is that a flute produces the closest thing to a
pure sine wave that you can get from a musical instrument. You'd
probably have to open the audio in port and start counting
zero-crossings and reject anything too far out of band.
Even looking at just an A-440Hz signal, though, that means looking
looking for a transition every 1.8 milliseconds. System ticks aren't
that accurate. If you're not using a machine with an accessible DSP
chip hooked up to your audio input I think you're going to be dealing
with some very low-level code - deeper than you'll be able to get with
Transcript.
--
-Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list