[chuck-users] stupid n00bie question: Part III
AlgoMantra
algomantra at gmail.com
Tue Oct 16 03:05:16 EDT 2007
Thanks Joerg.
although to be honest, I wasn't looking for the theoretical solution
but what kind of Chuck code objects to use for this. My Chuck
learning curve seems way slower than Python/PD, I don't know why.
I think it's the lack of explanatory notes in examples, or some kind
of proper tutorial.
On 10/16/07, joerg piringer <joerg at piringer.net> wrote:
>
> AlgoMantra schrieb:
> > 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.
>
> best
> joerg
>
>
>
> --
> http://joerg.piringer.net
> http://www.transacoustic-research.com
> http://www.iftaf.org
> http://www.vegetableorchestra.org/
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
--
------- -.-
1/f ))) --.
------- ...
http://www.algomantra.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20071016/e6f6d626/attachment.htm
More information about the chuck-users
mailing list