Converting peakamp to metro?

zach's icon

I'm wondering if it would be possible to take the peakamp off say a looping drum beat wav, and somehow convert this into a metro value to sync things up with other events. I don't know how I'd even go about this. It seems like I would need a way to count like every volume level over .5 for example, then take that and divide it into milliseconds. Or maybe there is a simpler way...

AudioMatt's icon

peakamp would be the absolute wrong thing to use because the behavior and accuracy would change with your vector sizes.

You might look into count~ and thresh~.

You're also going to have to worry about divisions. so you might specify that the tempo is between 70 and 140, that way when your tempo looks like it's 150 it can realize it's actually an 8th note at 75. or 300 would be a 16th and so on.

Believe it or not I recall having decent luck with an upsampled bonk~ in a poly~

just some thoughts. I've never gotten beat detection quite right.