Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

gig.h File Reference

#include "DLS.h"
#include <math.h>
#include <string.h>

Go to the source code of this file.

Namespaces

namespace  gig

Defines

#define INITIAL_SAMPLE_BUFFER_SIZE   512000
 Initial size of the sample buffer which is used for decompression of compressed sample wave streams - this value should always be bigger than the biggest sample piece expected to be read by the sampler engine, otherwise the buffer size will be raised at runtime and thus the buffer reallocated which is time consuming and unefficient.

#define LIST_TYPE_3PRG   0x67727033
#define LIST_TYPE_3EWL   0x6C776533
#define CHUNK_ID_SMPL   0x6C706D73
#define CHUNK_ID_3GIX   0x78696733
#define CHUNK_ID_3EWA   0x61776533
#define CHUNK_ID_3LNK   0x6B6E6C33
#define CHUNK_ID_3EWG   0x67776533
#define CHUNK_ID_EWAV   0x76617765
#define GIG_EXP_DECODE(x)   (pow(1.000000008813822, x))
 (so far) every exponential paramater in the gig format has a basis of 1.000000008813822

#define GIG_PITCH_TRACK_EXTRACT(x)   (!(x & 0x01))
#define GIG_VCF_RESONANCE_CTRL_EXTRACT(x)   ((x >> 4) & 0x03)
#define GIG_EG_CTR_ATTACK_INFLUENCE_EXTRACT(x)   ((x >> 1) & 0x03)
#define GIG_EG_CTR_DECAY_INFLUENCE_EXTRACT(x)   ((x >> 3) & 0x03)
#define GIG_EG_CTR_RELEASE_INFLUENCE_EXTRACT(x)   ((x >> 5) & 0x03)


Define Documentation

#define CHUNK_ID_3EWA   0x61776533
 

Definition at line 53 of file gig.h.

Referenced by gig::DimensionRegion::DimensionRegion().

#define CHUNK_ID_3EWG   0x67776533
 

Definition at line 55 of file gig.h.

Referenced by gig::Instrument::Instrument().

#define CHUNK_ID_3GIX   0x78696733
 

Definition at line 52 of file gig.h.

Referenced by gig::Sample::Sample().

#define CHUNK_ID_3LNK   0x6B6E6C33
 

Definition at line 54 of file gig.h.

Referenced by gig::Region::Region().

#define CHUNK_ID_EWAV   0x76617765
 

Definition at line 56 of file gig.h.

Referenced by gig::Sample::Sample().

#define CHUNK_ID_SMPL   0x6C706D73
 

Definition at line 51 of file gig.h.

Referenced by gig::Sample::Sample().

#define GIG_EG_CTR_ATTACK_INFLUENCE_EXTRACT  )     ((x >> 1) & 0x03)
 

Definition at line 63 of file gig.h.

Referenced by gig::DimensionRegion::DimensionRegion().

#define GIG_EG_CTR_DECAY_INFLUENCE_EXTRACT  )     ((x >> 3) & 0x03)
 

Definition at line 64 of file gig.h.

Referenced by gig::DimensionRegion::DimensionRegion().

#define GIG_EG_CTR_RELEASE_INFLUENCE_EXTRACT  )     ((x >> 5) & 0x03)
 

Definition at line 65 of file gig.h.

Referenced by gig::DimensionRegion::DimensionRegion().

#define GIG_EXP_DECODE  )     (pow(1.000000008813822, x))
 

(so far) every exponential paramater in the gig format has a basis of 1.000000008813822

Definition at line 60 of file gig.h.

Referenced by gig::DimensionRegion::DimensionRegion().

#define GIG_PITCH_TRACK_EXTRACT  )     (!(x & 0x01))
 

Definition at line 61 of file gig.h.

Referenced by gig::DimensionRegion::DimensionRegion().

#define GIG_VCF_RESONANCE_CTRL_EXTRACT  )     ((x >> 4) & 0x03)
 

Definition at line 62 of file gig.h.

Referenced by gig::DimensionRegion::DimensionRegion().

#define INITIAL_SAMPLE_BUFFER_SIZE   512000
 

Initial size of the sample buffer which is used for decompression of compressed sample wave streams - this value should always be bigger than the biggest sample piece expected to be read by the sampler engine, otherwise the buffer size will be raised at runtime and thus the buffer reallocated which is time consuming and unefficient.

Definition at line 37 of file gig.h.

Referenced by gig::Sample::Sample().

#define LIST_TYPE_3EWL   0x6C776533
 

Definition at line 50 of file gig.h.

Referenced by gig::Region::LoadDimensionRegions().

#define LIST_TYPE_3PRG   0x67727033
 

Definition at line 49 of file gig.h.

Referenced by gig::Region::LoadDimensionRegions().


Generated on Fri Jul 29 22:09:29 2005 for libgig by doxygen 1.3.4