GstBtEnvelopeD
GstBtEnvelopeD — decay envelope generator
|
|
Includes
#include <libgstbuzztrax/envelope-d.h>
Description
Simple decay envelope.
Functions
gstbt_envelope_d_new ()
GstBtEnvelopeD *
gstbt_envelope_d_new (void
);
Create a new instance
Returns
the new instance or NULL
in case of an error
gstbt_envelope_d_setup ()
void
gstbt_envelope_d_setup (GstBtEnvelopeD *self
,
gint samplerate
,
gdouble decay_time
,
gdouble peak_level
);
Initialize the envelope for a new cycle. Adds a short attack (~0.001 s) to
avoid clicks.
Types and Values
struct GstBtEnvelopeD
struct GstBtEnvelopeD;
Class instance data.