[chuck-users] Frequency analysis using ChucK

Adam Tindale adamtindale at hotmail.com
Mon Oct 11 14:26:43 EDT 2010


Don't forget zerox for zero crossing detection. Crude pitch detection
can be done this way. It isn't as potentially accurate as the method
Hans is describing but it is much faster to test.

http://chuck.cs.princeton.edu/doc/program/ugen_full.html#zerox

--art

On Mon, Oct 11, 2010 at 9:59 AM, Hans Aberg <haberg-1 at telia.com> wrote:
> ChucK has built-in FFT. A question is though to extract a spectrogram.
>
> Note that guitars, like pianos, are inharmonic. A modern piano tuner
> measures the first few partials of the strings, and then one makes a choice
> of scale stretch based on that.
>
>
> On 11 Oct 2010, at 15:46, Sindhuri Kuppasad wrote:
>
>> I am an engineering (Computer Science) student and want to develop a
>> guitar tuning software.
>>
>> The basic idea is to play a guitar string, read the sound through a
>> microphone, determine the frequency of the note that was played and
>> accordingly prompt the user to tune the string up or down.
>>
>> I wanted to know what capabilities ChucK provides to analyse frequency of
>> the analog sound input and how it could be used in implementing the guitar
>> tuning application.
>>
>> Also, are there any alternate approaches to obtain the frequency using
>> ChucK?
>>
>> Regards,
>> Sindhuri KN
>
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>


More information about the chuck-users mailing list