AgsIpatchSF2Reader

AgsIpatchSF2Reader — interfacing Soundfont2 related API of libinstpatch

Functions

Properties

AgsIpatch * ipatch Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsIpatchSF2Reader

Implemented Interfaces

AgsIpatchSF2Reader implements AgsConnectable.

Includes

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

Description

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

Functions

ags_ipatch_sf2_reader_new ()

AgsIpatchSF2Reader *
ags_ipatch_sf2_reader_new ();

Creates an AgsIpatchSF2Reader.

Returns

an empty AgsIpatchSF2Reader.

Since: 1.0.0


AGS_IPATCH_SF2_READER()

#define AGS_IPATCH_SF2_READER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_IPATCH_SF2_READER, AgsIpatchSF2Reader))

AGS_IPATCH_SF2_READER_CLASS()

#define AGS_IPATCH_SF2_READER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_IPATCH_SF2_READER, AgsIpatchSF2ReaderClass))

AGS_IPATCH_SF2_READER_GET_CLASS()

#define AGS_IPATCH_SF2_READER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_IPATCH_SF2_READER, AgsIpatchSF2ReaderClass))

AGS_IS_IPATCH_SF2_READER()

#define AGS_IS_IPATCH_SF2_READER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_IPATCH_SF2_READER))

ags_ipatch_sf2_reader_get_type ()

GType
ags_ipatch_sf2_reader_get_type ();

Types and Values

enum AgsSF2Levels

Enum values to describe the different levels of a Soundfont2 file.

Members

AGS_SF2_FILENAME

filename

 

AGS_SF2_PHDR

preset header

 

AGS_SF2_IHDR

instrument header

 

AGS_SF2_SHDR

sample header

 

AGS_TYPE_IPATCH_SF2_READER

#define AGS_TYPE_IPATCH_SF2_READER                (ags_ipatch_sf2_reader_get_type())

struct AgsIpatchSF2Reader

struct AgsIpatchSF2Reader;

struct AgsIpatchSF2ReaderClass

struct AgsIpatchSF2ReaderClass {
  GObjectClass object;
};

Property Details

The “ipatch” property

  “ipatch”                   AgsIpatch *

The assigned AgsIpatch

Flags: Read / Write

Since: 1.0.0