| 1 | /* SoundAnalysisArea_enums.h |
| 2 | * |
| 3 | * Copyright (C) 2007,2013,2015-2017,2022,2023 Paul Boersma |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or (at |
| 8 | * your option) any later version. |
| 9 | * |
| 10 | * This code is distributed in the hope that it will be useful, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 | * See the GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | enums_begin (kSoundAnalysisArea_timeStepStrategy, 1) |
| 20 | enums_add (kSoundAnalysisArea_timeStepStrategy, 1, AUTOMATIC, U"automatic") |
| 21 | enums_add (kSoundAnalysisArea_timeStepStrategy, 2, FIXED_, U"fixed") |
| 22 | enums_add (kSoundAnalysisArea_timeStepStrategy, 3, VIEW_DEPENDENT, U"view-dependent") |
| 23 | enums_end (kSoundAnalysisArea_timeStepStrategy, 3, AUTOMATIC) |
| 24 | |
| 25 | enums_begin (kSoundAnalysisArea_pitch_drawingMethod, 1) |
| 26 | enums_add (kSoundAnalysisArea_pitch_drawingMethod, 1, CURVE, U"curve") |
| 27 | enums_add (kSoundAnalysisArea_pitch_drawingMethod, 2, SPECKLE, U"speckles") |
| 28 | enums_alt (kSoundAnalysisArea_pitch_drawingMethod, SPECKLE, U"speckle") |
| 29 | enums_add (kSoundAnalysisArea_pitch_drawingMethod, 3, AUTOMATIC, U"automatic") |
| 30 | enums_end (kSoundAnalysisArea_pitch_drawingMethod, 3, AUTOMATIC) |
| 31 | |
| 32 | enums_begin (kSoundAnalysisArea_pitch_analysisMethod, 1) |
| 33 | enums_add (kSoundAnalysisArea_pitch_analysisMethod, 1, FILTERED_AUTOCORRELATION, U"filtered autocorrelation") |
| 34 | enums_add (kSoundAnalysisArea_pitch_analysisMethod, 2, RAW_CROSS_CORRELATION, U"raw cross-correlation") |
| 35 | enums_alt (kSoundAnalysisArea_pitch_analysisMethod, RAW_CROSS_CORRELATION, U"cross-correlation") // COMPATIBILITY < 6400 |
| 36 | enums_add (kSoundAnalysisArea_pitch_analysisMethod, 3, RAW_AUTOCORRELATION, U"raw autocorrelation") |
| 37 | enums_alt (kSoundAnalysisArea_pitch_analysisMethod, RAW_AUTOCORRELATION, U"autocorrelation") // COMPATIBILITY < 6400 |
| 38 | enums_add (kSoundAnalysisArea_pitch_analysisMethod, 4, FILTERED_CROSS_CORRELATION, U"filtered cross-correlation") |
| 39 | enums_end (kSoundAnalysisArea_pitch_analysisMethod, 4, FILTERED_AUTOCORRELATION) |
| 40 | |
| 41 | enums_begin (kSoundAnalysisArea_intensity_averagingMethod, 0) |
| 42 | enums_add (kSoundAnalysisArea_intensity_averagingMethod, 0, MEDIAN, U"median") // BUG: this HAS to be zero! |
| 43 | enums_add (kSoundAnalysisArea_intensity_averagingMethod, 1, MEAN_ENERGY, U"mean energy") |
| 44 | enums_add (kSoundAnalysisArea_intensity_averagingMethod, 2, MEAN_SONES, U"mean sones") |
| 45 | enums_add (kSoundAnalysisArea_intensity_averagingMethod, 3, MEAN_DB, U"mean dB") |
| 46 | enums_end (kSoundAnalysisArea_intensity_averagingMethod, 3, MEAN_ENERGY) |
| 47 | |
| 48 | enums_begin (kSoundAnalysisArea_formant_analysisMethod, 1) |
| 49 | enums_add (kSoundAnalysisArea_formant_analysisMethod, 1, BURG, U"Burg") |
| 50 | enums_end (kSoundAnalysisArea_formant_analysisMethod, 1, BURG) |
| 51 | |
| 52 | /* End of file SoundAnalysisArea_enums.h */ |