A newer version of Max is available. Click here to access the latest version of the Max documentation

atodb Reference

Convert a linear amplitude to decibels

atodb

Examples

Inlets

Amplitude Scalar [number]

The amplitude to be converted to dB.

Outlets

Gain/Attenuation (dB) [number]

The gain or attenuation from unity gain, expressed in decibels.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: 0)

All inlets trigger calculation.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [number]

The amplitude to be converted to dB.

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
expr Evaluate an expression using the rnbo expr language.
dbtoa Convert decibels to a linear value
dbtoa~ Convert decibels to a linear value