What is the CPU-friendly substitute for meter~?
Hi, I would appreciate any idea which can be the CPU-friendly substitute for meter~.
I found out that the behaviour of snapshot~ is slightly different.
Many thanks for your help,
Masa
[peakamp~] is pretty much like meter~ without the graphics.
and feel free to downsample the process.
peakamp~ is about as CPU-friendly as any MSP object could be. It does a single abs and > comparison per sample in order to find the greatest magnitude sample since the last bang.
the function of peakamp is to get what you would call the envelope of the incoming audio. building a meter or a VU meter or something like that is only one of its purposes. it is a very musical object and fits good to the human recognition.
depending on the material, snapshot~ will give you total different values than peakamp~ (of almost no relation to envelope or peaks in a worst case scenario)
but what do i know. i use OS9, where both, the meter~ and the peakamp~ object have serious bugs. :/