| 1 | /* TextGridArea_prefs.h |
| 2 | * |
| 3 | * Copyright (C) 2013,2015,2016,2019,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 (TextGridArea) |
| 20 | |
| 21 | ClassPrefs_overrideBool (TextGridArea, picture_garnish, 1, true) |
| 22 | |
| 23 | InstancePrefs_addBool (TextGridArea, useTextStyles, 1, false) |
| 24 | InstancePrefs_addDouble (TextGridArea, fontSize, 1, U"18") |
| 25 | InstancePrefs_addEnum (TextGridArea, alignment, 1, kGraphics_horizontalAlignment, DEFAULT) |
| 26 | InstancePrefs_addBool (TextGridArea, shiftDragMultiple, 1, true) |
| 27 | InstancePrefs_addEnum (TextGridArea, showNumberOf, 1, kTextGridArea_showNumberOf, DEFAULT) |
| 28 | InstancePrefs_addEnum (TextGridArea, greenMethod, 1, kMelder_string, DEFAULT) |
| 29 | InstancePrefs_addString (TextGridArea, greenString, 1, U"some text here for green paint") |
| 30 | ClassPrefs_addBool (TextGridArea, picture_showBoundaries, 1, true) |
| 31 | ClassPrefs_addBool (TextGridArea, picture_pitch_speckle, 1, false) |
| 32 | InstancePrefs_addString (TextGridArea, align_language, 1, U"English") |
| 33 | InstancePrefs_addBool (TextGridArea, align_includeWords, 1, true) |
| 34 | InstancePrefs_addBool (TextGridArea, align_includePhonemes, 1, false) |
| 35 | InstancePrefs_addBool (TextGridArea, align_allowSilences, 1, false) |
| 36 | InstancePrefs_addString (TextGridArea, transcribe_model, 1, TranscriptionDefaults::modelName) |
| 37 | InstancePrefs_addString (TextGridArea, transcribe_language, 1, TranscriptionDefaults::languageName) |
| 38 | InstancePrefs_addBool (TextGridArea, transcribe_includeWords, 1, TranscriptionDefaults::includeWords) |
| 39 | InstancePrefs_addBool (TextGridArea, transcribe_diarize, 1, TranscriptionDefaults::includeDiarization) |
| 40 | InstancePrefs_addBool (TextGridArea, transcribe_useVad, 1, TranscriptionDefaults::useVad) |
| 41 | InstancePrefs_addDouble (TextGridArea, vad_speechThreshold, 1, VadDefaults::speechThreshold) |
| 42 | InstancePrefs_addDouble (TextGridArea, vad_minNonSpeech, 1, VadDefaults::minNonSpeechDuration) |
| 43 | InstancePrefs_addDouble (TextGridArea, vad_minSpeech, 1, VadDefaults::minSpeechDuration) |
| 44 | InstancePrefs_addDouble (TextGridArea, vad_speechPadding, 1, VadDefaults::speechPad) |
| 45 | InstancePrefs_addInteger (TextGridArea, diarize_maxNumSpeakers, 1, DiarizationDefaults::maxNumSpeakers) |
| 46 | InstancePrefs_addBool (TextGridArea, diarize_allowOverlap, 1, DiarizationDefaults::allowOverlap) |
| 47 | InstancePrefs_addString (TextGridArea, diarize_nonSpeechLabel, 1, DiarizationDefaults::nonSpeechLabel) |
| 48 | InstancePrefs_addString (TextGridArea, diarize_speechLabel, 1, DiarizationDefaults::speechLabel) |
| 49 | InstancePrefs_addDouble (TextGridArea, diarize_clusterThreshold, 1, DiarizationDefaults::clusterThreshold) |
| 50 | InstancePrefs_addDouble (TextGridArea, diarize_segmentationStep, 1, DiarizationDefaults::segmentationStep) |
| 51 | |
| 52 | Prefs_end (TextGridArea) |
| 53 | |
| 54 | /* End of file TextGridArea_prefs.h */ |