i am trying to do beat detection and the algorithm i'm following says i need to sum every 1024 samples. right now i am sampling to a table every 43ms (44100/1024) and then trying to use until to loop through and square then sum all values. i think i am missing something in understanding between audio rate and control rate to get this to work.
i've been trying to loop through the tabread~ with until and do my computation. i know how to sum if it were a float but as an audio signal there is no [f~] so i coming up short using [snapshot~] or [env~]. i am sure this has been done before, it is certainly easy in C but pd is stumping me, any ideas?