Quote:calculate the distance between two points with a formula like d=sqrt((time1-time2)^2 + (bpm1-bpm2)). You set a minimum distance in your program. Then you iterate through your data and after every point you delete all following points for which d is smaller than your minimum distance. As the unit of time and bpm isn't the same you might want to think about how you can find a way to scale the units meaningfully.
d=sqrt((time1-time2)^2 + (bpm1-bpm2))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)