#include <units.h>
Public Member Functions | |
| DB (float infinitygain=INFINITYGAIN) | |
| virtual | ~DB () |
| float | fromdb_table () |
| float | fromdb_table (float db) |
| float | fromdb () |
| DB & | operator++ () |
| DB & | operator-- () |
| DB & | operator= (DB &newdb) |
| DB & | operator= (int newdb) |
| int | operator== (DB &newdb) |
| int | operator== (int newdb) |
Static Public Member Functions | |
| static float | fromdb (float db) |
| static float | todb (float power) |
Data Fields | |
| float | db |
| float | infinitygain |
Static Public Attributes | |
| static float * | topower = 0 |
Static Private Attributes | |
| static float * | allocated = NULL |
Definition at line 39 of file units.h.
| DB::DB | ( | float | infinitygain = INFINITYGAIN |
) |
| float DB::fromdb_table | ( | float | db | ) |
| float DB::fromdb | ( | ) |
Definition at line 53 of file units.C.
References db.
Referenced by ParametricEQ::calculate_envelope(), Synth::get_oscillator_point(), Synth::get_total_power(), SynthLevelNormalize::handle_event(), CompressorEffect::process_buffer(), NormalizeMain::process_loop(), Synth::process_realtime(), Reverb::process_realtime(), Gain::process_realtime(), FreeverbEffect::process_realtime(), Despike::process_realtime(), VirtualANode::render_fade(), SpectrogramFFT::signal_process(), DenoiseFFTRemove::signal_process(), and Synth::solve_eqn().
| float DB::todb | ( | float | power | ) | [static] |
Definition at line 64 of file units.C.
References db.
Referenced by SynthLevelNormalize::handle_event(), SoundLevelEffect::render_gui(), BC_Meter::update(), and ParametricWindow::update_canvas().
| DB& DB::operator-- | ( | ) | [inline] |
float * DB::topower = 0 [static] |
| float DB::db |
Definition at line 63 of file units.h.
Referenced by DB(), fromdb(), fromdb_table(), operator++(), operator--(), operator=(), operator==(), and todb().
| float DB::infinitygain |
float * DB::allocated = NULL [static, private] |
1.5.5