![]() |
Mema
Memory Matrix — multi-channel audio matrix monitor and router
|
Metadata describing a single plugin parameter exposed for remote control. More...
#include <MemaPluginParameterInfo.h>
Public Member Functions | |
| bool | operator== (const PluginParameterInfo &other) const |
| bool | operator!= (const PluginParameterInfo &other) const |
| bool | operator< (const PluginParameterInfo &other) const |
| bool | operator> (const PluginParameterInfo &other) const |
| bool | operator<= (const PluginParameterInfo &other) const |
| bool | operator>= (const PluginParameterInfo &other) const |
| juce::String | toString () const |
| bool | initializeFromString (const juce::String ¶meterString) |
| bool | initializeFromAudioProcessorParameter (juce::AudioProcessorParameter &processorParameter) |
Static Public Member Functions | |
| static PluginParameterInfo | fromString (const juce::String ¶meterString) |
| static PluginParameterInfo | fromAudioProcessorParameter (juce::AudioProcessorParameter &processorParameter) |
| static std::vector< PluginParameterInfo > | parametersToInfos (juce::Array< juce::AudioProcessorParameter * > processorParameters) |
Public Attributes | |
| int | index = 0 |
| Zero-based parameter index within the plugin. | |
| juce::String | id = "0" |
| Unique string identifier of the parameter. | |
| juce::String | name = "" |
| Human-readable parameter name. | |
| float | defaultValue = 0.0f |
| Factory default value (normalised 0..1). | |
| float | currentValue = 0.0f |
| Current parameter value (normalised 0..1). | |
| juce::String | label = "" |
| Unit label (e.g. "dB", "Hz"). | |
| bool | isAutomatable = false |
| Whether the host can automate this parameter. | |
| bool | isRemoteControllable = true |
| Whether this parameter is exposed for remote control. | |
| juce::AudioProcessorParameter::Category | category = juce::AudioProcessorParameter::Category::genericParameter |
| JUCE parameter category. | |
| float | minValue = 0.0f |
| Minimum value in the parameter's native range. | |
| float | maxValue = 1.0f |
| Maximum value in the parameter's native range. | |
| float | stepSize = 0.0f |
| Step interval for discrete parameters (0 = continuous). | |
| bool | isDiscrete = false |
| True if the parameter has a finite set of steps. | |
| ParameterControlType | type = ParameterControlType::Continuous |
| Control widget type (slider, combo, toggle). | |
| int | stepCount = 0 |
| Number of discrete steps (0 if continuous). | |
| std::vector< std::string > | stepNames |
| Display names for each discrete step. | |
Metadata describing a single plugin parameter exposed for remote control.
Definition at line 33 of file MemaPluginParameterInfo.h.
|
inlinestatic |
Definition at line 206 of file MemaPluginParameterInfo.h.
References initializeFromAudioProcessorParameter().
Referenced by parametersToInfos(), and Mema::MemaProcessor::setPlugin().
|
inlinestatic |
Definition at line 161 of file MemaPluginParameterInfo.h.
References initializeFromString().
Referenced by Mema::MemaProcessor::setStateXml().
|
inline |
Definition at line 168 of file MemaPluginParameterInfo.h.
References category, currentValue, defaultValue, index, isAutomatable, isDiscrete, isRemoteControllable, label, maxValue, minValue, name, and stepSize.
Referenced by fromAudioProcessorParameter().
|
inline |
Definition at line 128 of file MemaPluginParameterInfo.h.
References category, currentValue, defaultValue, index, isAutomatable, isDiscrete, isRemoteControllable, label, maxValue, minValue, name, stepCount, stepNames, stepSize, and type.
Referenced by fromString().
|
inline |
Definition at line 73 of file MemaPluginParameterInfo.h.
|
inline |
Definition at line 79 of file MemaPluginParameterInfo.h.
|
inline |
Definition at line 93 of file MemaPluginParameterInfo.h.
|
inline |
Definition at line 53 of file MemaPluginParameterInfo.h.
References category, currentValue, defaultValue, id, index, isAutomatable, isDiscrete, isRemoteControllable, label, maxValue, minValue, name, stepCount, stepSize, and type.
|
inline |
Definition at line 87 of file MemaPluginParameterInfo.h.
|
inline |
Definition at line 99 of file MemaPluginParameterInfo.h.
|
inlinestatic |
Definition at line 214 of file MemaPluginParameterInfo.h.
References fromAudioProcessorParameter().
Referenced by Mema::MemaProcessor::initializeCtrlValues().
|
inline |
Definition at line 104 of file MemaPluginParameterInfo.h.
References category, currentValue, defaultValue, index, isAutomatable, isDiscrete, isRemoteControllable, label, maxValue, minValue, name, stepCount, stepNames, stepSize, and type.
| juce::AudioProcessorParameter::Category Mema::PluginParameterInfo::category = juce::AudioProcessorParameter::Category::genericParameter |
JUCE parameter category.
Definition at line 43 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| float Mema::PluginParameterInfo::currentValue = 0.0f |
Current parameter value (normalised 0..1).
Definition at line 39 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| float Mema::PluginParameterInfo::defaultValue = 0.0f |
Factory default value (normalised 0..1).
Definition at line 38 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| juce::String Mema::PluginParameterInfo::id = "0" |
Unique string identifier of the parameter.
Definition at line 36 of file MemaPluginParameterInfo.h.
Referenced by operator<(), operator==(), and Mema::PluginParameterInfosMessage::PluginParameterInfosMessage().
| int Mema::PluginParameterInfo::index = 0 |
Zero-based parameter index within the plugin.
Definition at line 35 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator<(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| bool Mema::PluginParameterInfo::isAutomatable = false |
Whether the host can automate this parameter.
Definition at line 41 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| bool Mema::PluginParameterInfo::isDiscrete = false |
True if the parameter has a finite set of steps.
Definition at line 47 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| bool Mema::PluginParameterInfo::isRemoteControllable = true |
Whether this parameter is exposed for remote control.
Definition at line 42 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| juce::String Mema::PluginParameterInfo::label = "" |
Unit label (e.g. "dB", "Hz").
Definition at line 40 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| float Mema::PluginParameterInfo::maxValue = 1.0f |
Maximum value in the parameter's native range.
Definition at line 45 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| float Mema::PluginParameterInfo::minValue = 0.0f |
Minimum value in the parameter's native range.
Definition at line 44 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| juce::String Mema::PluginParameterInfo::name = "" |
Human-readable parameter name.
Definition at line 37 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| int Mema::PluginParameterInfo::stepCount = 0 |
Number of discrete steps (0 if continuous).
Definition at line 49 of file MemaPluginParameterInfo.h.
Referenced by initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| std::vector<std::string> Mema::PluginParameterInfo::stepNames |
Display names for each discrete step.
Definition at line 50 of file MemaPluginParameterInfo.h.
Referenced by initializeFromString(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| float Mema::PluginParameterInfo::stepSize = 0.0f |
Step interval for discrete parameters (0 = continuous).
Definition at line 46 of file MemaPluginParameterInfo.h.
Referenced by initializeFromAudioProcessorParameter(), initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().
| ParameterControlType Mema::PluginParameterInfo::type = ParameterControlType::Continuous |
Control widget type (slider, combo, toggle).
Definition at line 48 of file MemaPluginParameterInfo.h.
Referenced by initializeFromString(), operator==(), Mema::PluginParameterInfosMessage::PluginParameterInfosMessage(), and toString().