|
ape
0.5.0
Audio Programming Environment
|
A parameter suitable for automated double values.
#include <parameter.h>
Public Types | |
| typedef ParameterBase< double, Param< double > > | Base |
| typedef double | ParameterType |
Public Member Functions | |
| Param (const std::string_view paramName="", const Range parameterRange=Range()) | |
| Param (const std::string_view paramName, const std::string &unit, const Range parameterRange=Range()) | |
Public Member Functions inherited from ape::ParameterBase< double, Param< double > > | |
| int | id () const noexcept |
| A unique identifier for this parameter More... | |
| bool | changed () const noexcept |
| Whether the parameter has changed in this processing frame. Only sensible when called from within Processor::process More... | |
| operator double () const noexcept | |
| Evaluate the value of the parameter at the start of this processing frame. More... | |
| double | operator[] (Index idx) const noexcept |
| Alias for at(). More... | |
| double | at (Index idx) const noexcept |
| Evaluate the value of the parameter at at a specific sample index, where 0 equals the start of the processing frame. More... | |
| Param< double > & | operator= (double t) noexcept |
| Assign a value to this parameter. Depending on host support, this might only make sense inside the constructor of a Effect or Generator (so it is a way of setting default / initial value of a parameter). More... | |
| ~ParameterBase () | |
| Delete this parameter instance. More... | |
| auto | getRange () const noexcept |
| Returns the Range this parameter was constructed with. More... | |
Static Public Member Functions | |
| static constexpr ParameterType | convert (PFloat value) noexcept |
| static constexpr PFloat | representationFor (ParameterType value) noexcept |
Static Public Member Functions inherited from ape::ParameterBase< double, Param< double > > | |
| static double | convert (PFloat normalized) noexcept |
Convert an engine PFloat to the native Type of this parameter.
| |
| static PFloat | representationFor (double value) noexcept |
Convert a native Type to an engine PFloat type.
| |
Additional Inherited Members | |
Protected Member Functions inherited from ape::ParameterBase< double, Param< double > > | |
| ParameterBase (const std::string_view paramName="", const Range parameterRange=Range()) | |
| Constructs a named parameter. More... | |
Protected Attributes inherited from ape::ParameterBase< double, Param< double > > | |
| APE_Parameter | param |
| const Range | range |
| std::string | name |
A parameter suitable for automated double values.
| typedef ParameterBase<double, Param<double> > ape::Param< double >::Base |
| typedef double ape::Param< double >::ParameterType |
|
inline |
|
inline |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
1.8.16