Method

AgsAudioSF2SynthGeneratorcompute_instrument

since: 3.4.0

Declaration [src]

void
ags_sf2_synth_generator_compute_instrument (
  AgsSF2SynthGenerator* sf2_synth_generator,
  GObject* audio_signal,
  gchar* preset,
  gchar* instrument,
  gdouble note
)

Description [src]

Compute instrument for note.

Available since: 3.4.0

Parameters

audio_signal

Type: GObject

The AgsAudioSignal.

The data is owned by the caller of the function.
preset

Type: gchar*

The preset.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
instrument

Type: gchar*

The instrument.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
note

Type: gdouble

The note to compute.