AgsIpatchSF2Reader

AgsIpatchSF2Reader — interfacing Soundfont2 related API of libinstpatch

Synopsis

#include <ags/audio/file/ags_ipatch_sf2_reader.h>

struct              AgsIpatchSF2Reader;
struct              AgsIpatchSF2ReaderClass;
enum                AgsSF2Levels;
AgsIpatchSF2Reader * ags_ipatch_sf2_reader_new          ();

Description

AgsIpatchSF2Reader is the base object to ineract with Soundfont2 related API.

Details

struct AgsIpatchSF2Reader

struct AgsIpatchSF2Reader {
  GObject object;

  AgsIpatch *ipatch;

  gchar **selected;

  IpatchSF2Reader *reader;

  IpatchSF2 *sf2;

  int bank;
  int program;

  IpatchContainer *preset;
  IpatchContainer *instrument;
  IpatchContainer *sample;

  int count;
};

struct AgsIpatchSF2ReaderClass

struct AgsIpatchSF2ReaderClass {
  GObjectClass object;
};

enum AgsSF2Levels

typedef enum {
  AGS_SF2_FILENAME = 0,
  AGS_SF2_PHDR = 1,
  AGS_SF2_IHDR = 2,
  AGS_SF2_SHDR = 3,
} AgsSF2Levels;

ags_ipatch_sf2_reader_new ()

AgsIpatchSF2Reader * ags_ipatch_sf2_reader_new          ();

Creates an AgsIpatchSF2Reader.

Returns :

an empty AgsIpatchSF2Reader.

Since 0.4