<div>You can communicate between a Java or C++ app using OSC. I know there are OSC libs for Java floating around, but it's not too difficult to roll your after reading the spec. It's UDP/IP based.</div><div><br></div>
<div>There are osc examples bundled with ChucK, also:</div><div><br></div><a href="http://chuck.cs.princeton.edu/doc/language/event.html#osc">http://chuck.cs.princeton.edu/doc/language/event.html#osc</a><div><a href="http://opensoundcontrol.org/">http://opensoundcontrol.org/</a><div>
<br></div><div>/Stefan<br><br><div class="gmail_quote">2010/10/16 Sindhuri Kuppasad <span dir="ltr"><<a href="mailto:sindhuri1990@gmail.com">sindhuri1990@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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?<div><div></div><div class="h5">
<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" target="_blank">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><br>
On Mon, Oct 11, 2010 at 9:59 AM, Hans Aberg <<a href="mailto:haberg-1@telia.com" target="_blank">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" target="_blank">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" target="_blank">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></div></div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Release me, insect, or I will destroy the Cosmos!<br>
</div></div>