Calculate average slider output value over time

    Nov 20 2017 | 10:08 pm
    Hi there. I have a slider that outputs values from 0 to 1000. I want to be able to move the slider quickly up and down and then calculate the average value reached in between each up and down movement. Is this scenario possible in max?
    The idea is that the slider will play a musical pitch in between the changing values whilst the quick back and forth movements will agitate the amplitude envelope. The amp envelope is taken care of. Just trying to get that middle value (pitch). Many thanks in advance for any tips!

    • Nov 21 2017 | 3:31 am
      Is this what you mean (if you'll pardon the pun)?
    • Nov 25 2017 | 11:31 pm
      That may well be exactly what I mean ;) Thanks for your help, Bill!