krähemann.com

AgsApplySFZSynth

AgsApplySFZSynth — apply SFZ synth to channel

Properties

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

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsApplySFZSynth

Includes

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

Description

The AgsApplySFZSynth task apply the specified SFZ synth to channel.

Functions

ags_apply_sfz_synth_new ()

AgsApplySFZSynth *
ags_apply_sfz_synth_new (AgsSFZSynthGenerator *sfz_synth_generator,
                         AgsChannel *start_channel,
                         gdouble base_note,
                         guint count);

Creates an AgsApplySFZSynth.

Parameters

sfz_synth_generator

the AgsSFZSynthGenerator

 

start_channel

the start AgsChannel

 

base_note

the base note

 

count

the count of lines

 

Returns

an new AgsApplySFZSynth.

Since: 3.4.0


AGS_APPLY_SFZ_SYNTH()

#define AGS_APPLY_SFZ_SYNTH(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_APPLY_SFZ_SYNTH, AgsApplySFZSynth))

AGS_APPLY_SFZ_SYNTH_CLASS()

#define AGS_APPLY_SFZ_SYNTH_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_APPLY_SFZ_SYNTH, AgsApplySFZSynthClass))

AGS_APPLY_SFZ_SYNTH_GET_CLASS()

#define AGS_APPLY_SFZ_SYNTH_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_APPLY_SFZ_SYNTH, AgsApplySFZSynthClass))

AGS_IS_APPLY_SFZ_SYNTH()

#define AGS_IS_APPLY_SFZ_SYNTH(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_APPLY_SFZ_SYNTH))

AGS_IS_APPLY_SFZ_SYNTH_CLASS()

#define AGS_IS_APPLY_SFZ_SYNTH_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_APPLY_SFZ_SYNTH))

ags_apply_sfz_synth_get_type ()

GType
ags_apply_sfz_synth_get_type ();

Types and Values

AGS_TYPE_APPLY_SFZ_SYNTH

#define AGS_TYPE_APPLY_SFZ_SYNTH                (ags_apply_sfz_synth_get_type())

struct AgsApplySFZSynth

struct AgsApplySFZSynth;

struct AgsApplySFZSynthClass

struct AgsApplySFZSynthClass {
  AgsTaskClass task;
};

Property Details

The “base-note” property

  “base-note”                gdouble

The base-note to ramp up from.

Owner: AgsApplySFZSynth

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: AgsApplySFZSynth

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: AgsApplySFZSynth

Flags: Read / Write

Default value: 0

Since: 3.4.0


The “sfz-synth-generator” property

  “sfz-synth-generator”      AgsSFZSynthGenerator *

The SFZ synth generator to apply.

Owner: AgsApplySFZSynth

Flags: Read / Write


The “start-channel” property

  “start-channel”            AgsChannel *

The assigned AgsChannel

Owner: AgsApplySFZSynth

Flags: Read / Write

Since: 3.4.0