gstbtoscwave

gstbtoscwave — wavetable oscillator

Synopsis

struct              GstBtOscWave;
GstBtOscWave *      gstbt_osc_wave_new                  (void);
void                gstbt_osc_wave_setup                (GstBtOscWave *self);

Object Hierarchy

  GObject
   +----GstBtOscWave

Properties

  "duration"                 guint64               : Read
  "frequency"                gdouble               : Read / Write
  "wave"                     guint                 : Read / Write
  "wave-callbacks"           gpointer              : Read / Write
  "wave-level"               guint                 : Read / Write

Description

An audio waveform generator that read from the applications wave-table.

Details

struct GstBtOscWave

struct GstBtOscWave;

Class instance data.


gstbt_osc_wave_new ()

GstBtOscWave *      gstbt_osc_wave_new                  (void);

Create a new instance

Returns :

the new instance

gstbt_osc_wave_setup ()

void                gstbt_osc_wave_setup                (GstBtOscWave *self);

Prepare the oscillator. Should be called before first use to ensure it is configured for the default parameters.

self :

the oscillator

Property Details

The "duration" property

  "duration"                 guint64               : Read

Duration in samples at the given rate.

Default value: 0


The "frequency" property

  "frequency"                gdouble               : Read / Write

Frequency of tone (0.0 for original).

Allowed values: >= 0

Default value: 0


The "wave" property

  "wave"                     guint                 : Read / Write

Wave index.

Allowed values: [1,200]

Default value: 1


The "wave-callbacks" property

  "wave-callbacks"           gpointer              : Read / Write

The wave-table access callbacks.


The "wave-level" property

  "wave-level"               guint                 : Read / Write

Wave level index.

Allowed values: <= 100

Default value: 0