}
#else
-struct note {
- char notename[16];
- double freq;
-};
-static note notes[] = {
- { "E-3", BASE_PITCH/4.0 * (3.0/4.0) },
- { "A-3", BASE_PITCH/4.0 },
- { "D-4", BASE_PITCH/4.0 * (4.0/3.0) },
- { "G-4", BASE_PITCH/4.0 * (4.0/3.0)*(4.0/3.0) },
- { "B-4", BASE_PITCH * (3.0/4.0)*(3.0/4.0) },
- { "E-5", BASE_PITCH * (3.0/4.0) }
-};
-
void print_spectrogram(double freq, double amp)
{
double best_away = 999999999.9;