reset meter level

josha's icon

Hi,

Trying to reset the meter level using button, having difficulty, any help/ suggestions?

Max Patch
Copy patch and select New From Clipboard in Max.

josha's icon

bump...

Roman Thilenius's icon

ok.

first of all, this is intended behavior that it does not "reset" itself when DSP is stopped.

despite the fact that most audio programs do it like that, it would be not very logical to interpret "no signal" as "signal with an energy of 0."

i believe all you can do is to turn on DSP in order to free the meter GUI again. send it a signal of 0. for at least 2*its rms time in milliseconds and voila.

my personal strategy always was to build my own meters using pictureslider, so that the GUI
can be controlled by messages.

-110

Roman Thilenius's icon

looking at your patch i would suggest the following quick and dirty solution:
let the second outlet of line~ control when the audio is turned off (but implement an additional [delay] of some 80 milliseconds.)

josha's icon

Hi,

Max Patch
Copy patch and select New From Clipboard in Max.

so i have found a way to reset meter to bottom using slider and presets (see attached patch). The query is now how i can alter between the meter rising and the reset.. i'm think a gate might work. Any help?

josha's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Almost there! I have put a gate in, which seems to work. However, once set to bottom, I want the meter to start rising after a short delay. I have been messing around with delay to trigger the gate back and forth, but I'm having issues putting it in correctly. Could someone lend a hand?

josha's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Think I've sorted it, but if there are any neater solutions I'd appreciate a head up- this patch is already getting quite messy...