Debian Codegraph @

LPC/FormantPathArea_prefs.h

raw
1 /* FormantPathArea_prefs.h
2 *
3 * Copyright (C) 2020 David Weenink, 2022 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 Prefs_begin (FormantPathArea)
20
21 ClassPrefs_overrideBool (FormantPathArea, picture_garnish, 1, true)
22 InstancePrefs_overrideBool (FormantPathArea, spectrogram_show, 1, true)
23 InstancePrefs_overrideBool (FormantPathArea, formant_show, 1, true)
24 InstancePrefs_overrideBool (FormantPathArea, pitch_show, 1, false)
25 InstancePrefs_overrideBool (FormantPathArea, intensity_show, 1, false)
26 InstancePrefs_overrideBool (FormantPathArea, pulses_show, 1, false)
27
28 InstancePrefs_addDouble (FormantPathArea, formant_path_timeStep, 1, U"0.005")
29 InstancePrefs_addDouble (FormantPathArea, formant_path_maximumNumberOfFormants, 1, U"5.0")
30 InstancePrefs_addDouble (FormantPathArea, formant_path_middleFormantCeiling, 1, U"5500.0 (= adult female)")
31 InstancePrefs_addDouble (FormantPathArea, formant_path_windowLength, 1, U"0.025")
32 InstancePrefs_addDouble (FormantPathArea, formant_path_preEmpasisFrom, 1, U"50.0")
33 InstancePrefs_addDouble (FormantPathArea, formant_path_ceilingStepSize, 1, U"0.05")
34 InstancePrefs_addInteger (FormantPathArea, formant_path_numberOfStepsUpDown, 1, U"4")
35 InstancePrefs_addEnum (FormantPathArea, formant_path_method, 1, kSoundAnalysisArea_formant_analysisMethod, BURG)
36 InstancePrefs_addString (FormantPathArea, formant_path_evenColour, 1, U"pink")
37 InstancePrefs_addString (FormantPathArea, formant_path_oddColour, 1, U"red")
38 InstancePrefs_addString (FormantPathArea, formant_default_colour, 1, U"blue")
39 InstancePrefs_addString (FormantPathArea, formant_selected_colour, 1, U"pink")
40 InstancePrefs_addBool (FormantPathArea, formant_draw_showBandWidths, 1, false)
41
42 Prefs_end (FormantPathArea)
43
44 /* End of file FormantPathArea_prefs.h */