Debian Codegraph @

LPC/Cepstrum_enums.h

raw
1 /* Cepstrum_enums.h
2 *
3 * Copyright (C) 2020 David Weenink
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. See the GNU
13 * 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 (kCepstrum_peakInterpolation, 0)
20 enums_add (kCepstrum_peakInterpolation, 0, NONE, U"none")
21 enums_add (kCepstrum_peakInterpolation, 1, PARABOLIC, U"parabolic")
22 enums_add (kCepstrum_peakInterpolation, 2, CUBIC, U"cubic")
23 enums_end (kCepstrum_peakInterpolation, 2, PARABOLIC)
24
25 enums_begin (kCepstrum_trendType, 1)
26 enums_add (kCepstrum_trendType, 1, LINEAR, U"Straight")
27 enums_add (kCepstrum_trendType, 2, EXPONENTIAL_DECAY, U"Exponential decay")
28 enums_end (kCepstrum_trendType, 2, LINEAR)
29
30 enums_begin (kCepstrum_trendFit, 1)
31 enums_add (kCepstrum_trendFit, 1, ROBUST_FAST, U"Robust")
32 enums_add (kCepstrum_trendFit, 2, LEAST_SQUARES, U"Least squares")
33 enums_add (kCepstrum_trendFit, 3, ROBUST_SLOW, U"Robust slow")
34 enums_end (kCepstrum_trendFit, 3, ROBUST_SLOW)
35
36 /* End of file Cepstrum_enums.h */