AgsApplySynth

AgsApplySynth — apply synth to channel

Functions

Properties

guint attack Read / Write
guint count Read / Write
guint frame-count Read / Write
guint frequency Read / Write
guint loop-end Read / Write
guint loop-start Read / Write
guint phase Read / Write
AgsChannel * start-channel Read / Write
guint start-frequency Read / Write
guint volume Read / Write

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;
};

Property Details

The “attack” property

  “attack”                   guint

The attack of audio data.

Flags: Read / Write

Default value: 0

Since: 0.7.117


The “count” property

  “count”                    guint

The count of channels to apply.

Flags: Read / Write

Default value: 0

Since: 0.7.117


The “frame-count” property

  “frame-count”              guint

The frame count of audio data.

Flags: Read / Write

Default value: 0

Since: 0.7.117


The “frequency” property

  “frequency”                guint

The frequency of wave.

Flags: Read / Write

Default value: 0

Since: 0.7.117


The “loop-end” property

  “loop-end”                 guint

The loop end of audio data.

Flags: Read / Write

Default value: 0

Since: 0.7.117


The “loop-start” property

  “loop-start”               guint

The loop start of audio data.

Flags: Read / Write

Default value: 0

Since: 0.7.117


The “phase” property

  “phase”                    guint

The phase of wave.

Flags: Read / Write

Default value: 0

Since: 0.7.117


The “start-channel” property

  “start-channel”            AgsChannel *

The assigned AgsChannel

Flags: Read / Write

Since: 0.7.117


The “start-frequency” property

  “start-frequency”          guint

The start frequency as base of wave.

Flags: Read / Write

Default value: 0

Since: 0.7.117


The “volume” property

  “volume”                   guint

The volume of wave.

Flags: Read / Write

Default value: 0

Since: 0.7.117