Very neat. What's the timeout for?
Show HN: I built an HTML 5 Guitar Tuner
11–20 of 55 posts
Re: Show HN: I built an HTML 5 Guitar Tuner
#12Re: Show HN: I built an HTML 5 Guitar Tuner
#13Awesome. How does the audio analysis work? Is it all happening client side?
Re: Show HN: I built an HTML 5 Guitar Tuner
#14http://i.imgur.com/GV5TktA.png
Edit: I should also mention that this is really well done, and I've been looking for something simple like this for a while. Thanks for sharing!
Re: Show HN: I built an HTML 5 Guitar Tuner
#15Good work, thank you. I have been looking for a free guitar tuner and I have had varying experiences with the ones I've used. I mostly use a linux native app called lingot. It does the job but has small annoying bugs (settings file is not parsed properly, my ALSA device CARD:foo,bar=baz fails because of the colon character, I'll write a patch one of these days). This guitar tuner works, I tuned my guitar succesfully…
Thanks for the review and feedback. The performance delay may be due to the high volume right now because of the posting.
Also this is a very very simple algorithm that I will likely replace. As stated below, the cool thing (I think) about this is that its all javascript. All other online tuners require flash to use the microphone. This is still somewhat of a proof of concept/prototype and I hope to improve.
I tested this on a macbook pro with the built-in microphone and mostly Chrome. It's great to know that it works on a completely different platform.
Re: Show HN: I built an HTML 5 Guitar Tuner
#16I don't have a guitar but I can tap on my desk, and that seems to result in random notes. Maybe there's a way to improve the detection so it knows it's a guitar note?
Sometimes people go out of their way to find flaws with a service - this is one of those times.
Re: Show HN: I built an HTML 5 Guitar Tuner
#17Awesome. How does the audio analysis work? Is it all happening client side?
Yup, all client side. You can view source on the page and read the javascript code doing the Fourier Transforms on the audio sample.
Also, am I right in saying that you did your own fft rather than use the built in analyser? I tried to do one with the built in analyser a while back and had mixed results.
Re: Show HN: I built an HTML 5 Guitar Tuner
#18For my project, I was charting the dominant frequency for fun.
Re: Show HN: I built an HTML 5 Guitar Tuner
#19(Jokes aside, this has a great design and it's an interesting application of the microphone API. Hope to see more apps using this feature in the future, especially in conjunction with the cool voice-to-JSON APIs that have recently come out.)