AgsOpenSf2Sample

AgsOpenSf2Sample — open sf2_sample object

Functions

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsOpenSf2Sample

Implemented Interfaces

AgsOpenSf2Sample implements AgsConnectable.

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,
                         gchar *filename,
                         gchar *preset,
                         gchar *instrument,
                         gchar *sample);

Creates an AgsOpenSf2Sample.

Parameters

channel

the AgsChannel

 

filename

the Soundfont2 file

 

preset

the preset

 

instrument

the instrument

 

sample

the sample

 

Returns

an new AgsOpenSf2Sample.

Since: 0.7.15

Types and Values