Debian Codegraph @

LPC/FormantModeler_enums.h

raw
1 /* FormantModeler_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 (kFormantModelerTrackShift, 1)
20 enums_add (kFormantModelerTrackShift, 1, NO_, U"No")
21 enums_add (kFormantModelerTrackShift, 2, UP, U"Up")
22 enums_add (kFormantModelerTrackShift, 3, DOWN, U"Down")
23 enums_end (kFormantModelerTrackShift, 3, DOWN)
24
25 enums_begin (kFormantModelerWeights, 1)
26 enums_add (kFormantModelerWeights, 1, EQUAL_WEIGHTS, U"Equal")
27 enums_add (kFormantModelerWeights, 2, ONE_OVER_BANDWIDTH, U"One over bandwidth")
28 enums_add (kFormantModelerWeights, 3, ONE_OVER_SQRTBANDWIDTH, U"One over sqrt(bandwidth)")
29 enums_add (kFormantModelerWeights, 4, Q_FACTOR, U"Q-factor")
30 enums_end (kFormantModelerWeights, 4, Q_FACTOR)
31
32 /* End of file FormantModeler_enums.h */