GstBtEBeats

GstBtEBeats — electric drum audio synthesizer

Properties

GstBtCombineType combine Read / Write
double cufoff-curve Read / Write
double cutoff-end Read / Write
double cutoff-start Read / Write
GstBtFilterSVFType filter Read / Write
GstBtEBeatsFilterRouting filter-routing Read / Write
double n-decay Read / Write
double n-vol-curve Read / Write
double n-volume Read / Write
GstBtOscSynthNoiseWave n-wave Read / Write
double resonance Read / Write
double t-decay Read / Write
double t-vol-curve Read / Write
double t-volume Read / Write
double t1-freq-curve Read / Write
double t1-freq-end Read / Write
double t1-freq-start Read / Write
GstBtOscSynthTonalWave t1-wave Read / Write
double t2-freq-curve Read / Write
double t2-freq-end Read / Write
double t2-freq-start Read / Write
GstBtOscSynthTonalWave t2-wave Read / Write
guint volume Write

Types and Values

Object Hierarchy

    GEnum
    ╰── GstBtEBeatsFilterRouting
    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstBaseSrc
                    ╰── GstBtAudioSynth
                        ╰── GstBtEBeats

Implemented Interfaces

GstBtEBeats implements GstPreset.

Description

A drum synthesizer with two tonal and one noise oscillator (GstBtOscSynth), plus decay envelopes (GstBtEnvelopeD) for tonal transitions and volumes. The tonal oscillators can be mixed through various “combine” modes. The noise part is then mixed with the tonal parts. The volume enve- lopes are applied before combining and mixing.

Finally one can apply a filter (GstBtFilterSVF) to either the tonal mix, the noise or both. The “cut-off” is also controlled by a decay envelope and the decay is the same as the one from the tonal osc, noise osc or the max of both depending on the (“filter-routing”).

The synthesizer uses a trigger parameter (“volume”) to be start a tone that also controls the overall volume.

Example launch line

1
gst-launch-1.0 ebeats num-buffers=10 volume=100 ! autoaudiosink
Render a drum tone.

Functions

Types and Values

struct GstBtEBeats

struct GstBtEBeats;

Class instance data.


enum GstBtEBeatsFilterRouting

The filter routing modes configure to which parts of the signal to apply the filter.

Members

GSTBT_E_BEATS_FILTER_ROUTING_T_N

apply filter at the end to both tonal and noise parts

 

GSTBT_E_BEATS_FILTER_ROUTING_T

apply filter only to tonal parts

 

GSTBT_E_BEATS_FILTER_ROUTING_N

apply filter only to noise parts

 

Property Details

The “combine” property

  “combine”                  GstBtCombineType

Type of combine operation.

Owner: GstBtEBeats

Flags: Read / Write

Default value: Mix: A+B


The “cufoff-curve” property

  “cufoff-curve”             double

Curve of the envelope, 0.5=linear.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5


The “cutoff-end” property

  “cutoff-end”               double

Final audio filter cut-off frequency.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.2


The “cutoff-start” property

  “cutoff-start”             double

Initial audio filter cut-off frequency.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.8


The “filter” property

  “filter”                   GstBtFilterSVFType

Type of audio filter.

Owner: GstBtEBeats

Flags: Read / Write

Default value: LowPass


The “filter-routing” property

  “filter-routing”           GstBtEBeatsFilterRouting

Configuration to which parts of the signal to apply the filter.

Owner: GstBtEBeats

Flags: Read / Write

Default value: Tonal+Noise


The “n-decay” property

  “n-decay”                  double

Decay of the envelope in seconds.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0.001,4]

Default value: 0.5


The “n-vol-curve” property

  “n-vol-curve”              double

Curve of the envelope, 0.5=linear.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5


The “n-volume” property

  “n-volume”                 double

Highest level of the envelope.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.8


The “n-wave” property

  “n-wave”                   GstBtOscSynthNoiseWave

Noise oscillator waveform.

Owner: GstBtEBeats

Flags: Read / Write

Default value: White noise


The “resonance” property

  “resonance”                double

Audio filter resonance.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0.7,25]

Default value: 0.8


The “t-decay” property

  “t-decay”                  double

Decay of the envelope in seconds.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0.001,4]

Default value: 0.5


The “t-vol-curve” property

  “t-vol-curve”              double

Curve of the envelope, 0.5=linear.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5


The “t-volume” property

  “t-volume”                 double

Highest level of the envelope.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.8


The “t1-freq-curve” property

  “t1-freq-curve”            double

Curve of the envelope, 0.5=linear.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5


The “t1-freq-end” property

  “t1-freq-end”              double

Final frequency of tone.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [1,1000]

Default value: 10


The “t1-freq-start” property

  “t1-freq-start”            double

Initial frequency of tone.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [1,10000]

Default value: 200


The “t1-wave” property

  “t1-wave”                  GstBtOscSynthTonalWave

Tonal oscillator waveform.

Owner: GstBtEBeats

Flags: Read / Write

Default value: Sine


The “t2-freq-curve” property

  “t2-freq-curve”            double

Curve of the envelope, 0.5=linear.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5


The “t2-freq-end” property

  “t2-freq-end”              double

Final frequency of tone.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [1,1000]

Default value: 30


The “t2-freq-start” property

  “t2-freq-start”            double

Initial frequency of tone.

Owner: GstBtEBeats

Flags: Read / Write

Allowed values: [1,10000]

Default value: 210


The “t2-wave” property

  “t2-wave”                  GstBtOscSynthTonalWave

Tonal oscillator waveform.

Owner: GstBtEBeats

Flags: Read / Write

Default value: Sine


The “volume” property

  “volume”                   guint

Tone volume.

Owner: GstBtEBeats

Flags: Write

Allowed values: <= 255

Default value: 0