Forums > MaxMSP

meter~ display

November 8, 2010 | 6:00 pm

if I use the meter~ object I always get the display of the last instance.
means: if i activate audio with ‘startwindow’ and a signal comes thru the meter, I go on ‘stop’ (for the audio signal) my meter~ still displays something – even if I cut off the signal completely from the meter~ object.

How does this come?
Is there a possibility to avoid that….(no audio, no display on the meter)?
thanx so much

Cheers
Peer


November 8, 2010 | 6:18 pm

You can set the display of meter~ just by sending it a number. You could write your program in such a way that you send the meter~ the number 0 every time you stop audio.

– Pasted Max Patch, click to expand. –

November 8, 2010 | 6:56 pm

this happens because the meter object makes up its "clock" from signal rate.
so when audio is turned off, it wont "reset" automatically. if there is no audio,
the level wont be 0, there is no level at all. :)

-110


November 8, 2010 | 9:25 pm

thanx both of you…I thought that there would be another way than sending a ’0′ message (for example in the inspector) but the answer that meter makes up its ‘clock’ shows me that there is no other possibility.
thanx again also to Christopher for the nice little patcher :-)

cheers
Peer


November 9, 2010 | 7:03 am

it’s a pity that if you send a ’0.’ message the overload LED is not erased.
that’s a bit strange in my eyes……of course i could send an ‘overloadcolor’ message together with the ’0′ message which gives the overload LED the same color than the background, but that’s a bit complicated I think


November 9, 2010 | 9:06 am

yeah thats strange … in a way … the hold time of the red light should
not depend on signal … it doesnt in a hardware meter either …

i use dials with custom pictures as meters in max …


November 9, 2010 | 9:17 am

that’s a good idea
so that means u use a dial object of max, connected to a custom picture of a meter?
also not the easiest way ;-)
would be cool if the guys of cycling 74 could customize the meter~ object though….


November 9, 2010 | 10:07 pm

yes i simply make custom pictures – and then i drive them from meter~s
output … and my meter~ objects are inside a poly~ … which is downsampled /8.

maybe it is not easy but you build it one time and it works for years.

if you like simple geometric graphics (and there is really nothing wrong with it)
you also might want to use an [lcd].

lcd has the advantage that you can also change colors and shape of the indicators,
you can turn it off and on, change the direction of the metering, or have different
modes for an additional peak meter.

-110


November 9, 2010 | 10:25 pm

cool :-) :-)

by the way, I wrote Ben (cycling support) and here is his answer:

Hi Peer,

It goes away all by itself after a few moments, but I’ll be happy to submit this as a feature request!


November 10, 2010 | 8:23 am

definetly worth a feature request.


Viewing 10 posts - 1 through 10 (of 10 total)