This class allows you to create a sequence of automations where each stage has it's own configuration of start, end, function values.
More...
#include <LibBasicFunctions.h>
template<typename T>
class Aviate::ParameterAutomationSequence< T >
This class allows you to create a sequence of automations where each stage has it's own configuration of start, end, function values.
- Template Parameters
-
T | the type of parameter to automate |
◆ ParameterAutomationSequence()
Construction an automation sequence with the specified number of stages.
- Parameters
-
numStages | the number of stages in the sequence |
◆ getNextValue()
get the next value in the automation sequence
- Returns
- the next value
◆ isFinished()
check if the automation is finished
- Returns
- true if finished, otherwise false
◆ setupParameter() [1/2]
Configure one of the stages in the automation sequence.
- Parameters
-
index | the stage index to configure, starting from zero |
startValue | after reset, parameter automation start from this value |
endValue | after the automation duration, paramter will finish at this value |
durationMilliseconds | number of samples to transition from startValue to endValue |
function | select which automation curve (function) to use |
◆ setupParameter() [2/2]
Configure one of the stages in the automation sequence.
- Parameters
-
index | the stage index to configure, starting from zero |
startValue | after reset, parameter automation start from this value |
endValue | after the automation duration, paramter will finish at this value |
durationSamples | length of the automation sequence in samples |
function | select which automation curve (function) to use |
The documentation for this class was generated from the following file: