Environment: Siren
Instances of DBLoudness represent deciBel loudness values.
printing
double dispatch
Subtract the argument from the receiver after turning both into db.
differenceFromVelocity: aDyn
Subtract the argument from the receiver after turning both into db.
productFromDynamic: aDyn
Multiply the argument by the receiver after turning both into db.
productFromVelocity: aDyn
Multiply the argument by the receiver after turning both into db.
quotientFromDynamic: aDyn
Divide the argument by the receiver after turning both into db.
quotientFromVelocity: aDyn
Divide the argument by the receiver after turning both into db.
sumFromDynamic: aDyn
Add the argument to the receiver after turning both into db.
private
Answer Amplitude.
converting
Answer a MIDI key velocity (0 to 127)
asRatio
Answer the receiver as a ratio between 0 and 1.
positiveDB
Answer the zero-based positive dB value of the receiver.
MetaClass: DBLoudness class
coercion
Answer the selector to be used in coercing double-dispatching messages.