Live.dial decibel units don't match MSP amplitude

grigou's icon

This issue makes me crazy.

My live.dial have :
- Range : -70. and 0.
- Unit Style : Decibels

When the dial reach -70. value, live.dial shows automatically "-inf" BUT when passing through dbtoa~, it outputs an amplitude of 0.000316 ! So not a 0 volume.

To have a 0 volume, I need to pass -127. value through dbtoa~ BUT live.dial show -inf above -70. value.
I want to have "-inf" only when the volume is REALLY at 0.

Any idea ??
Thanks !

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

double_UG's icon

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

grigou's icon

Thank you for the help !
It still weird that live.dial -inf is link to -70 value and dbtoa -inf is link to -127 value.

Roman Thilenius's icon

it´s just cut off; they dont measure things which are not going to be displayed anway.

i also use [expr max((log10($f1)*20)\,-90.)] for scheduler rate and GUI (and even for audio most of the time) and i will continue to do so even for 64 bit audio.

24 bit audio allows you a dynamic range of 144db.

but -100db is already 10,000,000,000 times less loud than 0.

old versions of the meter objects in max and most outboard desks and processors start blinking their leds not before -40 db. you simply dont need to see things which you dont hear anymore. (but the log10*20 is always the same.)