TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Making a Guitar Tuner with HTML5

55 点作者 jbergknoff超过 10 年前

2 条评论

xyzzy_plugh超过 10 年前
Pretty cool, but a Fourier transform is overkill! Many commercial hand-held tuners use a cool trick that works exceptionally well: zero-crossing.<p>While far less accurate than your implementation, it can still help nail the note (I&#x27;ve written an implementation in awk before... disgusting, but worked!). Simply look at the raw data, and see when it crosses over from negative to positive (or vice-versa). Count the number of crossings in some interval, and now you have the frequency. Usually a little input fuzzing is required, but it works exceptionally well.<p>Regardless, nice job.
评论 #8554111 未加载
评论 #8554403 未加载
notdan超过 10 年前
If you are interested in guitars&#x2F;music and HTML5, I wrote a transcribing tool (looper, slow downer, etc) that runs in a browser and uses the Audio APIs. Wasn&#x27;t sure if it would be possible, but was able to do quite a bit:<p><a href="http://www.tunetranscriber.com/" rel="nofollow">http:&#x2F;&#x2F;www.tunetranscriber.com&#x2F;</a>
评论 #8555013 未加载