module

DSP::Gain

Provide utility functions to convert between a linear and decibel (logarithm) unit.

Constants

MAX_DB_ABS = 6000.0

Class methods

db_to_linear(db)

Convert a decibel value to a linear value.

Source
linear_to_db(linear)

Convert a linear value to a decibel value.

Source