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

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