title: Get frequency from guitar input in real time
body: <p>I'm trying to get input from plug-in guitar, get the frequency from it and check whether the users is playing the right note or not. Something like a guitar tuner (I'll need to do a guitar tuner as well).</p>
  
  <p>My first question is, how can I get the frequency of guitar input in real time?</p>
  
  <p>and is it possible to do something like :</p>
  
  <pre><code>if (frequency == noteCFrequency)
  {
  //print This is a C note!!
  }
  </code></pre>
  
  <p>I'm now able to get input from the soundcard, record and playback the input sound already.</p>