[chuck-users] stupid n00bie question: Part III
joerg at piringer.net
Tue Oct 16 02:58:43 EDT 2007
> 1. What is the simplest way to detect the pitch
> of an audio signal (from the mic) in Chuck?
zero crossing detection.
count how many times the signal crosses zero. how many times a second it
changes from positive to negative values or vice versa.
that could be a rough estimate of the frequency. this is not very
reliable but works quite well with sounds that are not too hissy. low
pass filtering before counting helps a little bit.
More information about the chuck-users