bool TTBoolean
Boolean flag, same as Boolean on the Mac.
TTSampleValue output
Current envelope value as linear amplitude.
TTErr updateSampleRate(const TTValue &, TTValue &)
This method must be called when the sample rate change.
TTErr setAttack(const TTValue &newValue)
Set the attack time for the enevelope.
TTAudioObjectBase is the base class for all audio generating and processing objects in Jamoma DSP...
TTErr setSustainDb(const TTValue &newValue)
Set the signal level to use for the sustain, expressed in decibels.
TTErr processAudioLinear(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
The Linear audio processing method use linear amplitude curves for all parts of the envelope...
TTFloat64 release_ms
Release duration in milliseconds.
TTErr processAudioHybrid(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
The Hybrid processing method combines a linear attack with an exponential release.
TTInt32 attack_samples
Attack duration in total number of samples.
TTInt16 eg_state
The current state of the envelope. Tracks what envelope phase that we are currently in...
TTFloat64 decay_ms
Decay duration in milliseconds.
double TTFloat64
64 bit floating point number
TTErr dictionary(const TTValue &input, TTValue &output)
Send a dictionary from Jamoma Graph to this object in order to pass a MidiNoteEvent or set attributes...
TTFloat64 decay_step_db
Stepsize in decibels for each sample during the decay phase.
#define TTCLASS_SETUP(className)
TODO Doxygen: need more comments here.
std::int16_t TTInt16
16 bit signed integer
TTFloat64 decay_step
Stepsize for each sample during the decay phase.
The envelope is currently inactive (not being executed).
TTErr processAudioExponential(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
The Exponential processing methods use exponential curves for all sections of the envelope...
TTFloat64 attack_ms
Attack duration in milliseconds.
The TTSymbol class is used to represent a string and efficiently pass and compare that string...
TTSampleValue output_db
Current envelope value as decibel value.
TTFloat64 sustain_db
Sustain level as decibel value.
TTErr getSustainDb(TTValue &returnedValue)
Get the signal level currently used for the sustain, measured in decibels.
std::int32_t TTInt32
32 bit signed integer
The envelope is currently in the release phase.
TTFloat64 attack_step
Stepsize for each sample in the attack phase.
A simple container for an array of TTAudioSignal pointers.
TTInt32 release_samples
Release duration in total number of samples.
TTErr setSustainAmp(const TTValue &newValue)
Set the signal level to use for the sustain, expressed as linear amplitude.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
eg_states
Enumerations tracking the state of the envelope.
The envelope is currently in the decay phase.
TTAdsr is an attack-decay-sustain-release envelope generator.
TTErr setMode(const TTValue &newValue)
Set the performance mode to use for the envelope.
The envelope is currently in the sustain phase.
TTFloat64 sustain_amp
Sustain level as linear amplitude.
TTFloat64 release_step_db
Stepsize in decibels for each sample during the release phase.
The envelope is currently in the attack phase.
TTFloat64 attack_step_db
Stepasize in decibels for each sample in the attack phase.
TTInt32 decay_samples
Decay duration in total number of samples.
TTFloat64 TTSampleValue
A value representing a single audio sample.
[doxygenAppendixC_copyExample]
TTErr setDecay(const TTValue &newValue)
Set the decay time for the envelope.
TTFloat64 release_step
Stepsize for each sample during the release phase.
TTErr setRelease(const TTValue &newValue)
Set the release time in milliseconds.