1 /* TimeSoundAnalysisEditor_enums.h 2 * 3 * Copyright (C) 2007,2013,2015,2017 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 (kTimeSoundAnalysisEditor_timeStepStrategy, 1) 20 enums_add (kTimeSoundAnalysisEditor_timeStepStrategy, 1, AUTOMATIC, U"automatic") 21 enums_add (kTimeSoundAnalysisEditor_timeStepStrategy, 2, FIXED_, U"fixed") 22 enums_add (kTimeSoundAnalysisEditor_timeStepStrategy, 3, VIEW_DEPENDENT, U"view-dependent") 23 enums_end (kTimeSoundAnalysisEditor_timeStepStrategy, 3, AUTOMATIC) 24 25 enums_begin (kTimeSoundAnalysisEditor_pitch_drawingMethod, 1) 26 enums_add (kTimeSoundAnalysisEditor_pitch_drawingMethod, 1, CURVE, U"curve") 27 enums_add (kTimeSoundAnalysisEditor_pitch_drawingMethod, 2, SPECKLE, U"speckles") calculateDiSymbolStreamSize(uint32_t SymbolByteSize,uint32_t C13Size)28 enums_alt (kTimeSoundAnalysisEditor_pitch_drawingMethod, SPECKLE, U"speckle") 29 enums_add (kTimeSoundAnalysisEditor_pitch_drawingMethod, 3, AUTOMATIC, U"automatic") 30 enums_end (kTimeSoundAnalysisEditor_pitch_drawingMethod, 3, AUTOMATIC) 31 32 enums_begin (kTimeSoundAnalysisEditor_pitch_analysisMethod, 1) 33 enums_add (kTimeSoundAnalysisEditor_pitch_analysisMethod, 1, AUTOCORRELATION, U"autocorrelation") 34 enums_add (kTimeSoundAnalysisEditor_pitch_analysisMethod, 2, CROSS_CORRELATION, U"cross-correlation") 35 enums_end (kTimeSoundAnalysisEditor_pitch_analysisMethod, 2, AUTOCORRELATION) 36 37 enums_begin (kTimeSoundAnalysisEditor_intensity_averagingMethod, 0) 38 enums_add (kTimeSoundAnalysisEditor_intensity_averagingMethod, 0, MEDIAN, U"median") // BUG: this HAS to be zero! 39 enums_add (kTimeSoundAnalysisEditor_intensity_averagingMethod, 1, MEAN_ENERGY, U"mean energy") 40 enums_add (kTimeSoundAnalysisEditor_intensity_averagingMethod, 2, MEAN_SONES, U"mean sones") 41 enums_add (kTimeSoundAnalysisEditor_intensity_averagingMethod, 3, MEAN_DB, U"mean dB") 42 enums_end (kTimeSoundAnalysisEditor_intensity_averagingMethod, 3, MEAN_ENERGY) 43 44 enums_begin (kTimeSoundAnalysisEditor_formant_analysisMethod, 1) 45 enums_add (kTimeSoundAnalysisEditor_formant_analysisMethod, 1, BURG, U"Burg") 46 enums_end (kTimeSoundAnalysisEditor_formant_analysisMethod, 1, BURG) 47 48 /* End of file TimeSoundAnalysisEditor_enums.h */ 49