| Top |
| gdouble | attack | Read / Write |
| gdouble | decay | Read / Write |
| gdouble | floor-level | Read / Write |
| guint | length | Read / Write |
| gdouble | peak-level | Read / Write |
| gdouble | release | Read / Write |
| gdouble | 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” gdouble
Attack of the envelope in seconds.
Owner: GstBtEnvelopeADSR
Flags: Read / Write
Allowed values: [0.001,4]
Default value: 0.1
“decay” property “decay” gdouble
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” gdouble
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” gdouble
Highest level of envelope.
Owner: GstBtEnvelopeADSR
Flags: Read / Write
Allowed values: >= 0
Default value: 1.79769e+308
“release” property “release” gdouble
Release of the envelope in seconds.
Owner: GstBtEnvelopeADSR
Flags: Read / Write
Allowed values: [0.001,4]
Default value: 0.5