Hello,
another Absolut Newbie (cheers) here struggling with my first patch: a remote meterbridge for 32 input channels.
The problem is this: I have 32 tables of size 60, one per channel. These should graph out the dB peaks from the last 10 seconds. I know how to read and write to tables, but was wondering if there is an easy and CPU-friendly way of moving all values in the table down by one position (not sure if the term 'blitting' is applicable here)?
I can accomplish this by writing a loop that cycles a counter from 58 to 0, copies every value to the next position (on 58 we copy the value at position 58 to 59, then on 57 copy from 57 to 58...) -- but this has to be done on 32 tables and has to complete in 0.2 seconds, after which new values arrive. Haven't tried but I feel there's gotta be a better way. Can anyone show me the better way?