| 1 |
/* VowelEditor_prefs.h |
| 2 |
* |
| 3 |
* Copyright (C) 2020 David Weenink, 2022 Paul Boersma |
| 4 |
* |
| 5 |
* This program 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 program 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 program; if not, write to the Free Software |
| 17 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 18 |
*/ |
| 19 |
|
| 20 |
Prefs_begin (VowelEditor) |
| 21 |
|
| 22 |
ClassPrefs_overrideInt (VowelEditor, shellWidth, 1, U"900") |
| 23 |
ClassPrefs_overrideInt (VowelEditor, shellHeight, 1, U"700") |
| 24 |
InstancePrefs_addBool (VowelEditor, soundFollowsMouse, 1, true) |
| 25 |
InstancePrefs_addEnum (VowelEditor, window_frequencyScale, 1, kVowelEditor_frequencyScale, LOGARITHMIC) |
| 26 |
InstancePrefs_addDouble (VowelEditor, window_f1min, 1, U"200.0") // Hz |
| 27 |
InstancePrefs_addDouble (VowelEditor, window_f1max, 1, U"1200.0") // Hz |
| 28 |
InstancePrefs_addDouble (VowelEditor, window_f2min, 1, U"500.0") // Hz |
| 29 |
InstancePrefs_addDouble (VowelEditor, window_f2max, 1, U"3500.0") // Hz |
| 30 |
InstancePrefs_addDouble (VowelEditor, synthesis_samplingFrequency, 1, U"44100.0") // Hz |
| 31 |
InstancePrefs_addInteger (VowelEditor, synthesis_numberOfFormants, 1, U"4") // to synthesize the sound |
| 32 |
InstancePrefs_addDouble (VowelEditor, synthesis_q1, 1, U"10.0") // F/B |
| 33 |
InstancePrefs_addDouble (VowelEditor, synthesis_q2, 1, U"10.0") // F/B |
| 34 |
InstancePrefs_addString (VowelEditor, synthesis_extraFBPairs, 1, U"2500 250 3500 350 4500 450") // Hz |
| 35 |
InstancePrefs_addDouble (VowelEditor, trajectory_markEvery, 1, U"0.05") // s |
| 36 |
InstancePrefs_addDouble (VowelEditor, trajectory_markLength, 1, U"0.02") // s |
| 37 |
InstancePrefs_addString (VowelEditor, trajectory_colour, 1, U"Black") // Colour |
| 38 |
InstancePrefs_addDouble (VowelEditor, trajectory_minimumDuration, 1, U"0.05") // 50 ms is audible |
| 39 |
InstancePrefs_addDouble (VowelEditor, trajectory_duration, 1, U"0.1") // s |
| 40 |
InstancePrefs_addDouble (VowelEditor, trajectory_extendDuration, 1, U"0.1") // s |
| 41 |
InstancePrefs_addDouble (VowelEditor, trajectory_newDuration, 1, U"0.2") // |
| 42 |
InstancePrefs_addDouble (VowelEditor, trajectory_lineWidth, 1, U"2.5") // |
| 43 |
InstancePrefs_addEnum (VowelEditor, marks_speakerType, 1, kVowelEditor_speakerType, WOMAN) |
| 44 |
InstancePrefs_addEnum (VowelEditor, marks_dataSet, 1, kVowelEditor_marksDataSet, AMERICAN_ENGLISH) |
| 45 |
InstancePrefs_addString (VowelEditor, marks_fileName, 1, U"") |
| 46 |
InstancePrefs_addString (VowelEditor, marks_colour, 1, U"grey") |
| 47 |
InstancePrefs_addDouble (VowelEditor, marks_fontSize, 1, U"14.0") |
| 48 |
InstancePrefs_addDouble (VowelEditor, f0_start, 1, U"140.0") // Hz |
| 49 |
InstancePrefs_addDouble (VowelEditor, f0_slope, 1, U"0.0") // oct/s |
| 50 |
InstancePrefs_addDouble (VowelEditor, f0_minimum, 1, U"20.0") // Hz |
| 51 |
InstancePrefs_addDouble (VowelEditor, f0_maximum, 1, U"2000.0") // Hz |
| 52 |
InstancePrefs_addDouble (VowelEditor, grid_df1, 1, U"200.0") // Hz |
| 53 |
InstancePrefs_addDouble (VowelEditor, grid_df2, 1, U"500.0") // Hz |
| 54 |
|
| 55 |
Prefs_end (VowelEditor) |
| 56 |
|
| 57 |
/* End of file VowelEditor_prefs.h */ |