AgsOpenSf2Sample

AgsOpenSf2Sample — open Soundfont2 sample

Stability Level

Stable, unless otherwise indicated

Functions

Includes

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

Description

The AgsOpenSf2Sample task opens Soundfont2 samples.

Functions

ags_open_sf2_sample_new ()

AgsOpenSf2Sample *
ags_open_sf2_sample_new (AgsChannel *channel,
                         AgsIpatchSample *ipatch_sample,
                         gchar *filename,
                         gchar *preset,
                         gchar *instrument,
                         gchar *sample,
                         guint audio_channel);

Creates an AgsOpenSf2Sample.

Parameters

channel

the AgsChannel

 

ipatch_sample

the AgsIpatchSample or NULL

 

filename

the Soundfont2 file

 

preset

the preset

 

instrument

the instrument

 

sample

the sample

 

audio_channel

the audio channel

 

Returns

an new AgsOpenSf2Sample.

Since: 3.0.0