atodb
Description
Converts any given linear value to its corresponding decibel value.
Examples

Arguments
None.
Attributes
Common Box Attributes
Messages
bang
The most recently calculated decibel value is sent out the outlet.
int
Arguments
linear-amplitude
[int]
A linear amplitude value. The corresponding gain/attenuation in decibels is sent out the outlet.
float
Arguments
linear-amplitude
[float]
A linear amplitude value. The corresponding gain/attenuation in decibels is sent out the outlet.
list
Arguments
amplitude-list
[list]
A list of linear amplitude values. Corresponding gain/attenuation values in decibels for each list item are sent out the outlet.
set
Arguments
linear-amplitude
[float]
The message
followed by a linear amplitude value will set the next value to be calculated into decibels without sending anything out the outlet. Output
float
The gain or attenuation from unity gain, expressed in decibels.
int
The gain or attenuation from unity gain, expressed in decibels.
See Also
Name | Description |
---|---|
expr | |
atodb~ | |
dbtoa | |
dbtoa~ |