Sweet. I'm going to try out Peter Ps abstraction.

Additionally, I know this is not what you are asking for, but there is iemlib [fadtodb] and [dbtofad] which matches the default "MIDI" range of a slider to that of a VU in dB or conversely. I use these to match a control vslider to the same height as a vu for my faders.

When I transitioned most of my patches to vanilla-only, I made abstraction versions of these using lookup tables, [m_fadtodb] & [m_dbtofad] in the rc-patches: https://github.com/danomatika/rc-patches

There are also some simple channel faders: [g_chan] & [g_chan2]

On Apr 21, 2020, at 10:31 AM, pd-list-request@lists.iem.at wrote:

Message: 3
Date: Tue, 21 Apr 2020 09:03:14 +0200
From: "Ingo" <ingo@miamiwave.com>
To: <pd-list@lists.iem.at>
Subject: [PD] VU / Peak Meter ? - external or abstraction
Message-ID: <000001d617aa$ed5a0ff0$c80e2fd0$@miamiwave.com>
Content-Type: text/plain; charset="utf-8"

Does anybody know of an accurate mono or stereo VU meter?

Abstraction or external.



Using env~ with the Pd internal level meter works but I don't seem to have
any reference of the real peak or RMS level.



The only thing I could do is sending some test signals from the SPDIF out to
my RME sound card and tweak the level to match 0dB.

But there should be an accurate level calculation directly within Pd .



I'm on Pd 0.49 on Debian.

--------
Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com