Sound Meter 0.9.0
Fully resizing logarithmic JUCE meter module.
Loading...
Searching...
No Matches
sd_MeterHelpers.h File Reference

Classes

struct  sd::SoundMeter::Padding
 Amount of padding to use on the meters. More...
 
struct  sd::SoundMeter::SegmentOptions
 Options defining the meter segments. More...
 
struct  sd::SoundMeter::Options
 All meter options for appearance and functionality. More...
 
struct  sd::SoundMeter::MeterColours
 All meter colours for the appearance of the meters. More...
 
class  sd::SoundMeter::MeterScales
 A class with static functions to create different types of meter scales. More...
 

Namespaces

namespace  sd
 Namespace containing all concerning the sound_meter module.
 
namespace  sd::SoundMeter
 
namespace  sd::SoundMeter::Constants
 Various meter helper constants.
 

Enumerations

enum class  sd::SoundMeter::NotificationOptions { sd::SoundMeter::notify , sd::SoundMeter::dontNotify }
 Type indicating whether to notify the listeners or not. More...
 
enum class  sd::SoundMeter::LabelStripPosition { sd::SoundMeter::left , sd::SoundMeter::right , sd::SoundMeter::none }
 Position of the label strip. More...
 

Variables

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