AgsOscillator

AgsOscillator — oscillator

Synopsis

#include <ags/X/machine/ags_oscillator.h>

struct              AgsOscillator;
struct              AgsOscillatorClass;
void                ags_file_read_oscillator            (AgsFile *file,
                                                         xmlNode *node,
                                                         AgsOscillator **oscillator);
xmlNode *           ags_file_write_oscillator           (AgsFile *file,
                                                         xmlNode *parent,
                                                         AgsOscillator *oscillator);
AgsOscillator *     ags_oscillator_new                  ();

Description

The AgsOscillator is a composite widget to act as oscillator.

Details

struct AgsOscillator

struct AgsOscillator {
  GtkFrame frame;

  GtkComboBox *wave;
  gulong wave_handler;

  GtkSpinButton *attack;
  gulong attack_handler;

  GtkSpinButton *frame_count;
  gulong frame_count_handler;

  GtkSpinButton *frequency;
  gulong frequency_handler;

  GtkSpinButton *phase;
  gulong phase_handler;

  GtkSpinButton *volume;
  gulong volume_handler;
};

struct AgsOscillatorClass

struct AgsOscillatorClass {
  GtkFrameClass frame;
};

ags_file_read_oscillator ()

void                ags_file_read_oscillator            (AgsFile *file,
                                                         xmlNode *node,
                                                         AgsOscillator **oscillator);

ags_file_write_oscillator ()

xmlNode *           ags_file_write_oscillator           (AgsFile *file,
                                                         xmlNode *parent,
                                                         AgsOscillator *oscillator);

ags_oscillator_new ()

AgsOscillator *     ags_oscillator_new                  ();

Creates an AgsOscillator

Returns :

a new AgsOscillator

Since 0.3