Sound Meter 0.9.0
Fully resizing logarithmic JUCE meter module.
|
Various meter helper constants. More...
Variables | |
static constexpr auto | kMinWidth = 2 |
Minimum meter width (in pixels). More... | |
static constexpr auto | kMaxWidth = 500 |
Maximum meter width (in pixels). More... | |
static constexpr auto | kPeakHoldHeight = 2 |
Height of the peak hold strip (in pixels). More... | |
static constexpr auto | kDefaultHeaderHeight = 25 |
Default height of the 'header' part (in pixels). More... | |
static constexpr auto | kDefaultHeaderLabelWidth = 30 |
Default 'header' label width (in pixels). More... | |
static constexpr auto | kDefaultHeaderFontHeight = 14.0f |
Default height of the font used in the 'header' part (in pixels). More... | |
static constexpr auto | kLabelStripTextPadding = 2 |
Padding around the text in a label strip (in pixels). More... | |
static constexpr auto | kLabelStripLeftPadding = 5 |
Padding (in pixels) on the left side of the label strip (which can double as a master fader). More... | |
static constexpr auto | kFaderRightPadding = 1 |
Padding (in pixels) on the right side of the channel faders. More... | |
static constexpr auto | kMaxLevel_db = 0.0f |
Maximum meter level (in db). More... | |
static constexpr auto | kMinLevel_db = -96.0f |
Minimum meter level (in db). More... | |
static constexpr auto | kMinDecay_ms = 100.0f |
Minimum meter decay speed (in milliseconds). More... | |
static constexpr auto | kMaxDecay_ms = 4000.0f |
Maximum meter decay speed (in milliseconds). More... | |
static constexpr auto | kDefaultDecay_ms = 1000.0f |
Default meter decay speed (in milliseconds). More... | |
static constexpr auto | kTickMarkHeight = 2 |
Height of a tick mark (in pixels). More... | |
static constexpr auto | kFaderFadeTime_ms = 2500 |
Fader fade out time (in milliseconds). More... | |
static constexpr auto | kFaderSensitivity = 10.0f |
Fader sensitivity value. Must be a positive value > 0. More... | |
static constexpr auto | kFaderAlphaMax = 0.3f |
Maximum transparency (alpha) of the fader overlay. More... | |
static constexpr auto | kMinModeHeightThreshold = 150 |
Meter minimum mode height threshold in pixels (min. mod is just the meter. not value, ticks or fader). More... | |
static constexpr auto | kMinModeWidthThreshold = 15 |
Meter minimum mode width threshold in pixels (min. mod is just the meter. not value, ticks or fader). More... | |
static constexpr auto | kMetersPanelId = "meters_panel" |
ID (name) of all components in the meters panel. More... | |
static constexpr auto | kLabelStripId = "label_strip" |
ID (name) of the label-strip (master fader). More... | |
Various meter helper constants.
|
staticconstexpr |
Minimum meter width (in pixels).
Referenced by sd::SoundMeter::MetersComponent::resized(), and sd::SoundMeter::MetersComponent::setChannelNames().
|
staticconstexpr |
Maximum meter width (in pixels).
Referenced by sd::SoundMeter::MetersComponent::resized().
|
staticconstexpr |
Height of the peak hold strip (in pixels).
|
staticconstexpr |
Default height of the 'header' part (in pixels).
Referenced by sd::SoundMeter::MeterChannel::resized(), and sd::SoundMeter::Level::setMeterBounds().
|
staticconstexpr |
Default 'header' label width (in pixels).
Referenced by sd::SoundMeter::MetersComponent::resized(), and sd::SoundMeter::MetersComponent::setChannelNames().
|
staticconstexpr |
Default height of the font used in the 'header' part (in pixels).
Referenced by sd::SoundMeter::Header::draw().
|
staticconstexpr |
Padding around the text in a label strip (in pixels).
|
staticconstexpr |
Padding (in pixels) on the left side of the label strip (which can double as a master fader).
Referenced by sd::SoundMeter::MetersComponent::setChannelNames().
|
staticconstexpr |
Padding (in pixels) on the right side of the channel faders.
Referenced by sd::SoundMeter::MetersComponent::setChannelNames().
|
staticconstexpr |
Maximum meter level (in db).
|
staticconstexpr |
Minimum meter level (in db).
Referenced by sd::SoundMeter::Level::getPeakHoldLevel(), sd::SoundMeter::Level::reset(), and sd::SoundMeter::Segment::resetPeakHold().
|
staticconstexpr |
Minimum meter decay speed (in milliseconds).
|
staticconstexpr |
Maximum meter decay speed (in milliseconds).
|
staticconstexpr |
Default meter decay speed (in milliseconds).
|
staticconstexpr |
Height of a tick mark (in pixels).
|
staticconstexpr |
Fader fade out time (in milliseconds).
Referenced by sd::SoundMeter::Fader::draw().
|
staticconstexpr |
Fader sensitivity value. Must be a positive value > 0.
|
staticconstexpr |
Maximum transparency (alpha) of the fader overlay.
Referenced by sd::SoundMeter::Fader::draw().
|
staticconstexpr |
Meter minimum mode height threshold in pixels (min. mod is just the meter. not value, ticks or fader).
Referenced by sd::SoundMeter::MeterChannel::autoSetMinimalMode().
|
staticconstexpr |
Meter minimum mode width threshold in pixels (min. mod is just the meter. not value, ticks or fader).
Referenced by sd::SoundMeter::MeterChannel::autoSetMinimalMode().
|
staticconstexpr |
ID (name) of all components in the meters panel.
Referenced by sd::SoundMeter::MetersComponent::MetersComponent().
|
staticconstexpr |
ID (name) of the label-strip (master fader).