AgsSynthGenerator

AgsSynthGenerator — generate wave-form

Functions

Properties

guint buffer-size Read / Write
guint format Read / Write
gdouble frequency Read / Write
guint n-frames Read / Write
guint oscillator Read / Write
gdouble phase Read / Write
guint samplerate Read / Write
GObject * timestamp Read / Write
gdouble volume Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsConversion
        ╰── AgsFunction
            ╰── AgsSynthGenerator

Implemented Interfaces

AgsSynthGenerator implements AgsPlugin.

Includes

#include <ags/file/ags_synth_generator.h>

Description

The AgsSynthGenerator generates wave-forms with oscillators.

Functions

ags_synth_generator_new ()

AgsSynthGenerator *
ags_synth_generator_new ();

Creates an AgsSynthGenerator

Returns

a new AgsSynthGenerator

Since: 0.7.45

Types and Values

enum AgsSynthGeneratorOscillator

Members

AGS_SYNTH_GENERATOR_OSCILLATOR_SIN

   

AGS_SYNTH_GENERATOR_OSCILLATOR_SAWTOOTH

   

AGS_SYNTH_GENERATOR_OSCILLATOR_TRIANGLE

   

AGS_SYNTH_GENERATOR_OSCILLATOR_SQUARE

   

Property Details

The “buffer-size” property

  “buffer-size”              guint

The buffer size to be used.

Flags: Read / Write

Default value: 0

Since: 0.7.45


The “format” property

  “format”                   guint

The format to be used.

Flags: Read / Write

Default value: 0

Since: 0.7.45


The “frequency” property

  “frequency”                gdouble

The frequency to be used.

Flags: Read / Write

Allowed values: [0,65535]

Default value: 0


The “n-frames” property

  “n-frames”                 guint

To apply n-frames.

Flags: Read / Write

Default value: 0

Since: 0.7.45


The “oscillator” property

  “oscillator”               guint

The oscillator to be used.

Flags: Read / Write

Default value: 0

Since: 0.7.45


The “phase” property

  “phase”                    gdouble

The phase to be used.

Flags: Read / Write

Allowed values: [0,65535]

Default value: 0


The “samplerate” property

  “samplerate”               guint

The samplerate to be used.

Flags: Read / Write

Default value: 0

Since: 0.7.45


The “timestamp” property

  “timestamp”                GObject *

The timestamp.

Flags: Read / Write

Since: 0.7.45


The “volume” property

  “volume”                   gdouble

The volume to be used.

Flags: Read / Write

Allowed values: [0,65535]

Default value: 0