SF.h File Reference

#include "RIFF.h"
#include <vector>

Go to the source code of this file.

Namespaces

namespace  sf2

Classes

struct  sf2::_PresetBag
struct  sf2::_ModList
struct  sf2::_RangesType
union  sf2::_GenAmountType
struct  sf2::_GenList
struct  sf2::_InstBag
class  sf2::Modulator
class  sf2::ModulatorItem
class  sf2::Exception
class  sf2::Version
class  sf2::Info
class  sf2::Sample
class  sf2::Sample::PlaybackState
 Reflects the current playback state for a sample. More...
struct  sf2::Sample::buffer_t
 Pointer address and size of a buffer. More...
class  sf2::Region
 Instrument zone. More...
class  sf2::InstrumentBase
class  sf2::Query
class  sf2::Instrument
class  sf2::Preset
class  sf2::File

Defines

#define RIFF_ID(x)   (*((uint32_t*) x))
#define RIFF_TYPE_SF2   RIFF_ID("sfbk")
#define LIST_TYPE_SDTA   RIFF_ID("sdta")
#define LIST_TYPE_PDTA   RIFF_ID("pdta")
#define CHUNK_ID_IFIL   RIFF_ID("ifil")
#define CHUNK_ID_ISNG   RIFF_ID("isng")
#define CHUNK_ID_IROM   RIFF_ID("irom")
#define CHUNK_ID_IVER   RIFF_ID("iver")
#define CHUNK_ID_SM24   RIFF_ID("sm24")
#define CHUNK_ID_PHDR   RIFF_ID("phdr")
#define CHUNK_ID_PBAG   RIFF_ID("pbag")
#define CHUNK_ID_PMOD   RIFF_ID("pmod")
#define CHUNK_ID_PGEN   RIFF_ID("pgen")
#define CHUNK_ID_INST   RIFF_ID("inst")
#define CHUNK_ID_IBAG   RIFF_ID("ibag")
#define CHUNK_ID_IMOD   RIFF_ID("imod")
#define CHUNK_ID_IGEN   RIFF_ID("igen")
#define CHUNK_ID_SHDR   RIFF_ID("shdr")

Typedefs

typedef sf2::_PresetBag sf2::PresetBag
typedef uint16_t sf2::SFModulator
typedef uint16_t sf2::SFGenerator
typedef uint16_t sf2::SFTransform
typedef sf2::_ModList sf2::ModList
typedef sf2::_RangesType sf2::RangesType
typedef sf2::_GenAmountType sf2::GenAmountType
typedef sf2::_GenList sf2::GenList
typedef sf2::_InstBag sf2::InstBag
typedef std::string sf2::String

Enumerations

enum  sf2::SFGeneratorType {
  sf2::START_ADDRS_OFFSET = 0, sf2::END_ADDRS_OFFSET, sf2::STARTLOOP_ADDRS_OFFSET, sf2::ENDLOOP_ADDRS_OFFSET,
  sf2::START_ADDRS_COARSE_OFFSET, sf2::MOD_LFO_TO_PITCH, sf2::VIB_LFO_TO_PITCH, sf2::MOD_ENV_TO_PITCH,
  sf2::INITIAL_FILTER_FC, sf2::INITIAL_FILTER_Q, sf2::MOD_LFO_TO_FILTER_FC, sf2::MOD_ENV_TO_FILTER_FC,
  sf2::END_ADDRS_COARSE_OFFSET, sf2::MOD_LFO_TO_VOLUME, sf2::UNUSED1, sf2::CHORUS_EFFECTS_SEND,
  sf2::REVERB_EFFECTS_SEND, sf2::PAN, sf2::UNUSED2, sf2::UNUSED3,
  sf2::UNUSED4, sf2::DELAY_MOD_LFO, sf2::FREQ_MOD_LFO, sf2::DELAY_VIB_LFO,
  sf2::FREQ_VIB_LFO, sf2::DELAY_MOD_ENV, sf2::ATTACK_MOD_ENV, sf2::HOLD_MOD_ENV,
  sf2::DECAY_MOD_ENV, sf2::SUSTAIN_MOD_ENV, sf2::RELEASEMODENV, sf2::KEYNUM_TO_MOD_ENV_HOLD,
  sf2::KEYNUM_TO_MOD_ENV_DECAY, sf2::DELAY_VOL_ENV, sf2::ATTACK_VOL_ENV, sf2::HOLD_VOL_ENV,
  sf2::DECAY_VOL_ENV, sf2::SUSTAIN_VOL_ENV, sf2::RELEASE_VOL_ENV, sf2::KEYNUM_TO_VOL_ENV_HOLD,
  sf2::KEYNUM_TO_VOL_ENV_DECAY, sf2::INSTRUMENT, sf2::RESERVED1, sf2::KEY_RANGE,
  sf2::VEL_RANGE, sf2::STARTLOOP_ADDRS_COARSE_OFFSET, sf2::KEYNUM, sf2::VELOCITY,
  sf2::INITIAL_ATTENUATION, sf2::RESERVED2, sf2::ENDLOOP_ADDRS_COARSE_OFFSET, sf2::COARSE_TUNE,
  sf2::FINE_TUNE, sf2::SAMPLE_ID, sf2::SAMPLE_MODES, sf2::RESERVED3,
  sf2::SCALE_TUNING, sf2::EXCLUSIVE_CLASS, sf2::OVERRIDING_ROOT_KEY, sf2::UNUSED5,
  sf2::END_OPER
}

Functions

String sf2::libraryName ()
 Returns the name of this C++ library.
String sf2::libraryVersion ()
 Returns version of this C++ library.


Define Documentation

#define CHUNK_ID_IBAG   RIFF_ID("ibag")

Definition at line 56 of file SF.h.

Referenced by sf2::File::File().

#define CHUNK_ID_IFIL   RIFF_ID("ifil")

Definition at line 42 of file SF.h.

Referenced by sf2::Info::Info().

#define CHUNK_ID_IGEN   RIFF_ID("igen")

Definition at line 58 of file SF.h.

Referenced by sf2::File::File().

#define CHUNK_ID_IMOD   RIFF_ID("imod")

Definition at line 57 of file SF.h.

Referenced by sf2::File::File().

#define CHUNK_ID_INST   RIFF_ID("inst")

Definition at line 55 of file SF.h.

Referenced by sf2::File::File().

#define CHUNK_ID_IROM   RIFF_ID("irom")

Definition at line 44 of file SF.h.

Referenced by sf2::Info::Info().

#define CHUNK_ID_ISNG   RIFF_ID("isng")

Definition at line 43 of file SF.h.

Referenced by sf2::Info::Info().

#define CHUNK_ID_IVER   RIFF_ID("iver")

Definition at line 45 of file SF.h.

Referenced by sf2::Info::Info().

#define CHUNK_ID_PBAG   RIFF_ID("pbag")

Definition at line 52 of file SF.h.

Referenced by sf2::File::File().

#define CHUNK_ID_PGEN   RIFF_ID("pgen")

Definition at line 54 of file SF.h.

Referenced by sf2::File::File().

#define CHUNK_ID_PHDR   RIFF_ID("phdr")

Definition at line 51 of file SF.h.

Referenced by sf2::File::File().

#define CHUNK_ID_PMOD   RIFF_ID("pmod")

Definition at line 53 of file SF.h.

Referenced by sf2::File::File().

#define CHUNK_ID_SHDR   RIFF_ID("shdr")

Definition at line 59 of file SF.h.

Referenced by sf2::File::File().

#define CHUNK_ID_SM24   RIFF_ID("sm24")

Definition at line 48 of file SF.h.

Referenced by sf2::File::File().

#define LIST_TYPE_PDTA   RIFF_ID("pdta")

Definition at line 38 of file SF.h.

Referenced by sf2::File::File().

#define LIST_TYPE_SDTA   RIFF_ID("sdta")

Definition at line 37 of file SF.h.

Referenced by sf2::File::File().

#define RIFF_ID (  )     (*((uint32_t*) x))

Definition at line 31 of file SF.h.

#define RIFF_TYPE_SF2   RIFF_ID("sfbk")

Definition at line 34 of file SF.h.

Referenced by sf2::File::File().


Generated on Sun May 1 03:22:46 2011 for libgig by  doxygen 1.5.2