## GstBtEBeats

GstBtEBeats — electric drum audio synthesizer

## Properties

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

## Types and Values

struct | GstBtEBeats
enum | GstBtEBeatsFilterRouting

## Object Hierarchy

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

## Implemented Interfaces

GstBtEBeats implements GstPreset and GstBtTempo.

## 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.

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.

Flags: Read / Write

Default value: Mix: A+B

### The `“cufoff-curve”` property

      “cufoff-curve”             gdouble

Curve of the envelope, 0.5=linear.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5

### The `“cutoff-end”` property

      “cutoff-end”               gdouble

Final audio filter cut-off frequency.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.2

### The `“cutoff-start”` property

      “cutoff-start”             gdouble

Initial audio filter cut-off frequency.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.8

### The `“filter”` property

      “filter”                   GstBtFilterSVFType

Type of audio filter.

Flags: Read / Write

Default value: LowPass

### The `“filter-routing”` property

      “filter-routing”           GstBtEBeatsFilterRouting

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

Flags: Read / Write

Default value: Tonal+Noise

### The `“n-decay”` property

      “n-decay”                  gdouble

Decay of the envelope in seconds.

Flags: Read / Write

Allowed values: [0.001,4]

Default value: 0.5

### The `“n-vol-curve”` property

      “n-vol-curve”              gdouble

Curve of the envelope, 0.5=linear.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5

### The `“n-volume”` property

      “n-volume”                 gdouble

Highest level of the envelope.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.8

### The `“n-wave”` property

      “n-wave”                   GstBtOscSynthNoiseWave

Noise oscillator waveform.

Flags: Read / Write

Default value: White noise

### The `“resonance”` property

      “resonance”                gdouble

Audio filter resonance.

Flags: Read / Write

Allowed values: [0.7,25]

Default value: 0.8

### The `“t-decay”` property

      “t-decay”                  gdouble

Decay of the envelope in seconds.

Flags: Read / Write

Allowed values: [0.001,4]

Default value: 0.5

### The `“t-vol-curve”` property

      “t-vol-curve”              gdouble

Curve of the envelope, 0.5=linear.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5

### The `“t-volume”` property

      “t-volume”                 gdouble

Highest level of the envelope.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.8

### The `“t1-freq-curve”` property

      “t1-freq-curve”            gdouble

Curve of the envelope, 0.5=linear.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5

### The `“t1-freq-end”` property

      “t1-freq-end”              gdouble

Final frequency of tone.

Flags: Read / Write

Allowed values: [1,1000]

Default value: 10

### The `“t1-freq-start”` property

      “t1-freq-start”            gdouble

Initial frequency of tone.

Flags: Read / Write

Allowed values: [1,10000]

Default value: 200

### The `“t1-wave”` property

      “t1-wave”                  GstBtOscSynthTonalWave

Tonal oscillator waveform.

Flags: Read / Write

Default value: Sine

### The `“t2-freq-curve”` property

      “t2-freq-curve”            gdouble

Curve of the envelope, 0.5=linear.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5

### The `“t2-freq-end”` property

      “t2-freq-end”              gdouble

Final frequency of tone.

Flags: Read / Write

Allowed values: [1,1000]

Default value: 30

### The `“t2-freq-start”` property

      “t2-freq-start”            gdouble

Initial frequency of tone.

Flags: Read / Write

Allowed values: [1,10000]

Default value: 210

### The `“t2-wave”` property

      “t2-wave”                  GstBtOscSynthTonalWave

Tonal oscillator waveform.

Flags: Read / Write

Default value: Sine

### The `“volume”` property

      “volume”                   guint

Tone volume.

Flags: Write

Allowed values: <= 255

Default value: 0