Thanks for that info :)<div><br></div><div>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?<br><br><div class="gmail_quote">
On Mon, Oct 11, 2010 at 11:56 PM, Adam Tindale <span dir="ltr"><<a href="mailto:adamtindale@hotmail.com">adamtindale@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Don't forget zerox for zero crossing detection. Crude pitch detection<br>
can be done this way. It isn't as potentially accurate as the method<br>
Hans is describing but it is much faster to test.<br>
<br>
<a href="http://chuck.cs.princeton.edu/doc/program/ugen_full.html#zerox" target="_blank">http://chuck.cs.princeton.edu/doc/program/ugen_full.html#zerox</a><br>
<br>
--art<br>
<div><div></div><div class="h5"><br>
On Mon, Oct 11, 2010 at 9:59 AM, Hans Aberg <<a href="mailto:haberg-1@telia.com">haberg-1@telia.com</a>> wrote:<br>
> ChucK has built-in FFT. A question is though to extract a spectrogram.<br>
><br>
> Note that guitars, like pianos, are inharmonic. A modern piano tuner<br>
> measures the first few partials of the strings, and then one makes a choice<br>
> of scale stretch based on that.<br>
><br>
><br>
> On 11 Oct 2010, at 15:46, Sindhuri Kuppasad wrote:<br>
><br>
>> I am an engineering (Computer Science) student and want to develop a<br>
>> guitar tuning software.<br>
>><br>
>> The basic idea is to play a guitar string, read the sound through a<br>
>> microphone, determine the frequency of the note that was played and<br>
>> accordingly prompt the user to tune the string up or down.<br>
>><br>
>> I wanted to know what capabilities ChucK provides to analyse frequency of<br>
>> the analog sound input and how it could be used in implementing the guitar<br>
>> tuning application.<br>
>><br>
>> Also, are there any alternate approaches to obtain the frequency using<br>
>> ChucK?<br>
>><br>
>> Regards,<br>
>> Sindhuri KN<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> chuck-users mailing list<br>
> <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
> <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
><br>
><br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div><br></div>