AgsApplySF2Synth

AgsApplySF2Synth — apply Soundfont2 synth to channel

Stability Level

Stable, unless otherwise indicated

Functions

Properties

double 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

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

Property Details

The “base-note” property

  “base-note”                double

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