#include <audio/component/levelmetercomponent.h>
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Instance of component to measure the amplitude level of the audio signal from an AudioComponentBase. A specific frequency band to be measured can be specified.
LevelMeterComponentInstance | ( | EntityInstance & | entity, |
Component & | resource | ||
) |
ControllerValue getBandWidth | ( | ) | const |
ControllerValue getCenterFrequency | ( | ) | const |
ControllerValue getFilterGain | ( | ) | const |
ControllerValue getLevel | ( | ) |
|
overridevirtual |
Initializes this component based on it's resource.
errorState | contains the error when initialization fails. |
Reimplemented from ComponentInstance.
void setBandWidth | ( | ControllerValue | bandWidth | ) |
Sets the bandwidth in Hz of the band that will be analyzed. Only has effect when the property mFilterInput in LevelMeterComponent is set to true.
void setCenterFrequency | ( | ControllerValue | centerFrequency | ) |
Sets the center frequency in Hz of the band that will be analyzed. Only has effect when the property mFilterInput in LevelMeterComponent is set to true.
void setFilterGain | ( | ControllerValue | gain | ) |
Sets the gain factor of the filtered signal. Only has effect when the property mFilterInput in LevelMeterComponent is set to true.
void setInput | ( | AudioComponentBaseInstance & | input | ) |
Connects a different audio component as input to be analyzed.