What is the CPU-friendly substitute for meter~?

Masa's icon

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

Christopher Dobrian's icon

[peakamp~] is pretty much like meter~ without the graphics.

Roman Thilenius's icon

and feel free to downsample the process.

Christopher Dobrian's icon

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.

Roman Thilenius's icon

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.

Roman Thilenius's icon

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. :/