# BPM counter that indicates the actual time of the music.

BPM counter that indicates the actual time of the music.

What do you mean like actual time of the music? You mean a timer?

Alborz mountains I didn’t come out right, sorry for my bad English.
What I’m trying to do is exactly that:

Count how many beats occur in X seconds and divide by the time beats; then divide 60 by the result obtained in the first step.
30 hits in 15 seconds _ _ _ _ 15/30 = 0.5
60/0.5 = 120

so in a time of 15 seconds the Touch Designer will fix the BPM of visual projection.

When I’m designing videos at Club djs vary greatly the time the songs, I think that would be a reasonable solution to be closer to the correct time.

The vast majority of electronic music has the highest peak in the kick, if I can analyze the sound tell the peaks of kick that has a frequency of 60-80 Hz and apply this calculus that might work.

Haha, good mountain knowledge!

I mean you’ve already done all of the hard part by saying exactly what you wanted. I can make you an example, are you in 088 or 077?

But really, you already have everything you need, when you break down your goal into such small operations, you just need to find the proper operator that does that operation.

hehehehe… I’m in 88.

I think I have to program the count chop to stop counting when my watch complete the time of 30 seconds or another desired time.
The total number of beats has to be divided by clock time.
Then I have to share the time of result by 60.
I am not able to do this.
I’m really new in TD, plus I have a great desire to do.
If you can help me I will be very grateful

I would be very curious on how to do this in TD. Was there ever an example?

for fairly solid beat tracking I probably would look outside TouchDesigner and explore things like Supercollider (doc.sccode.org/Classes/BeatTrack.html) and communication via OSC is simple to implement.

Cheers
Markus