krähemann.com

AgsApplySF2Synth

AgsApplySF2Synth — apply Soundfont2 synth to channel

Properties

gdouble base-note Read / Write
guint count Read / Write
guint requested-frame-count Read / Write
AgsSF2SynthGenerator * sf2-synth-generator Read / Write
AgsChannel * start-channel Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsApplySF2Synth

Includes

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

Description

The AgsApplySF2Synth task apply the specified Soundfont2 synth to channel.

Functions

ags_apply_sf2_synth_new ()

AgsApplySF2Synth *
ags_apply_sf2_synth_new (AgsSF2SynthGenerator *sf2_synth_generator,
                         AgsChannel *start_channel,
                         gdouble base_note,
                         guint count);

Creates an AgsApplySF2Synth.

Parameters

sf2_synth_generator

the AgsSF2SynthGenerator

 

start_channel

the start AgsChannel

 

base_note

the base note

 

count

the count of lines

 

Returns

an new AgsApplySF2Synth.

Since: 3.4.0


AGS_APPLY_SF2_SYNTH()

#define AGS_APPLY_SF2_SYNTH(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_SF2_SYNTH, AgsApplySF2Synth))

AGS_APPLY_SF2_SYNTH_CLASS()

#define AGS_APPLY_SF2_SYNTH_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_SF2_SYNTH, AgsApplySF2SynthClass))

AGS_APPLY_SF2_SYNTH_GET_CLASS()

#define AGS_APPLY_SF2_SYNTH_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_SF2_SYNTH, AgsApplySF2SynthClass))

AGS_IS_APPLY_SF2_SYNTH()

#define AGS_IS_APPLY_SF2_SYNTH(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_SF2_SYNTH))

AGS_IS_APPLY_SF2_SYNTH_CLASS()

#define AGS_IS_APPLY_SF2_SYNTH_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_SF2_SYNTH))

ags_apply_sf2_synth_get_type ()

GType
ags_apply_sf2_synth_get_type ();

Types and Values

AGS_TYPE_APPLY_SF2_SYNTH

#define AGS_TYPE_APPLY_SF2_SYNTH                (ags_apply_sf2_synth_get_type())

struct AgsApplySF2Synth

struct AgsApplySF2Synth;

struct AgsApplySF2SynthClass

struct AgsApplySF2SynthClass {
  AgsTaskClass task;
};

Property Details

The “base-note” property

  “base-note”                gdouble

The base-note to ramp up from.

Owner: AgsApplySF2Synth

Flags: Read / Write

Allowed values: [-78,78]

Default value: -48

Since: 3.4.0


The “count” property

  “count”                    guint

The count of channels to apply.

Owner: AgsApplySF2Synth

Flags: Read / Write

Default value: 0

Since: 3.4.0


The “requested-frame-count” property

  “requested-frame-count”    guint

The frame count of audio signal to apply.

Owner: AgsApplySF2Synth

Flags: Read / Write

Default value: 0

Since: 3.4.0


The “sf2-synth-generator” property

  “sf2-synth-generator”      AgsSF2SynthGenerator *

The SF2 synth generator to apply.

Owner: AgsApplySF2Synth

Flags: Read / Write


The “start-channel” property

  “start-channel”            AgsChannel *

The assigned AgsChannel

Owner: AgsApplySF2Synth

Flags: Read / Write

Since: 3.4.0