TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Beat Detection Algorithms, Part 1

61 pointsby snickmyalmost 10 years ago

9 comments

escherizealmost 10 years ago
Aww. I read this title as Beat Detection-Algorithms, hoping it would help with some gray-hat marketing we&#x27;ve been doing.<p>Still interesting though.
评论 #9629127 未加载
hmagealmost 10 years ago
This algorithm won&#x27;t work on music without kick drums while it still has beat.
评论 #9628523 未加载
评论 #9626851 未加载
评论 #9628366 未加载
mrdmndalmost 10 years ago
Autocorrelation may also be a useful tool here - have you considered it at all?
评论 #9628719 未加载
jawngeealmost 10 years ago
I wrote my own algorithm for my video editor Vix, which takes a song and then automatically edits videos to the beats it finds.<p>Sound energy algorithm is not very good imho.<p>Low pass is a step in the right direction, but I&#x27;ve found a combo of low pass and band pass to be more accurate.<p>Here&#x27;s a vid of Vix in action:<p><a href="https:&#x2F;&#x2F;vimeo.com&#x2F;90104152" rel="nofollow">https:&#x2F;&#x2F;vimeo.com&#x2F;90104152</a>
j2kunalmost 10 years ago
The topic sounds interesting, but I can&#x27;t tell whether the interesting part is supposed to be the preprocessing, I.e. going from a raw music file to some sort of binary vector, or the actual beat detection, which could ostensibly work on any binary vector. Wouldn&#x27;t one just do a Fourier transform for the second part?
Qantouriscalmost 10 years ago
I still believe the best option for accuracy is actual instrument&#x2F;voice recognition. Might however not be the fastest or easiest. Also I&#x27;m not sure if it&#x27;s out there already or not.
sagargvalmost 10 years ago
Would harmonic product spectrum would work here? In my experience, it works very well for detecting the note frequency of guitar, piano etc.
评论 #9630419 未加载
bobowzkialmost 10 years ago
I&#x27;m surprised it doesn&#x27;t mention autocorrelation. Maybe that&#x27;s in part 2.
j_m_balmost 10 years ago
yay for sensible names like left[i] and right[i]!