Detecting beats in a song

12,477

Solution 1

You can use this BPM Detection Library

Besides BPM calculation it also allows you to get every beat, so you could for example adjust your visualisation, if that is the case.

Solution 2

This question has already been asked; check out this StackOverflow thread. Some of the answers include explicit beat detection algorithms and links.

Share:
12,477
MisdartedPenguin
Author by

MisdartedPenguin

Fluffy!

Updated on July 20, 2022

Comments

  • MisdartedPenguin
    MisdartedPenguin almost 2 years

    I'm working on a project which requires me to add beat detection when a song is playing in the application (WinForms - C#).

    I'm currently using NAudio.NET for playing the song & displaying details about the song.

    Is there a library that would allow me to do this or some way to detecting this manually? I'm not expecting a finished solution but pointers in the right direction. Ideally I would like this to be a real-time detection but it is not essential.

  • MisdartedPenguin
    MisdartedPenguin over 12 years
    BPM and beat detection are similar but not quite the same. Those links look useful thanks.
  • GGulati
    GGulati over 12 years
    I'm aware that they're not the same, but some of the algorithms for BPM are the same or similar to the algorithms for beat detection.
  • MisdartedPenguin
    MisdartedPenguin over 12 years
    This library is great but I am unable to get hold of the developer to discuss licensing (Comes with a horrible popup in the .dll at runtime). So not helpful at the moment
  • John Lord
    John Lord over 5 years
    the referenced question was closed as "too broad"