Can a multislider reflect meter~ value?

njw's icon

Hi All,

I would like to create an interface that allows a user to see an input signal in meter~ and set an upper threshold for thresh~ using a slider. I have overlaid a transparent multislider (1 slider) on top of meter~ so the UI looks good however...the slider value does not reflect the db value displayed by meter~.so the threshold set does not actually function properly.

Is there a way to calibrate a multislider so that it reflects a meter~ display? Or, is there a better visual interface to display and incoming signal and set a threshold?

I've attached an example of the interface I am working with e.g. multislider overlaid on meter~ in case I am not being clear.

Thanks for all of your help in advance.

Nick

MeterThresh_1.0.maxpat
Max Patch
Roman Thilenius's icon

yes, it can, but you should make sure at first what meter is actually displaying in its GUi - it is all but linear, and it is capped at the lower end.

njw's icon

Thanks for your response Roman.

Checking the meter~ parameters in Inspector, I can't see a way to make it linear. Is the trick then to make my multislider logarithmic? If so, do you (or anyone else) have any idea of the a formula to apply so that my multislider reflects the non-linear db values?

Cheers,

Nick

florian1947's icon

dbtoa is your friend

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

Florian

Roman Thilenius's icon

where does your data come from? you could just use a hidden meter objects output.

metamax's icon