Hi. I'm making a sample trigger mechanism with the help of a piezo disc. I want to trigger the sample with varying velocity following how hard i hit the disc. Now, i've set a box only letting the numbers above silence through in this fashion:
adc~
I
env~
I
max 30
And i can use threshold~ to trigger the sample. But to control the amp of each strike I need to store the highest value I get when striking the disc. Any ideas how this is done?
Thanks