Find a Median of EEG raw headset

hnovo's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Hello I am new in nax, the patch I'm trying to develop need to find the average for 1 minute and then trigger a audio loop. What I have does not work, particularly the question of time. How can I control seconds of a more rigorous way?
My goal is to get every minute average values ​​sent by eeg to trigger different loops.
Thanks a lot

MIB's icon

why couldn't you use the "mean" object and just output the average every minute and then reset the object??