Top | ![]() |
![]() |
![]() |
![]() |
gdouble | curve | Read / Write |
gdouble | decay | Read / Write |
gdouble | floor-level | Read / Write |
gdouble | peak-level | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstControlSource ╰── GstTimedValueControlSource ╰── GstInterpolationControlSource ╰── GstBtEnvelope ╰── GstBtEnvelopeD
Simple decay envelope. Does a linear fade between “peak-level” and “floor-level” by default (“curve” = 0.5). For smaller values of “curve” the transition starts quicker and then slows down and for values > than 0.5 it is the other way around. Values of 0.0 or 1.0 don't make sense itself and would result in only the “floor-level” (for 0.0) or the “peak-level” (for 1.0) to be used.
void gstbt_envelope_d_setup (GstBtEnvelopeD *self
,gint samplerate
);
Initialize the envelope for a new cycle.
“curve”
property“curve” gdouble
Curve of the envelope, 0.5=linear.
Owner: GstBtEnvelopeD
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
“decay”
property“decay” gdouble
Decay of the envelope in seconds.
Owner: GstBtEnvelopeD
Flags: Read / Write
Allowed values: [0.001,4]
Default value: 0.5
“floor-level”
property“floor-level” gdouble
Lowest level of the envelope.
Owner: GstBtEnvelopeD
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“peak-level”
property“peak-level” gdouble
Highest level of the envelope.
Owner: GstBtEnvelopeD
Flags: Read / Write
Allowed values: >= 0
Default value: 1.79769e+308