AgsOpenSf2Instrument

AgsOpenSf2Instrument — open Soundfont2 instrument

Stability Level

Stable, unless otherwise indicated

Functions

Includes

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

Description

The AgsOpenSf2Instrument task opens Soundfont2 instruments.

Functions

ags_open_sf2_instrument_new ()

AgsOpenSf2Instrument *
ags_open_sf2_instrument_new (AgsAudio *audio,
                             AgsIpatch *ipatch,
                             gchar *filename,
                             gchar *preset,
                             gchar *instrument,
                             guint start_pad);

Creates an AgsOpenSf2Instrument.

Parameters

audio

the AgsAudio

 

ipatch

the AgsIpatch or NULL

 

filename

the Soundfont2 file

 

preset

the preset

 

instrument

the instrument

 

start_pad

the pad start

 

Returns

an new AgsOpenSf2Instrument.

Since: 3.0.0