1 declare name "vumeter";
3 declare author "Grame";
5 declare copyright "(c)GRAME 2006";
7 //-------------------------------------------------
9 //-------------------------------------------------
14 vmeter(x) = attach(x, envelop(x) : vbargraph("meter", 0, 1));
15 hmeter(x) = attach(x, envelop(x) : hbargraph("meter", 0, 1));
17 envelop = abs : min(0.99) : max ~ -(1.0/SR);
19 process = vgroup("vu meter", vmeter);