Debian Codegraph @

EEG/EEGAnalysisArea_prefs.h

raw
1 /* EEGAnalysisArea_prefs.h
2 *
3 * Copyright (C) 2013,2015,2017,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 (EEGAnalysisArea)
20
21 InstancePrefs_overrideBool (EEGAnalysisArea, spectrogram_show, 1, false);
22 InstancePrefs_overrideDouble (EEGAnalysisArea, spectrogram_viewFrom, 1, U"0.0") // Hz
23 InstancePrefs_overrideDouble (EEGAnalysisArea, spectrogram_viewTo, 1, U"60.0") // Hz
24 InstancePrefs_overrideDouble (EEGAnalysisArea, spectrogram_windowLength, 1, U"0.5") // seconds
25 InstancePrefs_overrideDouble (EEGAnalysisArea, spectrogram_dynamicRange, 1, U"40.0") // dB
26 InstancePrefs_overrideInteger (EEGAnalysisArea, spectrogram_timeSteps, 1, U"1000")
27 InstancePrefs_overrideInteger (EEGAnalysisArea, spectrogram_frequencySteps, 1, U"250")
28 InstancePrefs_overrideEnum (EEGAnalysisArea, spectrogram_method, 1, kSound_to_Spectrogram_method, DEFAULT)
29 InstancePrefs_overrideEnum (EEGAnalysisArea, spectrogram_windowShape, 1, kSound_to_Spectrogram_windowShape, DEFAULT)
30 InstancePrefs_overrideBool (EEGAnalysisArea, spectrogram_autoscaling, 1, true)
31 InstancePrefs_overrideDouble (EEGAnalysisArea, spectrogram_maximum, 1, U"100.0") // dB/Hz
32 InstancePrefs_overrideDouble (EEGAnalysisArea, spectrogram_preemphasis, 1, U"0.0") // dB/octave
33 InstancePrefs_overrideDouble (EEGAnalysisArea, spectrogram_dynamicCompression, 1, U"0.0")
34 InstancePrefs_overrideBool (EEGAnalysisArea, spectrogram_picture_garnish, 1, true)
35
36 Prefs_end (EEGAnalysisArea)
37
38 /* End of file EEGAnalysisArea_prefs.h */