355 |
float zone_size; ///< Intended for internal usage: reflects the size of each zone (128/zones) for normal split types only, 0 otherwise. |
float zone_size; ///< Intended for internal usage: reflects the size of each zone (128/zones) for normal split types only, 0 otherwise. |
356 |
}; |
}; |
357 |
|
|
358 |
/** Defines which frequencies are filtered by the VCF. |
/** Audio filter types. |
359 |
|
* |
360 |
|
* The first 5 filter types are the ones which exist in GigaStudio, and |
361 |
|
* which are very accurately modeled on LinuxSampler side such that they |
362 |
|
* would sound with LinuxSampler exactly as with GigaStudio. |
363 |
|
* |
364 |
|
* The other filter types listed here are extensions to the gig format and |
365 |
|
* are LinuxSampler specific filter type implementations. Note that none of |
366 |
|
* these are duplicates of the GigaStudio filter types. For instance |
367 |
|
* @c vcf_type_lowpass (GigaStudio) and @c vcf_type_lowpass_2p |
368 |
|
* (LinuxSampler) are both lowpass filters with 2 poles, however they do |
369 |
|
* sound differently. |
370 |
* |
* |
371 |
* @see enumCount(), enumKey(), enumKeys(), enumValue() |
* @see enumCount(), enumKey(), enumKeys(), enumValue() |
372 |
*/ |
*/ |
373 |
GIG_DECLARE_ENUM(vcf_type_t, |
GIG_DECLARE_ENUM(vcf_type_t, |
374 |
vcf_type_lowpass = 0x00, /**< Standard lowpass filter type. */ |
vcf_type_lowpass = 0x00, /**< Standard lowpass filter type (GigaStudio). */ |
375 |
vcf_type_lowpassturbo = 0xff, /**< More poles than normal lowpass. */ |
vcf_type_lowpassturbo = 0xff, /**< More poles than normal lowpass (GigaStudio). */ |
376 |
vcf_type_bandpass = 0x01, /**< Bandpass filter type. */ |
vcf_type_bandpass = 0x01, /**< Bandpass filter type (GigaStudio). */ |
377 |
vcf_type_highpass = 0x02, /**< Highpass filter type. */ |
vcf_type_highpass = 0x02, /**< Highpass filter type (GigaStudio). */ |
378 |
vcf_type_bandreject = 0x03 /**< Band reject filter type. */ |
vcf_type_bandreject = 0x03, /**< Band reject filter type (GigaStudio). */ |
379 |
|
vcf_type_lowpass_1p = 0x11, /**< [gig extension]: 1-pole lowpass filter type (LinuxSampler). */ |
380 |
|
vcf_type_lowpass_2p = 0x12, /**< [gig extension]: 2-pole lowpass filter type (LinuxSampler). */ |
381 |
|
vcf_type_lowpass_4p = 0x14, /**< [gig extension]: 4-pole lowpass filter type (LinuxSampler). */ |
382 |
|
vcf_type_lowpass_6p = 0x16, /**< [gig extension]: 6-pole lowpass filter type (LinuxSampler). */ |
383 |
|
vcf_type_highpass_1p = 0x21, /**< [gig extension]: 1-pole highpass filter type (LinuxSampler). */ |
384 |
|
vcf_type_highpass_2p = 0x22, /**< [gig extension]: 2-pole highpass filter type (LinuxSampler). */ |
385 |
|
vcf_type_highpass_4p = 0x24, /**< [gig extension]: 4-pole highpass filter type (LinuxSampler). */ |
386 |
|
vcf_type_highpass_6p = 0x26, /**< [gig extension]: 6-pole highpass filter type (LinuxSampler). */ |
387 |
|
vcf_type_bandpass_2p = 0x32, /**< [gig extension]: 2-pole bandpass filter type (LinuxSampler). */ |
388 |
|
vcf_type_bandreject_2p = 0x42 /**< [gig extension]: 2-pole bandreject filter type (LinuxSampler). */ |
389 |
); |
); |
390 |
|
|
391 |
/** |
/** |