Sound Meter 0.9.0
Fully resizing logarithmic JUCE meter module.
|
Options defining the meter segments. More...
#include <sd_MeterHelpers.h>
Public Attributes | |
juce::Range< float > | levelRange { Constants::kMinLevel_db, Constants::kMaxLevel_db } |
The range of the segment in decibels. More... | |
juce::Range< float > | meterRange { 0.0f, 1.0f } |
The range of the segment in the meter (0.0f - 1.0f, with 0.0f being the bottom of the meter). More... | |
juce::Colour | segmentColour { juce::Colours::yellow } |
The colour of the segment. More... | |
juce::Colour | nextSegmentColour { segmentColour.brighter() } |
The second colour of the segment (for use in gradients). More... | |
Options defining the meter segments.
juce::Range<float> sd::SoundMeter::SegmentOptions::levelRange { Constants::kMinLevel_db, Constants::kMaxLevel_db } |
The range of the segment in decibels.
Referenced by sd::SoundMeter::Segment::setMeterOptions(), and sd::SoundMeter::Segment::setSegmentOptions().
juce::Range<float> sd::SoundMeter::SegmentOptions::meterRange { 0.0f, 1.0f } |
The range of the segment in the meter (0.0f - 1.0f, with 0.0f being the bottom of the meter).
Referenced by sd::SoundMeter::Segment::setMeterBounds(), and sd::SoundMeter::Segment::setSegmentOptions().
juce::Colour sd::SoundMeter::SegmentOptions::segmentColour { juce::Colours::yellow } |
The colour of the segment.
Referenced by sd::SoundMeter::Segment::draw(), and sd::SoundMeter::Segment::setMeterBounds().
juce::Colour sd::SoundMeter::SegmentOptions::nextSegmentColour { segmentColour.brighter() } |
The second colour of the segment (for use in gradients).
Referenced by sd::SoundMeter::Segment::setMeterBounds().