Thanks for that info :)

Also, is there any way i can create a GUI for the guitar tuning application?? or any way that ChucK programs can communicate with either C++ or Java codes?

On Mon, Oct 11, 2010 at 11:56 PM, Adam Tindale <adamtindale@hotmail.com> wrote:
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@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@lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users