Prlwytzkofsky

a pinch of science, a dash of code

Guitar tuner

While searching example code for an Flash online Guitar Tuner I came upon the very efficient Java 5Ktuner on Psychic Origami. Luckily Java to Flash conversion proved proved, once again, easy. The Flash AS3 version works great – thanks to the low overhead of the autocorrelation function used for measuring pitch.

This movie requires Flash Player 10.2

Quoted from Psychic Origami: “The app is more or less non-interactive. It simply starts up tries to work out what note is being played. It shows a simple slider that moves according to what note is being played and indicates how close to that note you are. In addition the raw frequency (in hz) is shown, as well a chart that shows the autocorrelation function of the input sound. A red line is drawn on this chart when a “valid” note is heard and indicates the wavelength of the overall frequency.”

This entry was posted on Sunday, October 9th, 2011 at 2:51 pm by Prlwytzkofsky and is filed under code, other. You can follow any responses to this entry through the RSS 2.0 feed.You can leave a response, or trackback from your own site.

Leave a Reply