AgsOpenSf2Instrument — open Soundfont2 instrument
#include <ags/audio/task/ags_open_sf2_instrument.h>
The AgsOpenSf2Instrument task opens Soundfont2 instruments.
AgsOpenSf2Instrument * ags_open_sf2_instrument_new (AgsAudio *audio, AgsIpatch *ipatch, gchar *filename, gchar *preset, gchar *instrument, guint start_pad);
AgsAudio *audio
AgsIpatch *ipatch
gchar *filename
gchar *preset
gchar *instrument
guint start_pad
Creates an AgsOpenSf2Instrument.
audio
the AgsAudio
ipatch
the AgsIpatch or NULL
NULL
filename
the Soundfont2 file
preset
the preset
instrument
the instrument
start_pad
the pad start
an new AgsOpenSf2Instrument.
Since: 3.0.0