A parameter suitable for automated boolean values.
|
| | Param (const std::string_view paramName="", const Range parameterRange=Range()) |
| |
| | Param (const std::string_view paramName, const std::string &unit, const Range parameterRange=Range()) |
| |
| 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 bool () const noexcept |
| | Evaluate the value of the parameter at the start of this processing frame. More...
|
| |
| bool | operator[] (Index idx) const noexcept |
| | Alias for at(). More...
|
| |
| bool | 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< bool > & | operator= (bool 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...
|
| |
template<>
class ape::Param< bool >
A parameter suitable for automated boolean values.
- See also
- ParameterBase