| Top |
| double | attack | Read / Write |
| double | decay | Read / Write |
| double | floor-level | Read / Write |
| guint | length | Read / Write |
| double | peak-level | Read / Write |
| double | release | Read / Write |
| double | sustain-level | Read / Write |
GObject
╰── GInitiallyUnowned
╰── GstObject
╰── GstControlSource
╰── GstTimedValueControlSource
╰── GstInterpolationControlSource
╰── GstBtEnvelope
╰── GstBtEnvelopeADSR
Classic attack-decay-sustain-release envelope. The “length” determines the note-length. The “release” time adds to the overall envelope time.
GstBtEnvelopeADSR *
gstbt_envelope_adsr_new (void);
Create a new instance
void gstbt_envelope_adsr_setup (GstBtEnvelopeADSR *self,gint samplerate,GstClockTime ticktime);
Initialize the envelope for a new cycle.
“attack” property “attack” double
Attack of the envelope in seconds.
Owner: GstBtEnvelopeADSR
Flags: Read / Write
Allowed values: [0.001,4]
Default value: 0.1
“decay” property “decay” double
Decay of the envelope in seconds.
Owner: GstBtEnvelopeADSR
Flags: Read / Write
Allowed values: [0.001,4]
Default value: 0.5
“floor-level” property “floor-level” double
Lowest level of the envelope.
Owner: GstBtEnvelopeADSR
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“length” property “length” guint
Note length in ticks.
Owner: GstBtEnvelopeADSR
Flags: Read / Write
Allowed values: [1,255]
Default value: 1
“peak-level” property “peak-level” double
Highest level of envelope.
Owner: GstBtEnvelopeADSR
Flags: Read / Write
Allowed values: >= 0
Default value: 1.79769e+308
“release” property “release” double
Release of the envelope in seconds.
Owner: GstBtEnvelopeADSR
Flags: Read / Write
Allowed values: [0.001,4]
Default value: 0.5