I’m sure there’s something in the zsa.descriptors Max package to do this. Perhaps zsa.kurtosis~. They run at signal rate too, but I expect some look ahead is needed to smooth the separation.
http://www.e–j.com/index.php/what-is-zsa-descriptors/
Now in the package manager