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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Beat Detection Using JavaScript and the Web Audio API

92 点作者 hieronymusN将近 11 年前

6 条评论

Derbasti将近 11 年前
What is the corner frequency of the low-pass filter? It is kind of pointless to use a filter without specifying its corner frequency.<p>Also, peak detection can be improved a lot by searching for local maxima of the level instead of taking a threshold of the amplitude.<p>As a scientist of acoustics, I find this approach frustratingly naive. Still, nice write-up!
评论 #8124965 未加载
评论 #8124602 未加载
analog31将近 11 年前
Nice write-up. Thanks!<p>I wonder if the algorithm can adapt to recordings where the tempo isn&#x27;t quite constant.<p>Amusingly, I first read &quot;beat&quot; as a verb in your title, and was expecting something cloak-and-dagger.
评论 #8124947 未加载
评论 #8123980 未加载
markmsmith将近 11 年前
Thanks for this write up, I really enjoyed it. +1 to the suggestion to adjust the threshold based on the average volume in a section, maybe using a sliding window.
passive将近 11 年前
Nice! I&#x27;m trying to convince my brother to use similar techniques in his game to allow the environment to respond to music played by the user.
golergka将近 11 年前
A really nice article, but not really an advanced algorithm. What would be really interesting is an explanation of something like Ableton warp engine, which can automatically detect and warp to the grid tracks with fluid tempo.
crsmithdev将近 11 年前
Wow, in my half-awake state I initially read that as &#x27;BEAR detection using JavaScript and the Web Audio API&quot;. Unfortunately the article did not live up to the promise.<p>j&#x2F;k, very cool :)
评论 #8125416 未加载