PM.WindowedHisto: Time limited histogram


    Feb 10 2017 | 5:15 pm
    I'm posting this here in case it's of use. It's essentially histo with a rolling time window. You feed it ints, and it keeps track of the number of times it has seen that int during that time window.
    This uses poly~ and pipe to keep track of things and works well provided you don't have thousands of distinct input numbers (fairly unlikely), though it would probably be more elegant to do this in Javascript.