Geez. How hard can it be? All I need is a simple calculation that tells me how much a waveform looks like this:
eg. it contains big short spikes in one or both directions. Because these are the type of sounds that are most susceptible to voice vibrations - so the more a waveform looks like this, the more I need to lower the bass level.
BUT ALL MY CALCULATIONS FAIL
I had something working in version 4.22, but that was more of a yes/no thing, and I need a sliding value.
Edit: Previous waveform is now correctly recognized, but this one is more difficult and still fails:
I think the solution is to create a 'think spike with not much surrounding it' filter.
Edit: I might have a new idea, will test it tomorrow...