36 |
/// reallocated which is time consuming and unefficient. |
/// reallocated which is time consuming and unefficient. |
37 |
#define INITIAL_SAMPLE_BUFFER_SIZE 512000 // 512 kB |
#define INITIAL_SAMPLE_BUFFER_SIZE 512000 // 512 kB |
38 |
|
|
39 |
#if 0 //WORDS_BIGENDIAN |
#if WORDS_BIGENDIAN |
40 |
# define LIST_TYPE_3PRG 0x33707267 |
# define LIST_TYPE_3PRG 0x33707267 |
41 |
# define LIST_TYPE_3EWL 0x3365776C |
# define LIST_TYPE_3EWL 0x3365776C |
42 |
# define CHUNK_ID_SMPL 0x736D706C |
# define CHUNK_ID_SMPL 0x736D706C |
57 |
#endif // WORDS_BIGENDIAN |
#endif // WORDS_BIGENDIAN |
58 |
|
|
59 |
/** (so far) every exponential paramater in the gig format has a basis of 1.000000008813822 */ |
/** (so far) every exponential paramater in the gig format has a basis of 1.000000008813822 */ |
60 |
#define GIG_EXP_DECODE(x) (powl(1.000000008813822, x)) |
#define GIG_EXP_DECODE(x) (pow(1.000000008813822, x)) |
61 |
#define GIG_PITCH_TRACK_EXTRACT(x) (!(x & 0x01)) |
#define GIG_PITCH_TRACK_EXTRACT(x) (!(x & 0x01)) |
62 |
#define GIG_VCF_RESONANCE_CTRL_EXTRACT(x) ((x >> 4) & 0x03) |
#define GIG_VCF_RESONANCE_CTRL_EXTRACT(x) ((x >> 4) & 0x03) |
63 |
#define GIG_EG_CTR_ATTACK_INFLUENCE_EXTRACT(x) ((x >> 1) & 0x03) |
#define GIG_EG_CTR_ATTACK_INFLUENCE_EXTRACT(x) ((x >> 1) & 0x03) |