Much smoother groove extraction for automation.
Add a function I stumbled upon to the utility module...