4 #define BASE_PITCH 440.0
5 #define SAMPLE_RATE 22050
6 #define FFT_LENGTH 4096 /* in samples */
7 #define PAD_FACTOR 2 /* 1/pf of the FFT samples are real samples, the rest are padding */
8 #define OVERLAP 4 /* 1/ol samples will be replaced in the buffer every frame. Should be
9 * a multiple of 2 for the Hamming window (see
10 * http://www-ccrma.stanford.edu/~jos/parshl/Choice_Hop_Size.html).
13 #define EQUAL_TEMPERAMENT 0
14 #define WELL_TEMPERED_GUITAR 1
16 #define TUNING WELL_TEMPERED_GUITAR
18 // Compress the x scale of the glpitch display in a nonlinear way
19 // so that the view is more precise around the reference frequencies.
20 #define COMPRESS_PITCH_DISPLAY 1
22 // Lower is more compressed. Anything over 2-3 is probably going to negate
24 #define PITCH_COMPRESSION_SIGMA 1.0
26 #endif /* !defined(_CONFIG_H) */