Calculate average slider output value over time
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!
Is this what you mean (if you'll pardon the pun)?
Max Patch
Copy patch and select New From Clipboard in Max.
That may well be exactly what I mean ;) Thanks for your help, Bill!