Flute Tuner
Nelson Zink
zink at newmex.com
Sun Jan 11 20:56:00 EST 2004
Mark,
> 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.
That's the basic idea.
> 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.
The program wouldn't report more often than maybe a fifth of second
(averaging maybe 50 cycles) or else the output gets too jittery.
Nelson
More information about the use-livecode
mailing list