This fits better under the Help category.
In OFS, you can enable waveform rendering on timeline by right clicking on it → “Update waveform”.
I’ve found varying result with this. Sometimes the waveform are not very useful.
There is a tool called Funscript Generator which detects peak in an audio and generates alternating strokes based on these peaks. You can use this if the video has a consistent sound that you align your strokes to.
Maybe FunscriptDancer will help?
https://discuss.eroscripts.com/t/pythondancer-a-port-of-funscriptdancer-to-python/103029?u=falafel