AgsApplySynth

AgsApplySynth — apply synth to channel

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsApplySynth

Implemented Interfaces

AgsApplySynth implements AgsConnectable.

Includes

#include <ags/audio/task/ags_apply_synth.h>

Description

The AgsApplySynth task apply the specified synth to channel.

Functions

ags_apply_synth_new ()

AgsApplySynth *
ags_apply_synth_new (AgsChannel *start_channel,
                     guint count,
                     guint wave,
                     guint attack,
                     guint frame_count,
                     gdouble frequency,
                     gdouble phase,
                     gdouble start_frequency,
                     gdouble volume,
                     guint loop_start,
                     guint loop_end);

Creates an AgsApplySynth.

Parameters

start_channel

the start channel

 

count

the count of lines

 

wave

the selected wave

 

attack

the attack

 

frame_count

frame count

 

frequency

frequency

 

phase

the phase

 

start_frequency

base frequency

 

volume

volume

 

loop_start

loop start

 

loop_end

loop end

 

Returns

an new AgsApplySynth.

Since: 0.4


AGS_APPLY_SYNTH()

#define AGS_APPLY_SYNTH(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_SYNTH, AgsApplySynth))


AGS_APPLY_SYNTH_CLASS()

#define AGS_APPLY_SYNTH_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_SYNTH, AgsApplySynthClass))


AGS_APPLY_SYNTH_GET_CLASS()

#define AGS_APPLY_SYNTH_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_SYNTH, AgsApplySynthClass))


AGS_IS_APPLY_SYNTH()

#define AGS_IS_APPLY_SYNTH(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_SYNTH))


AGS_IS_APPLY_SYNTH_CLASS()

#define AGS_IS_APPLY_SYNTH_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_SYNTH))


ags_apply_synth_get_type ()

GType
ags_apply_synth_get_type ();

Types and Values

enum AgsApplySynthWave

Members

AGS_APPLY_SYNTH_INVALID

   

AGS_APPLY_SYNTH_SIN

   

AGS_APPLY_SYNTH_SAW

   

AGS_APPLY_SYNTH_SQUARE

   

AGS_APPLY_SYNTH_TRIANGLE

   

AGS_TYPE_APPLY_SYNTH

#define AGS_TYPE_APPLY_SYNTH                (ags_apply_synth_get_type())


struct AgsApplySynth

struct AgsApplySynth;


struct AgsApplySynthClass

struct AgsApplySynthClass {
  AgsTaskClass task;
};