#include <tracktion_Envelope.h>
|
| | ExpEnvelope () |
| |
| void | setParameters (const Parameters &newParameters) |
| | Sets the parameters that will be used by an ADSR object.
|
| |
| void | setSampleRate (double d) |
| |
| void | reset () |
| | Resets the envelope to an idle state.
|
| |
| void | noteOn () |
| | Starts the attack phase of the envelope.
|
| |
| void | noteOff () |
| | Starts the release phase of the envelope.
|
| |
| bool | isActive () const |
| | Returns true if the envelope is in its attack, decay, sustain or release stage.
|
| |
| float | getNextSample () |
| | Returns the next sample value for an ADSR object.
|
| |
| template<typename FloatType > |
| void | applyEnvelopeToBuffer (juce::AudioBuffer< FloatType > &buffer, int startSample, int numSamples) |
| | This method will conveniently apply the next numSamples number of envelope values to an AudioBuffer.
|
| |
| void | setAnalog (bool a) |
| |
◆ ExpEnvelope()
| engine::ExpEnvelope::ExpEnvelope |
( |
| ) |
|
◆ setParameters()
| void engine::ExpEnvelope::setParameters |
( |
const Parameters & |
newParameters | ) |
|
◆ setSampleRate()
| void engine::ExpEnvelope::setSampleRate |
( |
double |
d | ) |
|
◆ reset()
| void engine::ExpEnvelope::reset |
( |
| ) |
|
Resets the envelope to an idle state.
◆ noteOn()
| void engine::ExpEnvelope::noteOn |
( |
| ) |
|
Starts the attack phase of the envelope.
◆ noteOff()
| void engine::ExpEnvelope::noteOff |
( |
| ) |
|
Starts the release phase of the envelope.
◆ isActive()
| bool engine::ExpEnvelope::isActive |
( |
| ) |
const |
Returns true if the envelope is in its attack, decay, sustain or release stage.
◆ getNextSample()
| float engine::ExpEnvelope::getNextSample |
( |
| ) |
|
◆ applyEnvelopeToBuffer()
template<typename FloatType >
| void engine::ExpEnvelope::applyEnvelopeToBuffer |
( |
juce::AudioBuffer< FloatType > & |
buffer, |
|
|
int |
startSample, |
|
|
int |
numSamples |
|
) |
| |
This method will conveniently apply the next numSamples number of envelope values to an AudioBuffer.
- See also
- getNextSample
◆ setAnalog()
| void engine::ExpEnvelope::setAnalog |
( |
bool |
a | ) |
|
The documentation for this class was generated from the following file: