Would anyone know how to get the tempo/speed of a song using import processing.sound.* library?

Been trying to search through the Internet. I can’t quite seem to find anything in regards to how to get the tempo/speed of a song, does anyone know any built in function or even a library?

Edit: I tried to use the Minim library and used getTempo() but that seems to fail.

Did you look at beat detector or what the name is?

WHat library is that under?

Minim too

Chrisir

Have a nice day!

1 Like

Oh, how would I implement this if you happen to have an idea as I am really struggling to do it.

You too mate :slight_smile:

I have no idea

Good luck!

1 Like

Did you see

http://code.compartmental.net/minim/beatdetect_class_beatdetect.html

Just measure something between beats

1 Like

Very interesting I will take a look at it :slight_smile:

Measure the time like with command millis()

See reference

1 Like