Debian Codegraph @

dwtools/praat_KlattGrid_init.cpp

raw symbols SCIP
1 /* praat_KlattGrid_init.cpp
2 *
3 * Copyright (C) 2009-2021 David Weenink, 2011,2012,2014-2019,2021-2024,2026 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 3 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 /*
20 djmw 20090420
21 */
22
23 #include "IntensityTierEditor.h"cxx . . $ `<file>/foned/IntensityTierEditor.h`/
24 #include "KlattGridEditors.h"cxx . . $ `<file>/dwtools/KlattGridEditors.h`/
25 #include "KlattTable.h"cxx . . $ `<file>/dwtools/KlattTable.h`/
26
27 #include "praat_TimeFunction.h"cxx . . $ `<file>/fon/praat_TimeFunction.h`/
28
29 /******************* KlattGrid *********************************/
30
31 #define KlattGrid_4formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:31:9`!(formantType) \
32 OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kKlattGridFormantType, formantType, U"Formant type", kKlattGridFormantType::DEFAULT)
33
34 #define KlattGrid_6formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:34:9`!(formantType) \
35 OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kKlattGridFormantType, formantType, U"Formant type", kKlattGridFormantType::DEFAULT)
36
37
38 #define KlattGrid_PhonationGridPlayOptions_addCommonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:38:9`!(useVoicing,useFlutter,useDoublePulsing,useCollisionPhase,useSpectralTilt,flowFunctionType,useFlowDerivative,useAspiration,useBreathiness) \
39 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useVoicing, U"Voicing", true) \
40 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useFlutter, U"Flutter", true) \
41 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useDoublePulsing, U"Double pulsing", true) \
42 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useCollisionPhase, U"Collision phase", true) \
43 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useSpectralTilt, U"Spectral tilt", true) \
44 OPTIONMENUcxx . . $ `sys/praatM.h:231:9`! (flowFunctionType, U"Flow function", 1) \
45 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"Powers in tiers") \
46 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"t^2-t^3") \
47 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"t^3-t^4") \
48 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useFlowDerivative, U"Flow derivative", true) \
49 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useAspiration, U"Aspiration", true) \
50 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useBreathiness, U"Breathiness", true)
51
52 static void KlattGrid_PhonationGridPlayOptionscxx . . $ KlattGrid_PhonationGridPlayOptions(1049477330e10264). (KlattGridcxx . . $ KlattGrid# me, int useVoicing, int useFlutter, int useDoublePulsing,
53 int useCollisionPhase, int useSpectralTilt, int flowFunctionType, int useFlowDerivative, int useAspiration, int useBreathiness)
54 {
55 PhonationGridPlayOptionscxx . . $ PhonationGridPlayOptions# pp = mycxx . . $ `melder/melder.h:44:9`! phonationcxx . . $ structKlattGrid#phonation. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). optionscxx . . $ structPhonationGrid#options..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
56 pp -> voicingcxx . . $ structPhonationGridPlayOptions#voicing. = useVoicing;
57 pp -> fluttercxx . . $ structPhonationGridPlayOptions#flutter. = useFlutter;
58 pp -> doublePulsingcxx . . $ structPhonationGridPlayOptions#doublePulsing. = useDoublePulsing;
59 pp -> collisionPhasecxx . . $ structPhonationGridPlayOptions#collisionPhase. = useCollisionPhase;
60 pp -> spectralTiltcxx . . $ structPhonationGridPlayOptions#spectralTilt. = useSpectralTilt;
61 pp -> flowFunctioncxx . . $ structPhonationGridPlayOptions#flowFunction. = flowFunctionType;
62 pp -> flowDerivativecxx . . $ structPhonationGridPlayOptions#flowDerivative. = useFlowDerivative;
63 pp -> aspirationcxx . . $ structPhonationGridPlayOptions#aspiration. = useAspiration;
64 pp -> breathinesscxx . . $ structPhonationGridPlayOptions#breathiness. = useBreathiness;
65 }
66
67 #define KlattGrid_formantSelection_vocalTract_commonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:67:9`!(filterModel,fromOralFormant,toOralFormant,fromNasalFormant,toNasalFormant,fromNasalAntiFormant,toNasalAntiFormant) \
68 OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kKlattGridFilterModel, filterModel, U"Filter model", kKlattGridFilterModel::DEFAULT) \
69 INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromOralFormant, U"left Oral formant range", U"1") \
70 INTEGERcxx . . $ `sys/praatM.h:108:9`! (toOralFormant, U"right Oral formant range", U"5") \
71 INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromNasalFormant, U"left Nasal formant range", U"1") \
72 INTEGERcxx . . $ `sys/praatM.h:108:9`! (toNasalFormant, U"right Nasal formant range", U"1") \
73 INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromNasalAntiFormant, U"left Nasal antiformant range", U"1") \
74 INTEGERcxx . . $ `sys/praatM.h:108:9`! (toNasalAntiFormant, U"right Nasal antiformant range", U"1")
75
76 static void KlattGrid_formantSelection_vocalTractcxx . . $ KlattGrid_formantSelection_vocalTract(71ef01a3d63cad89). (KlattGridcxx . . $ KlattGrid# me, kKlattGridFilterModelcxx . . $ kKlattGridFilterModel# filterModel, integercxx . . $ integer# fromOralFormant,
77 integercxx . . $ integer# toOralFormant, integercxx . . $ integer# fromNasalFormant, integercxx . . $ integer# toNasalFormant, integercxx . . $ integer# fromNasalAntiFormant, integercxx . . $ integer# toNasalAntiFormant)
78 {
79 VocalTractGridPlayOptionscxx . . $ VocalTractGridPlayOptions# pv = mycxx . . $ `melder/melder.h:44:9`! vocalTractcxx . . $ structKlattGrid#vocalTract. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). optionscxx . . $ structVocalTractGrid#options..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
80 pv -> filterModelcxx . . $ structVocalTractGridPlayOptions#filterModel. = filterModel;
81 pv -> startOralFormantcxx . . $ structVocalTractGridPlayOptions#startOralFormant. = fromOralFormant;
82 pv -> endOralFormantcxx . . $ structVocalTractGridPlayOptions#endOralFormant. = toOralFormant;
83 pv -> startNasalFormantcxx . . $ structVocalTractGridPlayOptions#startNasalFormant. = fromNasalFormant;
84 pv -> endNasalFormantcxx . . $ structVocalTractGridPlayOptions#endNasalFormant. = toNasalFormant;
85 pv -> startNasalAntiFormantcxx . . $ structVocalTractGridPlayOptions#startNasalAntiFormant. = fromNasalAntiFormant;
86 pv -> endNasalAntiFormantcxx . . $ structVocalTractGridPlayOptions#endNasalAntiFormant. = toNasalAntiFormant;
87 }
88
89 #define KlattGrid_formantSelection_coupling_commonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:89:9`!(fromTrachealFormant,toTrachealFormant,fromTrachealAntiFormant,toTrachealAntiFormant,fromDeltaFormant,toDeltaFormant,fromDeltaBandwidth,toDeltaBandwidth) \
90 INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromTrachealFormant, U"left Tracheal formant range", U"1") \
91 INTEGERcxx . . $ `sys/praatM.h:108:9`! (toTrachealFormant, U"right Tracheal formant range", U"1") \
92 INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromTrachealAntiFormant, U"left Tracheal antiformant range", U"1") \
93 INTEGERcxx . . $ `sys/praatM.h:108:9`! (toTrachealAntiFormant, U"right Tracheal antiformant range", U"1") \
94 INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromDeltaFormant, U"left Delta formant range", U"1") \
95 INTEGERcxx . . $ `sys/praatM.h:108:9`! (toDeltaFormant, U"right Delta formant range", U"1") \
96 INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromDeltaBandwidth, U"left Delta bandwidth range", U"1") \
97 INTEGERcxx . . $ `sys/praatM.h:108:9`! (toDeltaBandwidth, U"right Delta bandwidth range", U"1")
98
99 static void KlattGrid_formantSelection_couplingcxx . . $ KlattGrid_formantSelection_coupling(682c94223473b5a2). (KlattGridcxx . . $ KlattGrid# me, integercxx . . $ integer# fromTrachealFormant, integercxx . . $ integer# toTrachealFormant,
100 integercxx . . $ integer# fromTrachealAntiFormant, integercxx . . $ integer# toTrachealAntiFormant, integercxx . . $ integer# fromDeltaFormant, integercxx . . $ integer# toDeltaFormant,
101 integercxx . . $ integer# fromDeltaBandwidth, integercxx . . $ integer# toDeltaBandwidth)
102 {
103 CouplingGridPlayOptionscxx . . $ CouplingGridPlayOptions# pc = mycxx . . $ `melder/melder.h:44:9`! couplingcxx . . $ structKlattGrid#coupling. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). optionscxx . . $ structCouplingGrid#options..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
104 pc -> startTrachealFormantcxx . . $ structCouplingGridPlayOptions#startTrachealFormant. = fromTrachealFormant;
105 pc -> endTrachealFormantcxx . . $ structCouplingGridPlayOptions#endTrachealFormant. = toTrachealFormant;
106 pc -> startTrachealAntiFormantcxx . . $ structCouplingGridPlayOptions#startTrachealAntiFormant. = fromTrachealAntiFormant;
107 pc -> endTrachealAntiFormantcxx . . $ structCouplingGridPlayOptions#endTrachealAntiFormant. = toTrachealAntiFormant;
108 pc -> startDeltaFormantcxx . . $ structCouplingGridPlayOptions#startDeltaFormant. = fromDeltaFormant;
109 pc -> endDeltaFormantcxx . . $ structCouplingGridPlayOptions#endDeltaFormant. = toDeltaFormant;
110 pc -> startDeltaBandwidthcxx . . $ structCouplingGridPlayOptions#startDeltaBandwidth. = fromDeltaBandwidth;
111 pc -> endDeltaFormantcxx . . $ structCouplingGridPlayOptions#endDeltaFormant. = toDeltaBandwidth;
112 }
113
114 #define KlattGrid_formantSelection_frication_commonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:114:9`!(fromFricationFormant,toFricationFormant,useFricationBypass) \
115 INTEGERcxx . . $ `sys/praatM.h:108:9`! (fromFricationFormant, U"left Frication formant range", U"1") \
116 INTEGERcxx . . $ `sys/praatM.h:108:9`! (toFricationFormant, U"right Frication formant range", U"6") \
117 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (useFricationBypass, U"Frication bypass", true)
118
119 static void KlattGrid_formantSelection_fricationcxx . . $ KlattGrid_formantSelection_frication(8b6496201641fe47). (KlattGridcxx . . $ KlattGrid# me, integercxx . . $ integer# fromFricationFormant, integercxx . . $ integer# toFricationFormant, int useFricationBypass) {
120 FricationGridPlayOptionscxx . . $ FricationGridPlayOptions# pf = mycxx . . $ `melder/melder.h:44:9`! fricationcxx . . $ structKlattGrid#frication. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). optionscxx . . $ structFricationGrid#options..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
121 pf -> startFricationFormantcxx . . $ structFricationGridPlayOptions#startFricationFormant. = fromFricationFormant;
122 pf -> endFricationFormantcxx . . $ structFricationGridPlayOptions#endFricationFormant. = toFricationFormant;
123 pf -> bypasscxx . . $ structFricationGridPlayOptions#bypass. = useFricationBypass;
124 }
125
126 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CREATE_ONE__KlattGrid_createExample) {
127 CREATE_ONEcxx . . $ `sys/praatM.h:485:9`!
128 autoKlattGridcxx . . $ autoKlattGrid# result = KlattGrid_createExamplecxx . . $ KlattGrid_createExample(cb75463099c377fa).();
129 CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (U"example")
130 }
131
132 FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__KlattGrid_createFromVowel, U"Create KlattGrid from vowel", U"Create KlattGrid from vowel...") {
133 WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"a")
134 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (duration, U"Duration (s)", U"0.4")
135 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (f0start, U"Pitch (Hz)", U"125.0")
136 REALcxx . . $ `sys/praatM.h:92:9`! (f1, U"F1 (Hz)", U"800.0")
137 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (b1, U"B1 (Hz)", U"50.0")
138 REALcxx . . $ `sys/praatM.h:92:9`! (f2, U"F2 (Hz)", U"1200.0")
139 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (b2, U"B2 (Hz)", U"50.0")
140 REALcxx . . $ `sys/praatM.h:92:9`! (f3, U"F3 (Hz)", U"2300.0")
141 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (b3, U"B3 (Hz)", U"100.0")
142 REALcxx . . $ `sys/praatM.h:92:9`! (f4, U"F4 (Hz)", U"2800.0")
143 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (bandWidthFraction, U"Bandwidth fraction", U"0.05")
144 REALcxx . . $ `sys/praatM.h:92:9`! (formantFrequencyInterval, U"Formant frequency interval (Hz)", U"1000.0")
145 OKcxx . . $ `sys/praatM.h:327:9`!
146 DOcxx . . $ `sys/praatM.h:354:9`!
147 CREATE_ONEcxx . . $ `sys/praatM.h:485:9`!
148 autoKlattGridcxx . . $ autoKlattGrid# result = KlattGrid_createFromVowelcxx . . $ KlattGrid_createFromVowel(75833dcfdf630c3d). (duration, f0start, f1, b1, f2, b2, f3, b3, f4, bandWidthFraction, formantFrequencyInterval);
149 CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name)
150 }
151
152 FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__KlattGrid_create, U"Create KlattGrid", U"Create KlattGrid...") {
153 WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"kg")
154 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"Start time (s)", U"0.0")
155 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"End time (s)", U"1.0")
156 INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfOralFormants, U"Number of oral formants", U"6")
157 INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfNasalFormants, U"Number of nasal formants", U"1")
158 INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfNasalAntiFormants, U"Number of nasal antiformants", U"1")
159 INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfFricationFormants, U"Number of frication formants", U"6")
160 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Coupling between source and filter")
161 INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfTrachealFormants, U"Number of tracheal formants", U"1")
162 INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfTrachealAntiFormants, U"Number of tracheal antiformants", U"1")
163 INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfDeltaFormants, U"Number of delta formants", U"1")
164 OKcxx . . $ `sys/praatM.h:327:9`!
165 DOcxx . . $ `sys/praatM.h:354:9`!
166 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (fromTime < toTime,
167 U"The start time must lie before the end time.");
168 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (numberOfOralFormants >= 0 && numberOfNasalFormants >= 0 && numberOfNasalAntiFormants >= 0
169 && numberOfTrachealFormants >= 0 && numberOfTrachealAntiFormants >= 0
170 && numberOfFricationFormants >= 0 && numberOfDeltaFormants >= 0,
171 U"No number of formants should be negative.");
172 CREATE_ONEcxx . . $ `sys/praatM.h:485:9`!
173 autoKlattGridcxx . . $ autoKlattGrid# result = KlattGrid_createcxx . . $ KlattGrid_create(f5096f7ce2feecc). (fromTime, toTime, numberOfOralFormants, numberOfNasalFormants, numberOfNasalAntiFormants, numberOfTrachealFormants, numberOfTrachealAntiFormants, numberOfFricationFormants, numberOfDeltaFormants);
174 CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name)
175 }
176
177 #define KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`!(Name, name) \
178 DIRECT (EDITOR_ONE_KlattGrid_edit##Name##Tier) { \
179 EDITOR_ONEcxx . . $ `sys/praatM.h:1327:9`! (a,KlattGrid) \
180 conststring32 id_and_name = Melder_cat (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, U": " #name); \
181 autoKlattGrid_##Name##TierEditor editor = KlattGrid_##Name##TierEditor_create (id_and_name, me); \
182 EDITOR_ONE_ENDcxx . . $ `sys/praatM.h:1331:9`! \
183 }
184
185 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (Pitch, pitch)
186 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (VoicingAmplitude, voicing amplitude)
187 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (Flutter, flutter)
188 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (Power1, power1)
189 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (Power2, power2)
190 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (OpenPhase, open phase)
191 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (CollisionPhase, collision phase)
192 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (DoublePulsing, double pulsing)
193 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (AspirationAmplitude, aspiration amplitude)
194 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (BreathinessAmplitude, breathiness amplitude)
195 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (SpectralTilt, spectral tilt)
196
197 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (FricationBypass, frication bypass)
198 KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`! (FricationAmplitude, frication amplitude)
199
200 #undef KlattGrid_INSTALL_TIER_EDITORcxx . . $ `dwtools/praat_KlattGrid_init.cpp:177:9`!
201
202 #define KlattGRID_EDIT_FORMANTGRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:202:9`!(Name,formantType) \
203 DIRECT (EDITOR_ONE_KlattGrid_edit##Name##FormantGrid) { \
204 EDITOR_ONEcxx . . $ `sys/praatM.h:1327:9`! (a,KlattGrid) \
205 conststring32 id_and_name = Melder_cat (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, U": ", KlattGrid_getFormantName (formantType), U" grid"); \
206 autoKlattGrid_FormantGridEditor editor = KlattGrid_FormantGridEditor_create (id_and_name, me, formantType); \
207 EDITOR_ONE_ENDcxx . . $ `sys/praatM.h:1331:9`! \
208 }
209
210 KlattGRID_EDIT_FORMANTGRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:202:9`! (Oral, kKlattGridFormantType::ORAL)
211 KlattGRID_EDIT_FORMANTGRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:202:9`! (Nasal, kKlattGridFormantType::NASAL)
212 KlattGRID_EDIT_FORMANTGRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:202:9`! (Tracheal, kKlattGridFormantType::TRACHEAL)
213 KlattGRID_EDIT_FORMANTGRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:202:9`! (NasalAnti, kKlattGridFormantType::NASAL_ANTI)
214 KlattGRID_EDIT_FORMANTGRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:202:9`! (TrachealAnti, kKlattGridFormantType::TRACHEAL_ANTI)
215 KlattGRID_EDIT_FORMANTGRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:202:9`! (Delta, kKlattGridFormantType::DELTA)
216 KlattGRID_EDIT_FORMANTGRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:202:9`! (Frication, kKlattGridFormantType::FRICATION)
217
218 #undef KlattGRID_EDIT_FORMANTGRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:202:9`!
219
220 #define KlattGrid_EDIT_FORMANT_AMPLITUDE_TIERcxx . . $ `dwtools/praat_KlattGrid_init.cpp:220:9`!(Name,name,formantType) \
221 FORM (EDITOR_ONE_KlattGrid_edit##Name##FormantAmplitudeTier, U"KlattGrid: View & Edit " #name " formant amplitude tier", nullptr) { \
222 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
223 OKcxx . . $ `sys/praatM.h:327:9`! \
224 DO \
225 EDITOR_ONEcxx . . $ `sys/praatM.h:1327:9`! (a,KlattGrid) \
226 OrderedOf<structIntensityTier>* amp = KlattGrid_getAddressOfAmplitudes (me, formantType); \
227 if (! amp) \
228 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Unknown formant type"); \
229 if (formantNumber > amp->size) \
230 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Formant number does not exist."); \
231 conststring32 id_and_name = Melder_cat (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, U": ", KlattGrid_getFormantName (formantType), U" amplitude tier"); \
232 autoKlattGrid_DecibelTierEditor editor = KlattGrid_DecibelTierEditor_create (id_and_name, me, \
233 formantType, formantNumber); \
234 EDITOR_ONE_ENDcxx . . $ `sys/praatM.h:1331:9`! \
235 }
236
237 KlattGrid_EDIT_FORMANT_AMPLITUDE_TIERcxx . . $ `dwtools/praat_KlattGrid_init.cpp:220:9`! (Oral, oral, kKlattGridFormantType::ORAL)
238 KlattGrid_EDIT_FORMANT_AMPLITUDE_TIERcxx . . $ `dwtools/praat_KlattGrid_init.cpp:220:9`! (Nasal, nasal, kKlattGridFormantType::NASAL)
239 KlattGrid_EDIT_FORMANT_AMPLITUDE_TIERcxx . . $ `dwtools/praat_KlattGrid_init.cpp:220:9`! (Tracheal, tracheal, kKlattGridFormantType::TRACHEAL)
240 KlattGrid_EDIT_FORMANT_AMPLITUDE_TIERcxx . . $ `dwtools/praat_KlattGrid_init.cpp:220:9`! (Frication, frication, kKlattGridFormantType::FRICATION)
241
242 #undef KlattGrid_EDIT_FORMANT_AMPLITUDE_TIERcxx . . $ `dwtools/praat_KlattGrid_init.cpp:220:9`!
243
244 #define KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`!(Name,name,unit,default,requireCondition,requireMessage,newname,tiertype) \
245 FORM (QUERY_ONE_FOR_REAL__KlattGrid_get##Name##AtTime, U"KlattGrid: Get " #name " at time", nullptr) { \
246 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time", U"0.5") \
247 OKcxx . . $ `sys/praatM.h:327:9`! \
248 DO \
249 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (KlattGrid) \
250 const double result = KlattGrid_get##Name##AtTime (me, time); \
251 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (unit) \
252 } \
253 FORM (MODIFY_KlattGrid_add##Name##Point, U"KlattGrid: Add " #name " point", nullptr) { \
254 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5") \
255 REALcxx . . $ `sys/praatM.h:92:9`! (value, U"Value" unit, default) \
256 OKcxx . . $ `sys/praatM.h:327:9`! \
257 DO \
258 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (requireCondition, requireMessage); \
259 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
260 KlattGrid_add##Name##Point (me, time, value); \
261 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
262 } \
263 FORM (MODIFY_KlattGrid_remove##Name##Points, U"Remove " #name " points", nullptr) { \
264 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"From time (s)", U"0.3") \
265 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"To time (s)", U"0.7") \
266 OKcxx . . $ `sys/praatM.h:327:9`! \
267 DO \
268 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
269 KlattGrid_remove##Name##Points (me, fromTime, toTime); \
270 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
271 } \
272 DIRECT (CONVERT_EACH_TO_ONE__KlattGrid_extract##Name##Tier) { \
273 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid) \
274 autoDaata result = KlattGrid_extract##Name##Tier (me); \
275 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (newname) \
276 } \
277 DIRECT (MODIFY_KlattGrid_replace##Name##Tier) { \
278 MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (KlattGrid, tiertype); \
279 KlattGrid_replace##Name##Tier (me, you); \
280 MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! \
281 }
282
283 // 55 DO_KlattGrid... functions
284 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (Pitch, pitch, U" (Hz)", (U"100.0"),
285 (value >= 0.0), (U"Pitch should be greater equal zero."), U"f0", PitchTier)
286 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (VoicingAmplitude, voicing amplitude, U" (dB SPL)", U"90.0",
287 (1), U"", U"voicing", IntensityTier)
288 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (Flutter, flutter, U" (0..1)", (U"0.0"),
289 (value >= 0.0 && value <= 1.0), (U"Flutter should be in [0, 1]."), U"flutter", RealTier)
290 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (Power1, power1, U"", U"3",
291 (value > 0.0), U"Power1 needs to be positive.", U"power1", RealTier)
292 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (Power2, power2, U"", U"4",
293 (value > 0.0), U"Power2 needs to be positive.", U"power2", RealTier)
294 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (OpenPhase, open phase, U"", U"0.7",
295 (value >= 0.0 && value <= 1.0), U"Open phase should be greater than zero and smaller equal one.", U"openPhase", RealTier)
296 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (CollisionPhase, collision phase, U"", U"0.03",
297 (value >= 0.0 && value < 1.0), U"Collision phase should be greater equal zero and smaller than one.", U"collisionPhase", RealTier)
298 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (DoublePulsing, double pulsing, U" (0..1)", U"0.0",
299 (value >= 0.0 && value <= 1.0), U"Double pulsing should be greater equal zero and smaller equal one.", U"doublePulsing", RealTier)
300 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (SpectralTilt, spectral tilt, U" (dB)", U"0.0",
301 (value >= 0.0), U"Spectral tilt should be greater equal zero.", U"spectralTilt", IntensityTier)
302 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (AspirationAmplitude, aspiration amplitude, U" (dB SPL)", U"0.0",
303 (true), U"", U"aspiration", IntensityTier)
304 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (BreathinessAmplitude, breathiness amplitude, U" (dB SPL)", U"30.0",
305 (true), U"", U"breathiness", IntensityTier)
306
307 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (FricationAmplitude, frication amplitude, U" (dB SPL)", U"30.0",
308 (true), U"", U"frication", IntensityTier)
309 KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`! (FricationBypass, frication bypass, U" (dB)", U"30.0",
310 (true), U"", U"bypass", IntensityTier)
311
312 #undef KlattGrid_PHONATION_GET_ADD_REMOVE_EXTRACT_REPLACEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:244:9`!
313
314 #define KlattGrid_FORMULA_FORMANT_FBA_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:314:9`!(Name,namef,ForBs,forbs,textfield,formantType,label) \
315 FORM (MODIFY_KlattGrid_formula##Name##Formant##ForBs, U"KlattGrid: Formula (" #namef "ormant " #forbs ")", U"Formant: Formula (" #forbs ")...") { \
316 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"row is formant number, col is point number:\nfor row from 1 to nrow do for col from 1 to ncol do " #ForBs " (row, col) :=") \
317 FORMULAcxx . . $ `sys/praatM.h:148:9`! (formula, U"Formula", textfield) \
318 OKcxx . . $ `sys/praatM.h:327:9`! \
319 DO \
320 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
321 KlattGrid_formula_##forbs (me, formantType, formula, interpreter); \
322 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
323 }
324
325 #define KlattGrid_ADD_FBA_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:325:9`!(Name,namef,Form,FBA,fba,formantType,default,unit,requireCondition,requireMessage) \
326 FORM (MODIFY_KlattGrid_add##Name##Formant##FBA##Point, U"KlattGrid: Add " #namef "ormant " #fba " point", nullptr) { \
327 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
328 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5") \
329 REALcxx . . $ `sys/praatM.h:92:9`! (value, U"Value " #unit, default) \
330 OKcxx . . $ `sys/praatM.h:327:9`! \
331 DO \
332 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (requireCondition, requireMessage); \
333 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
334 KlattGrid_add##Form##Point (me, formantType, formantNumber, time, value); \
335 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
336 }
337
338 #define KlattGrid_REMOVE_FBA_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:338:9`!(Name,namef,Form,FBA,fba,formantType) \
339 FORM (MODIFY_KlattGrid_remove##Name##Formant##FBA##Points, U"KlattGrid: Remove " #namef "ormant " #fba " points", nullptr) { \
340 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
341 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"From time (s)", U"0.3")\
342 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"To time (s)", U"0.7") \
343 OKcxx . . $ `sys/praatM.h:327:9`! \
344 DO \
345 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
346 KlattGrid_remove##Form##Points (me, formantType, formantNumber, fromTime, toTime); \
347 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
348 }
349
350 #define KlattGrid_ADD_FORMANTcxx . . $ `dwtools/praat_KlattGrid_init.cpp:350:9`!(Name,namef,formantType) \
351 FORM (MODIFY_KlattGrid_add##Name##Formant, U"KlattGrid: Add " #namef "ormant", nullptr) { \
352 INTEGERcxx . . $ `sys/praatM.h:108:9`! (position, U"Position", U"0 (= at end)") \
353 OKcxx . . $ `sys/praatM.h:327:9`! \
354 DO \
355 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
356 KlattGrid_addFormant (me, formantType, position); \
357 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
358 }
359
360 #define KlattGrid_REMOVE_FORMANTcxx . . $ `dwtools/praat_KlattGrid_init.cpp:360:9`!(Name,namef,formantType) \
361 FORM (MODIFY_KlattGrid_remove##Name##Formant, U"KlattGrid: Remove " #namef "ormant", nullptr) { \
362 INTEGERcxx . . $ `sys/praatM.h:108:9`! (position, U"Position", U"0 (= do nothing)") \
363 OKcxx . . $ `sys/praatM.h:327:9`! \
364 DO \
365 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
366 KlattGrid_removeFormant (me, formantType, position); \
367 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
368 }
369
370 #define KlattGrid_ADD_FORMANT_FREQUENCYANDBANDWIDTHTIERScxx . . $ `dwtools/praat_KlattGrid_init.cpp:370:9`!(Name,namef,formantType) \
371 FORM (MODIFY_KlattGrid_add##Name##FormantFrequencyAndBandwidthTiers, U"KlattGrid: Add " #namef "ormant", nullptr) { \
372 INTEGERcxx . . $ `sys/praatM.h:108:9`! (position, U"Position", U"0 (= at end)") \
373 OKcxx . . $ `sys/praatM.h:327:9`! \
374 DO \
375 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
376 KlattGrid_addFormantFrequencyAndBandwidthTiers (me, formantType, position); \
377 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
378 }
379
380 #define KlattGrid_REMOVE_FORMANT_FREQUENCYANDBANDWIDTHTIERScxx . . $ `dwtools/praat_KlattGrid_init.cpp:380:9`!(Name,namef,formantType) \
381 FORM (MODIFY_KlattGrid_remove##Name##FormantFrequencyAndBandwidthTiers, U"KlattGrid: Remove " #namef "ormant", nullptr) { \
382 INTEGERcxx . . $ `sys/praatM.h:108:9`! (position, U"Position", U"0 (= at end)") \
383 OKcxx . . $ `sys/praatM.h:327:9`! \
384 DO \
385 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
386 KlattGrid_removeFormantFrequencyAndBandwidthTiers (me, formantType, position); \
387 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
388 }
389
390 #define KlattGrid_ADD_FORMANT_AMPLITUDETIERcxx . . $ `dwtools/praat_KlattGrid_init.cpp:390:9`!(Name,namef,formantType) \
391 FORM (MODIFY_KlattGrid_add##Name##FormantAmplitudeTier, U"KlattGrid: Add " #namef "ormant amplitude tier", nullptr) { \
392 INTEGERcxx . . $ `sys/praatM.h:108:9`! (position, U"Position", U"0 (= at end)") \
393 OKcxx . . $ `sys/praatM.h:327:9`! \
394 DO \
395 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
396 KlattGrid_addFormantAmplitudeTier (me, formantType, position); \
397 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
398 }
399
400 #define KlattGrid_REMOVE_FORMANT_AMPLITUDETIERcxx . . $ `dwtools/praat_KlattGrid_init.cpp:400:9`!(Name,namef,formantType) \
401 FORM (MODIFY_KlattGrid_remove##Name##FormantAmplitudeTier, U"KlattGrid: Remove " #namef "ormant amplitude tier", nullptr) { \
402 INTEGERcxx . . $ `sys/praatM.h:108:9`! (position, U"Position", U"0 (= at end)") \
403 OKcxx . . $ `sys/praatM.h:327:9`! \
404 DO \
405 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid); \
406 KlattGrid_removeFormant (me, formantType, position); \
407 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
408 }
409
410 #define KlattGrid_FORMULA_ADD_REMOVE_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:410:9`!(Name,namef,formantType) \
411 KlattGrid_FORMULA_FORMANT_FBA_VALUE (Name, namef, Frequencies, frequencies, U"if row = 2 then self + 200 else self fi", formantType, U" ") \
412 KlattGrid_FORMULA_FORMANT_FBA_VALUE (Name, namef, Bandwidths, bandwidths, U"self / 10 ; 10% of frequency", formantType, U"Warning: self is formant frequency.") \
413 KlattGrid_ADD_FBA_VALUE (Name, namef, Formant, Frequency, frequency, formantType, U"500.0", (Hz), (value > 0.0), U"Frequency should be greater than zero.") \
414 KlattGrid_ADD_FBA_VALUE (Name, namef, Bandwidth, Bandwidth, bandwidth, formantType, U"50.0", (Hz), (value > 0.0), U"Bandwidth should be greater than zero.") \
415 KlattGrid_ADD_FBA_VALUE (Name, namef, Amplitude, Amplitude, amplitude, formantType, U"0.0", (dB), (isdefined (value)), U"Amplitude should be defined.") \
416 KlattGrid_REMOVE_FBA_VALUE (Name, namef, Formant, Frequency, frequency, formantType) \
417 KlattGrid_REMOVE_FBA_VALUE (Name, namef, Bandwidth, Bandwidth, bandwidth, formantType) \
418 KlattGrid_REMOVE_FBA_VALUE (Name, namef, Amplitude, Amplitude, amplitude, formantType) \
419 KlattGrid_ADD_FORMANT (Name, namef, formantType) \
420 KlattGrid_ADD_FORMANT_FREQUENCYANDBANDWIDTHTIERS (Name, namef, formantType) \
421 KlattGrid_REMOVE_FORMANT_FREQUENCYANDBANDWIDTHTIERS (Name, namef, formantType) \
422 KlattGrid_REMOVE_FORMANT_AMPLITUDETIER (Name, namef, formantType) \
423 KlattGrid_REMOVE_FORMANT (Name, namef, formantType) \
424 KlattGrid_ADD_FORMANT_AMPLITUDETIER (Name, namef, formantType)
425
426 #define KlattGrid_FORMULA_ADD_REMOVE_FBcxx . . $ `dwtools/praat_KlattGrid_init.cpp:426:9`!(Name,namef,formantType) \
427 KlattGrid_FORMULA_FORMANT_FBA_VALUE (Name, namef, Frequencies, frequencies, U"if row = 2 then self + 200 else self fi",formantType, U" ") \
428 KlattGrid_FORMULA_FORMANT_FBA_VALUE (Name, namef, Bandwidths, bandwidths, U"self / 10 ; 10% of frequency",formantType, U"Warning: self is formant frequency.") \
429 KlattGrid_ADD_FBA_VALUE (Name, namef, Formant,Frequency, frequency, formantType, U"500.0", (Hz), (value > 0.0), U"Frequency should be greater than zero.") \
430 KlattGrid_ADD_FBA_VALUE (Name, namef, Bandwidth, Bandwidth, bandwidth, formantType, U"50.0", (Hz), (value > 0.0), U"Bandwidth should be greater than zero.") \
431 KlattGrid_REMOVE_FBA_VALUE (Name, namef, Formant, Frequency, frequency, formantType) \
432 KlattGrid_REMOVE_FBA_VALUE (Name, namef, Bandwidth, Bandwidth, bandwidth, formantType) \
433 KlattGrid_ADD_FORMANT(Name,namef,formantType) \
434 KlattGrid_ADD_FORMANT_FREQUENCYANDBANDWIDTHTIERS (Name, namef, formantType) \
435 KlattGrid_REMOVE_FORMANT_FREQUENCYANDBANDWIDTHTIERS (Name, namef, formantType) \
436 KlattGrid_REMOVE_FORMANT (Name, namef, formantType)
437
438 #define KlattGrid_FORMULA_ADD_REMOVE_FB_DELTAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:438:9`!(Name,namef,formantType) \
439 KlattGrid_FORMULA_FORMANT_FBA_VALUE (Name, namef, Frequencies, frequencies, U"if row = 2 then self + 200 else self fi",formantType, U" ") \
440 KlattGrid_FORMULA_FORMANT_FBA_VALUE (Name, namef, Bandwidths, bandwidths, U"self / 10 ; 10% of frequency",formantType, U"Warning: self is formant frequency.") \
441 KlattGrid_ADD_FBA_VALUE (Name, namef, Formant,Frequency, frequency, formantType, U"-100.0", (Hz), (isdefined (value)), U"Frequency should be defined.") \
442 KlattGrid_ADD_FBA_VALUE (Name, namef, Bandwidth, Bandwidth, bandwidth, formantType, U"-50.0", (Hz), (isdefined (value)), U"Bandwidth should be defined.") \
443 KlattGrid_REMOVE_FBA_VALUE (Name, namef, Formant, Frequency, frequency, formantType) \
444 KlattGrid_REMOVE_FBA_VALUE (Name, namef, Bandwidth, Bandwidth, bandwidth, formantType) \
445 KlattGrid_ADD_FORMANT_FREQUENCYANDBANDWIDTHTIERS (Name, namef, formantType) \
446 KlattGrid_REMOVE_FORMANT_FREQUENCYANDBANDWIDTHTIERS (Name, namef, formantType) \
447 KlattGrid_ADD_FORMANT (Name, namef, formantType) \
448 KlattGrid_REMOVE_FORMANT (Name, namef, formantType)
449
450 KlattGrid_FORMULA_ADD_REMOVE_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:410:9`! (Oral, oral f, kKlattGridFormantType::ORAL)
451 KlattGrid_FORMULA_ADD_REMOVE_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:410:9`! (Nasal, nasal f, kKlattGridFormantType::NASAL)
452 KlattGrid_FORMULA_ADD_REMOVE_FBcxx . . $ `dwtools/praat_KlattGrid_init.cpp:426:9`! (NasalAnti, nasal antif, kKlattGridFormantType::NASAL_ANTI)
453 KlattGrid_FORMULA_ADD_REMOVE_FB_DELTAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:438:9`! (Delta, delta f, kKlattGridFormantType::DELTA)
454 KlattGrid_FORMULA_ADD_REMOVE_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:410:9`! (Tracheal, tracheal f, kKlattGridFormantType::TRACHEAL)
455 KlattGrid_FORMULA_ADD_REMOVE_FBcxx . . $ `dwtools/praat_KlattGrid_init.cpp:426:9`! (TrachealAnti, tracheal antif, kKlattGridFormantType::TRACHEAL_ANTI)
456 KlattGrid_FORMULA_ADD_REMOVE_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:410:9`! (Frication, frication f, kKlattGridFormantType::FRICATION)
457
458 #undef KlattGrid_FORMULA_ADD_REMOVE_FBcxx . . $ `dwtools/praat_KlattGrid_init.cpp:426:9`!
459 #undef KlattGrid_FORMULA_ADD_REMOVE
460 #undef KlattGrid_ADD_FORMANT_AND_BANDWDTH_TIER
461 #undef KlattGrid_REMOVE_FBA_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:338:9`!
462 #undef KlattGrid_ADD_FBA_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:325:9`!
463 #undef KlattGrid_FORMULA_FORMANT_FB_VALUE
464
465 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__KlattGrid_extractPointProcess_glottalClosures) {
466 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid)
467 autoPointProcesscxx . . $ autoPointProcess# result = KlattGrid_extractPointProcess_glottalClosurescxx . . $ KlattGrid_extractPointProcess_glottalClosures(81aa0b496172520f). (me);
468 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
469 }
470
471 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_KlattGrid_formula_frequencies, U"KlattGrid: Formula (frequencies)", U"Formant: Formula (frequencies)...") {
472 KlattGrid_6formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:34:9`! (formantType)
473 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"row is formant number, col is point number: for row from 1 to nrow do for col from 1 to ncol do F (row, col) :=")
474 FORMULAcxx . . $ `sys/praatM.h:148:9`! (formula, U"Formula", U"if row = 2 then self + 200 else self fi")
475 OKcxx . . $ `sys/praatM.h:327:9`!
476 DOcxx . . $ `sys/praatM.h:354:9`!
477 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid)
478 KlattGrid_formula_frequenciescxx . . $ KlattGrid_formula_frequencies(178948df15e21bc). (me, formantType, formula, interpreter);
479 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
480 }
481
482 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_KlattGrid_formula_bandwidths, U"KlattGrid: Formula (bandwidths)", U"Formant: Formula (bandwidths)...") {
483 KlattGrid_6formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:34:9`! (formantType)
484 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"row is formant number, col is point number: for row from 1 to nrow do for col from 1 to ncol do F (row, col) :=")
485 FORMULAcxx . . $ `sys/praatM.h:148:9`! (formula, U"Formula", U"if row = 2 then self + 200 else self fi")
486 OKcxx . . $ `sys/praatM.h:327:9`!
487 DOcxx . . $ `sys/praatM.h:354:9`!
488 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid)
489 KlattGrid_formula_bandwidthscxx . . $ KlattGrid_formula_bandwidths(178948df15e21bc). (me, formantType, formula, interpreter);
490 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
491 }
492
493 /*
494 Generate 18 commands on the pattern
495 "Get oral/nasal/tracheal/delta/frication (anti)formant frequency/bandwidth/amplitude at time..."
496 */
497 #define KlattGrid_FORMANT_GET_F_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:497:9`!(Name,name,formantType) \
498 FORM (QUERY_ONE_FOR_REAL__KlattGrid_get##Name##FormantFrequencyAtTime, U"KlattGrid: Get " #name " frequency at time", nullptr) { \
499 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
500 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5") \
501 OKcxx . . $ `sys/praatM.h:327:9`! \
502 DO \
503 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (KlattGrid); \
504 const double result = KlattGrid_getFormantAtTime (me, formantType, formantNumber, time); \
505 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Hz"); \
506 }
507 #define KlattGrid_FORMANT_GET_B_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:507:9`!(Name,name,formantType) \
508 FORM (QUERY_ONE_FOR_REAL__KlattGrid_get##Name##FormantBandwidthAtTime, U"KlattGrid: Get " #name " bandwidth at time", nullptr) { \
509 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
510 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5") \
511 OKcxx . . $ `sys/praatM.h:327:9`! \
512 DO \
513 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (KlattGrid); \
514 const double result = KlattGrid_getBandwidthAtTime (me, formantType, formantNumber, time); \
515 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Hz"); \
516 }
517 #define KlattGrid_FORMANT_GET_A_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:517:9`!(Name,name,formantType) \
518 FORM (QUERY_ONE_FOR_REAL__KlattGrid_get##Name##FormantAmplitudeAtTime, U"KlattGrid: Get " #name " amplitude at time", nullptr) { \
519 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
520 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5") \
521 OKcxx . . $ `sys/praatM.h:327:9`! \
522 DO \
523 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (KlattGrid); \
524 const double result = KlattGrid_getAmplitudeAtTime (me, formantType, formantNumber, time); \
525 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" dB"); \
526 }
527 #define KlattGrid_FORMANT_GET_FB_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:527:9`!(Name,name,formantType) \
528 KlattGrid_FORMANT_GET_F_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:497:9`! (Name, name, formantType) \
529 KlattGrid_FORMANT_GET_B_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:507:9`! (Name, name, formantType)
530 #define KlattGrid_FORMANT_GET_FBA_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:530:9`!(Name,name,formantType) \
531 KlattGrid_FORMANT_GET_FB_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:527:9`! (Name, name, formantType) \
532 KlattGrid_FORMANT_GET_A_VALUEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:517:9`! (Name, name, formantType)
533 KlattGrid_FORMANT_GET_FBA_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:530:9`! (Oral, oral formant, kKlattGridFormantType::ORAL)
534 KlattGrid_FORMANT_GET_FBA_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:530:9`! (Nasal, nasal formant, kKlattGridFormantType::NASAL)
535 KlattGrid_FORMANT_GET_FB_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:527:9`! (NasalAnti, nasal antiformant, kKlattGridFormantType::NASAL_ANTI)
536 KlattGrid_FORMANT_GET_FBA_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:530:9`! (Tracheal, tracheal formant, kKlattGridFormantType::TRACHEAL)
537 KlattGrid_FORMANT_GET_FB_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:527:9`! (Delta, delta formant, kKlattGridFormantType::DELTA)
538 KlattGrid_FORMANT_GET_FB_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:527:9`! (TrachealAnti, tracheal antiformant, kKlattGridFormantType::TRACHEAL_ANTI)
539 KlattGrid_FORMANT_GET_FBA_VALUEScxx . . $ `dwtools/praat_KlattGrid_init.cpp:530:9`! (Frication, frication formant, kKlattGridFormantType::FRICATION)
540
541
542 #define KlattGrid_EXTRACT_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:542:9`!(Name,gridType) \
543 DIRECT (CONVERT_EACH_TO_ONE__KlattGrid_extract##Name##FormantGrid) { \
544 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid) \
545 autoFormantGrid result = KlattGrid_extractFormantGrid (me, gridType); \
546 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (KlattGrid_getFormantName (gridType)) \
547 }
548
549 #define KlattGrid_EXTRACT_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:549:9`!(Name,name,formantType) \
550 FORM (CONVERT_EACH_TO_ONE__KlattGrid_extract##Name##FormantAmplitudeTier, U"KlattGrid: Extract " #name " formant amplitude tier", nullptr) { \
551 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
552 OKcxx . . $ `sys/praatM.h:327:9`! \
553 DO \
554 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid) \
555 autoIntensityTier result = KlattGrid_extractAmplitudeTier (me, formantType, formantNumber); \
556 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (KlattGrid_getFormantName (formantType)) \
557 }
558
559 KlattGrid_EXTRACT_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:542:9`! (Oral, kKlattGridFormantType::ORAL)
560 KlattGrid_EXTRACT_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:549:9`! (Oral, oral, kKlattGridFormantType::ORAL)
561 KlattGrid_EXTRACT_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:542:9`! (Nasal, kKlattGridFormantType::NASAL)
562 KlattGrid_EXTRACT_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:549:9`! (Nasal, nasal, kKlattGridFormantType::NASAL)
563 KlattGrid_EXTRACT_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:542:9`! (Frication, kKlattGridFormantType::FRICATION)
564 KlattGrid_EXTRACT_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:549:9`! (Frication, frication, kKlattGridFormantType::FRICATION)
565 KlattGrid_EXTRACT_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:542:9`! (Tracheal, kKlattGridFormantType::TRACHEAL)
566 KlattGrid_EXTRACT_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:549:9`! (Tracheal, tracheal, kKlattGridFormantType::TRACHEAL)
567 KlattGrid_EXTRACT_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:542:9`! (NasalAnti, kKlattGridFormantType::NASAL_ANTI)
568 KlattGrid_EXTRACT_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:542:9`! (TrachealAnti, kKlattGridFormantType::TRACHEAL_ANTI)
569 KlattGrid_EXTRACT_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:542:9`! (Delta, kKlattGridFormantType::DELTA)
570
571 #undef KlattGrid_EXTRACT_FORMANTGRID
572
573 #define KlattGrid_REPLACE_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:573:9`!(Name,formantType) \
574 DIRECT (MODIFY_KlattGrid_replace##Name##FormantGrid) { \
575 MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (KlattGrid, FormantGrid); \
576 KlattGrid_replaceFormantGrid (me, formantType, you); \
577 MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! \
578 }
579
580 #define KlattGrid_REPLACE_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:580:9`!(Name,name,formantType) \
581 FORM (MODIFY_KlattGrid_replace##Name##FormantAmplitudeTier, U"KlattGrid: Replace " #name " formant amplitude tier", nullptr) { \
582 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
583 OKcxx . . $ `sys/praatM.h:327:9`! \
584 DO \
585 MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (KlattGrid, IntensityTier); \
586 KlattGrid_replaceAmplitudeTier (me, formantType, formantNumber, you); \
587 MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`! \
588 }
589
590 KlattGrid_REPLACE_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:573:9`! (Oral, kKlattGridFormantType::ORAL)
591 KlattGrid_REPLACE_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:580:9`! (Oral, oral, kKlattGridFormantType::ORAL)
592 KlattGrid_REPLACE_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:573:9`! (Nasal, kKlattGridFormantType::NASAL)
593 KlattGrid_REPLACE_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:580:9`! (Nasal, nasal, kKlattGridFormantType::NASAL)
594 KlattGrid_REPLACE_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:573:9`! (NasalAnti, kKlattGridFormantType::NASAL_ANTI)
595 KlattGrid_REPLACE_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:573:9`! (Tracheal, kKlattGridFormantType::TRACHEAL)
596 KlattGrid_REPLACE_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:580:9`! (Tracheal, tracheal, kKlattGridFormantType::TRACHEAL)
597 KlattGrid_REPLACE_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:573:9`! (TrachealAnti, kKlattGridFormantType::TRACHEAL_ANTI)
598 KlattGrid_REPLACE_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:573:9`! (Delta, kKlattGridFormantType::DELTA)
599 KlattGrid_REPLACE_FORMANT_GRIDcxx . . $ `dwtools/praat_KlattGrid_init.cpp:573:9`! (Frication, kKlattGridFormantType::FRICATION)
600 KlattGrid_REPLACE_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:580:9`! (Frication, frication, kKlattGridFormantType::FRICATION)
601
602 #undef KlattGrid_REPLACE_FORMANT_AMPLITUDEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:580:9`!
603 #undef KlattGrid_REPLACE_FORMANTGRID
604
605 #define KlattGrid_FORMANT_GET_ADD_REMOVEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:605:9`!(Name,name,unit,default,requireCondition,requireMessage) \
606 FORM (QUERY_ONE_FOR_REAL__KlattGrid_get##Name##AtTime, U"KlattGrid: Get " #name " at time", nullptr) { \
607 KlattGrid_6formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:34:9`! (formantType) \
608 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
609 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5") \
610 OKcxx . . $ `sys/praatM.h:327:9`! \
611 DO \
612 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (KlattGrid); \
613 const double result = KlattGrid_get##Name##AtTime (me, formantType, formantNumber, time); \
614 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Hz"); \
615 } \
616 FORM (QUERY_ONE_FOR_REAL__KlattGrid_getDelta##Name##AtTime, U"KlattGrid: Get delta " #name " at time", nullptr) { \
617 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
618 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5") \
619 OKcxx . . $ `sys/praatM.h:327:9`! \
620 DO \
621 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (KlattGrid); \
622 const double result = KlattGrid_getDelta##Name##AtTime (me, formantNumber, time); \
623 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Hz"); \
624 } \
625 FORM (MODIFY_KlattGrid_add##Name##Point, U"KlattGrid: Add " #name " point", nullptr) { \
626 KlattGrid_6formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:34:9`! (formantType) \
627 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
628 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5") \
629 REALcxx . . $ `sys/praatM.h:92:9`! (value, U"Value" unit, default) \
630 OKcxx . . $ `sys/praatM.h:327:9`! \
631 DO \
632 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (requireCondition, requireMessage); \
633 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid) \
634 KlattGrid_add##Name##Point (me, formantType, formantNumber, time, value); \
635 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
636 } \
637 FORM (MODIFY_KlattGrid_addDelta##Name##Point, U"KlattGrid: Add delta " #name " point", nullptr) { \
638 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
639 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5") \
640 REALcxx . . $ `sys/praatM.h:92:9`! (value, U"Value" unit, default) \
641 OKcxx . . $ `sys/praatM.h:327:9`! \
642 DO \
643 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (requireCondition, requireMessage); \
644 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid) \
645 KlattGrid_addDelta##Name##Point (me, formantNumber, time, value); \
646 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
647 } \
648 FORM (MODIFY_KlattGrid_remove##Name##Points, U"Remove " #name " points", nullptr) { \
649 KlattGrid_6formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:34:9`! (formantType) \
650 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
651 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"From time (s)", U"0.3")\
652 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"To time (s)", U"0.7") \
653 OKcxx . . $ `sys/praatM.h:327:9`! \
654 DO \
655 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid) \
656 KlattGrid_remove##Name##Points (me, formantType, formantNumber, fromTime, toTime); \
657 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
658 } \
659 FORM (MODIFY_KlattGrid_removeDelta##Name##Points, U"Remove delta " #name " points", nullptr) { \
660 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1") \
661 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"From time (s)", U"0.3")\
662 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"To time (s)", U"0.7") \
663 OKcxx . . $ `sys/praatM.h:327:9`! \
664 DO \
665 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid) \
666 KlattGrid_removeDelta##Name##Points (me, formantNumber, fromTime, toTime); \
667 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`! \
668 }
669
670 KlattGrid_FORMANT_GET_ADD_REMOVEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:605:9`! (Formant, formant, U" (Hz)", U"500.0", (value > 0.0), U"Frequency should be greater than zero.")
671 KlattGrid_FORMANT_GET_ADD_REMOVEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:605:9`! (Bandwidth, bandwidth, U" (Hz)", U"50.0", (value > 0.0), U"Bandwidth should be greater than zero.")
672
673 #undef KlattGrid_FORMANT_GET_ADD_REMOVEcxx . . $ `dwtools/praat_KlattGrid_init.cpp:605:9`!
674
675 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_KlattGrid_addFormantAndBandwidthTier, U"", nullptr) {
676 OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kKlattGridFormantType, formantType, U"Formant type", kKlattGridFormantType::DEFAULT)
677 INTEGERcxx . . $ `sys/praatM.h:108:9`! (position, U"Position", U"0 (= at end)")
678 OKcxx . . $ `sys/praatM.h:327:9`!
679 DOcxx . . $ `sys/praatM.h:354:9`!
680 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid)
681 KlattGrid_addFormantFrequencyAndBandwidthTierscxx . . $ KlattGrid_addFormantFrequencyAndBandwidthTiers(69f595c7b893d654). (me, formantType, position);
682 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
683 }
684
685 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__KlattGrid_extractFormantGrid, U"KlattGrid: Extract formant grid", nullptr) {
686 KlattGrid_6formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:34:9`! (formantType)
687 OKcxx . . $ `sys/praatM.h:327:9`!
688 DOcxx . . $ `sys/praatM.h:354:9`!
689 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid)
690 autoFormantGridcxx . . $ autoFormantGrid# result = KlattGrid_extractFormantGridcxx . . $ KlattGrid_extractFormantGrid(840d31f26c28207b). (me, formantType);
691 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (KlattGrid_getFormantName (formantType))
692 }
693
694 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_KlattGrid_replaceFormantGrid, U"KlattGrid: Replace formant grid", nullptr) {
695 KlattGrid_6formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:34:9`! (formantType)
696 OKcxx . . $ `sys/praatM.h:327:9`!
697 DOcxx . . $ `sys/praatM.h:354:9`!
698 MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (KlattGrid, FormantGrid)
699 KlattGrid_replaceFormantGridcxx . . $ KlattGrid_replaceFormantGrid(3dbe8696c60bf8c). (me, formantType, you);
700 MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`!
701 }
702
703 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__KlattGrid_getAmplitudeAtTime, U"KlattGrid: Get amplitude at time", nullptr) {
704 KlattGrid_4formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:31:9`! (formantType)
705 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1")
706 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5")
707 OKcxx . . $ `sys/praatM.h:327:9`!
708 DOcxx . . $ `sys/praatM.h:354:9`!
709 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (KlattGrid)
710 const double result = KlattGrid_getAmplitudeAtTimecxx . . $ KlattGrid_getAmplitudeAtTime(fedc8e4464755a48). (me, formantType, formantNumber, time);
711 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! ( U"dB")
712 }
713
714 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_KlattGrid_addAmplitudePoint, U"KlattGrid: Add amplitude point", nullptr) {
715 KlattGrid_4formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:31:9`! (formantType)
716 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1")
717 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5")
718 REALcxx . . $ `sys/praatM.h:92:9`! (value_hz, U"Value (Hz)", U"80.0")
719 OKcxx . . $ `sys/praatM.h:327:9`!
720 DOcxx . . $ `sys/praatM.h:354:9`!
721 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid)
722 KlattGrid_addAmplitudePointcxx . . $ KlattGrid_addAmplitudePoint(29d3189245619d0b). (me, formantType, formantNumber, time, value_hz);
723 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
724 }
725
726 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_KlattGrid_removeAmplitudePoints, U"Remove amplitude points", nullptr) {
727 KlattGrid_4formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:31:9`! (formantType)
728 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1")
729 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"From time (s)", U"0.3")
730 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"To time (s)", U"0.7")
731 OKcxx . . $ `sys/praatM.h:327:9`!
732 DOcxx . . $ `sys/praatM.h:354:9`!
733 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (KlattGrid);
734 KlattGrid_removeAmplitudePointscxx . . $ KlattGrid_removeAmplitudePoints(29d3189245619d0b). (me, formantType, formantNumber, fromTime, toTime);
735 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
736 }
737
738 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__KlattGrid_extractAmplitudeTier, U"", nullptr) {
739 KlattGrid_4formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:31:9`! (formantType)
740 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1")
741 OKcxx . . $ `sys/praatM.h:327:9`!
742 DOcxx . . $ `sys/praatM.h:354:9`!
743 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid)
744 autoIntensityTiercxx . . $ autoIntensityTier# result = KlattGrid_extractAmplitudeTiercxx . . $ KlattGrid_extractAmplitudeTier(f44fe89412d879d2). (me, formantType, formantNumber);
745 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (KlattGrid_getFormantName (formantType))
746 }
747
748 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_KlattGrid_replaceAmplitudeTier, U"KlattGrid: Replace amplitude tier", nullptr) {
749 KlattGrid_4formants_addCommonFieldcxx . . $ `dwtools/praat_KlattGrid_init.cpp:31:9`! (formantType)
750 NATURALcxx . . $ `sys/praatM.h:120:9`! (formantNumber, U"Formant number", U"1")
751 OKcxx . . $ `sys/praatM.h:327:9`!
752 DOcxx . . $ `sys/praatM.h:354:9`!
753 MODIFY_FIRST_OF_ONE_AND_ONEcxx . . $ `sys/praatM.h:1041:9`! (KlattGrid, IntensityTier)
754 KlattGrid_replaceAmplitudeTiercxx . . $ KlattGrid_replaceAmplitudeTier(fe637c5c862d6e4a). (me, formantType, formantNumber, you);
755 MODIFY_FIRST_OF_ONE_AND_ONE_ENDcxx . . $ `sys/praatM.h:1044:9`!
756 }
757
758 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__KlattGrid_to_Sound_special, U"KlattGrid: To Sound (special)", U"KlattGrid: To Sound (special)...") {
759 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
760 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0")
761 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (samplingFrequency, U"Sampling frequency (Hz)", U"44100.0")
762 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (scalePeak, U"Scale peak", true)
763 KlattGrid_PhonationGridPlayOptions_addCommonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:38:9`! (useVoicing, useFlutter, useDoublePulsing, useCollisionPhase, useSpectralTilt, flowFunctionType, useFlowDerivative, useAspiration, useBreathiness)
764 KlattGrid_formantSelection_vocalTract_commonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:67:9`! (filtersStructure, fromOralFormant, toOralFormant, fromNasalFormant, toNasalFormant, fromNasalAntiFormant, toNasalAntiFormant)
765 KlattGrid_formantSelection_coupling_commonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:89:9`! (fromTrachealFormant, toTrachealFormant, fromTrachealAntiFormant, toTrachealAntiFormant, fromDeltaFormant, toDeltaFormant, fromDeltaBandwidth, toDeltaBandwidth)
766 KlattGrid_formantSelection_frication_commonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:114:9`!(fromFricationFormant,toFricationFormant,useFricationBypass)
767 OKcxx . . $ `sys/praatM.h:327:9`!
768 DOcxx . . $ `sys/praatM.h:354:9`!
769 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid)
770 KlattGrid_setDefaultPlayOptionscxx . . $ KlattGrid_setDefaultPlayOptions(132f1834de956411). (me);
771 KlattGridPlayOptionscxx . . $ KlattGridPlayOptions# pk = mycxx . . $ `melder/melder.h:44:9`! optionscxx . . $ structKlattGrid#options..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
772 pk -> scalePeakcxx . . $ structKlattGridPlayOptions#scalePeak. = scalePeak;
773 pk -> xmincxx . . $ structKlattGridPlayOptions#xmin. = fromTime;
774 pk -> xmaxcxx . . $ structKlattGridPlayOptions#xmax. = toTime;
775 pk -> samplingFrequencycxx . . $ structKlattGridPlayOptions#samplingFrequency. = samplingFrequency;
776 pk -> scalePeakcxx . . $ structKlattGridPlayOptions#scalePeak. = scalePeak;
777 KlattGrid_PhonationGridPlayOptionscxx . . $ KlattGrid_PhonationGridPlayOptions(1049477330e10264). (me, useVoicing, useFlutter, useDoublePulsing, useCollisionPhase, useSpectralTilt, flowFunctionType, useFlowDerivative, useAspiration, useBreathiness);
778 KlattGrid_formantSelection_vocalTractcxx . . $ KlattGrid_formantSelection_vocalTract(71ef01a3d63cad89). (me, filtersStructure, fromOralFormant, toOralFormant, fromNasalFormant, toNasalFormant, fromNasalAntiFormant, toNasalAntiFormant);
779 KlattGrid_formantSelection_couplingcxx . . $ KlattGrid_formantSelection_coupling(682c94223473b5a2). (me, fromTrachealFormant, toTrachealFormant, fromTrachealAntiFormant, toTrachealAntiFormant, fromDeltaFormant, toDeltaFormant, fromDeltaBandwidth, toDeltaBandwidth);
780 KlattGrid_formantSelection_fricationcxx . . $ KlattGrid_formantSelection_frication(8b6496201641fe47). (me, fromFricationFormant, toFricationFormant, useFricationBypass);
781 autoSoundcxx . . $ autoSound# result = KlattGrid_to_Soundcxx . . $ KlattGrid_to_Sound(4d0d5ded7f97051d). (me);
782 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
783 }
784
785 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__KlattGrid_to_Sound) {
786 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid)
787 KlattGrid_setDefaultPlayOptionscxx . . $ KlattGrid_setDefaultPlayOptions(132f1834de956411). (me);
788 autoSoundcxx . . $ autoSound# result = KlattGrid_to_Soundcxx . . $ KlattGrid_to_Sound(4d0d5ded7f97051d). (me);
789 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
790 }
791
792 FORMcxx . . $ `sys/praatM.h:79:9`! (PLAY_KlattGrid_playSpecial, U"KlattGrid: Play special", U"KlattGrid: Play special...") {
793 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
794 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0")
795 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (scalePeak, U"Scale peak", true)
796 KlattGrid_PhonationGridPlayOptions_addCommonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:38:9`! (useVoicing, useFlutter, useDoublePulsing, useCollisionPhase, useSpectralTilt, flowFunctionType, useFlowDerivative, useAspiration, useBreathiness)
797 KlattGrid_formantSelection_vocalTract_commonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:67:9`! (filtersStructure, fromOralFormant, toOralFormant, fromNasalFormant, toNasalFormant, fromNasalAntiFormant, toNasalAntiFormant);
798 KlattGrid_formantSelection_coupling_commonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:89:9`! (fromTrachealFormant, toTrachealFormant, fromTrachealAntiFormant, toTrachealAntiFormant, fromDeltaFormant, toDeltaFormant, fromDeltaBandwidth, toDeltaBandwidth)
799 KlattGrid_formantSelection_frication_commonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:114:9`!(fromFricationFormant,toFricationFormant,useFricationBypass)
800 OKcxx . . $ `sys/praatM.h:327:9`!
801 DOcxx . . $ `sys/praatM.h:354:9`!
802 PLAY_EACHcxx . . $ `sys/praatM.h:650:9`! (KlattGrid)
803 KlattGrid_setDefaultPlayOptionscxx . . $ KlattGrid_setDefaultPlayOptions(132f1834de956411). (me);
804 KlattGridPlayOptionscxx . . $ KlattGridPlayOptions# pk = mycxx . . $ `melder/melder.h:44:9`! optionscxx . . $ structKlattGrid#options..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
805 pk -> scalePeakcxx . . $ structKlattGridPlayOptions#scalePeak. = scalePeak;
806 pk -> xmincxx . . $ structKlattGridPlayOptions#xmin. = fromTime;
807 pk -> xmaxcxx . . $ structKlattGridPlayOptions#xmax. = toTime;
808 pk -> scalePeakcxx . . $ structKlattGridPlayOptions#scalePeak. = scalePeak;
809 KlattGrid_PhonationGridPlayOptionscxx . . $ KlattGrid_PhonationGridPlayOptions(1049477330e10264). (me, useVoicing, useFlutter, useDoublePulsing, useCollisionPhase, useSpectralTilt, flowFunctionType, useFlowDerivative, useAspiration, useBreathiness);
810 KlattGrid_formantSelection_vocalTractcxx . . $ KlattGrid_formantSelection_vocalTract(71ef01a3d63cad89). (me, filtersStructure, fromOralFormant, toOralFormant, fromNasalFormant, toNasalFormant, fromNasalAntiFormant, toNasalAntiFormant);
811 KlattGrid_formantSelection_couplingcxx . . $ KlattGrid_formantSelection_coupling(682c94223473b5a2). (me, fromTrachealFormant, toTrachealFormant, fromTrachealAntiFormant, toTrachealAntiFormant, fromDeltaFormant, toDeltaFormant, fromDeltaBandwidth, toDeltaBandwidth);
812 KlattGrid_formantSelection_fricationcxx . . $ KlattGrid_formantSelection_frication(8b6496201641fe47). (me, fromFricationFormant, toFricationFormant, useFricationBypass);
813 KlattGrid_playSpecialcxx . . $ KlattGrid_playSpecial(cff2bf275a7c2f11). (me, nullptrcxx . . $ MelderCallback#MelderCallback(88514059881c9050)., nullptr);
814 PLAY_EACH_ENDcxx . . $ `sys/praatM.h:658:9`!
815 }
816
817 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__KlattGrid_to_Sound_phonation, U"KlattGrid: To Sound (phonation)", U"KlattGrid: To Sound (phonation)...") {
818 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (samplingFrequency, U"Sampling frequency (Hz)", U"44100.0")
819 KlattGrid_PhonationGridPlayOptions_addCommonFieldscxx . . $ `dwtools/praat_KlattGrid_init.cpp:38:9`! (useVoicing, useFlutter, useDoublePulsing, useCollisionPhase, useSpectralTilt, flowFunctionType, useFlowDerivative, useAspiration, useBreathiness)
820 OKcxx . . $ `sys/praatM.h:327:9`!
821 DOcxx . . $ `sys/praatM.h:354:9`!
822 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid)
823 KlattGrid_PhonationGridPlayOptionscxx . . $ KlattGrid_PhonationGridPlayOptions(1049477330e10264). (me, useVoicing, useFlutter, useDoublePulsing, useCollisionPhase, useSpectralTilt, flowFunctionType, useFlowDerivative, useAspiration, useBreathiness);
824 mycxx . . $ `melder/melder.h:44:9`! optionscxx . . $ structKlattGrid#options. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). samplingFrequencycxx . . $ structKlattGridPlayOptions#samplingFrequency. = samplingFrequency;
825 autoSoundcxx . . $ autoSound# result = KlattGrid_to_Sound_phonationcxx . . $ KlattGrid_to_Sound_phonation(4d0d5ded7f97051d). (me);
826 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_phonation")
827 }
828
829 DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__KlattGrid_help) {
830 HELPcxx . . $ `sys/praatM.h:616:9`! (U"KlattGrid")
831 }
832
833 DIRECTcxx . . $ `sys/praatM.h:412:9`! (PLAY_KlattGrid_play) {
834 PLAY_EACHcxx . . $ `sys/praatM.h:650:9`! (KlattGrid)
835 KlattGrid_playcxx . . $ KlattGrid_play(cff2bf275a7c2f11). (me, nullptrcxx . . $ MelderCallback#MelderCallback(88514059881c9050)., nullptr);
836 PLAY_EACH_ENDcxx . . $ `sys/praatM.h:658:9`!
837 }
838
839 FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__KlattGrid_draw, U"KlattGrid: Draw", nullptr) {
840 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kKlattGridFilterModel, filterModel, U"Synthesis filter model", kKlattGridFilterModel::DEFAULT)
841 OKcxx . . $ `sys/praatM.h:327:9`!
842 DOcxx . . $ `sys/praatM.h:354:9`!
843 GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (KlattGrid)
844 KlattGrid_drawcxx . . $ KlattGrid_draw(a019a18387aacc6e). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, filterModel);
845 GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`!
846 }
847
848 FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__KlattGrid_drawVocalTract, U"KlattGrid: Draw vocal tract", nullptr) {
849 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kKlattGridFilterModel, filterModel, U"Synthesis filter model", kKlattGridFilterModel::DEFAULT)
850 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeTrachealFormants, U"Include tracheal formants", true);
851 OKcxx . . $ `sys/praatM.h:327:9`!
852 DOcxx . . $ `sys/praatM.h:354:9`!
853 GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (KlattGrid)
854 KlattGrid_drawVocalTractcxx . . $ KlattGrid_drawVocalTract(4ffc1b12745185eb). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, filterModel, includeTrachealFormants);
855 GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`!
856 }
857
858 DIRECTcxx . . $ `sys/praatM.h:412:9`! (GRAPHICS_EACH__KlattGrid_drawPhonation) {
859 GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (KlattGrid)
860 PhonationGrid_drawcxx . . $ PhonationGrid_draw(d6abde4a28ac6301). (mycxx . . $ `melder/melder.h:44:9`! phonationcxx . . $ structKlattGrid#phonation..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), GRAPHICScxx . . $ `sys/praat.h:204:9`!);
861 GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`!
862 }
863
864 DIRECTcxx . . $ `sys/praatM.h:412:9`! (GRAPHICS_EACH__KlattGrid_drawFrication) {
865 GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (KlattGrid)
866 FricationGrid_drawcxx . . $ FricationGrid_draw(7b3fab4041080a6e). (mycxx . . $ `melder/melder.h:44:9`! fricationcxx . . $ structKlattGrid#frication..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), GRAPHICScxx . . $ `sys/praat.h:204:9`!);
867 GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`!
868 }
869
870 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__KlattGrid_to_oralFormantGrid_openPhases, U"KlattGrid: Extract oral formant grid (open phases)", U"KlattGrid: Extract oral formant grid (open phases)...") {
871 REALcxx . . $ `sys/praatM.h:92:9`! (fadeFraction, U"Fade fraction (0..0.5)", U"0.1")
872 OKcxx . . $ `sys/praatM.h:327:9`!
873 DOcxx . . $ `sys/praatM.h:354:9`!
874 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (fadeFraction < 0.5, U"The fade fraction should be less than 0.5.");
875 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (KlattGrid)
876 autoFormantGridcxx . . $ autoFormantGrid# result = KlattGrid_to_oralFormantGrid_openPhasescxx . . $ KlattGrid_to_oralFormantGrid_openPhases(ff650c3cb427c608). (me, fadeFraction);
877 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (U"corrected")
878 }
879
880 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_AND_ONE_TO_ONE__Sound_KlattGrid_filterByVocalTract, U"Sound & KlattGrid: Filter by vocal tract", U"Sound & KlattGrid: Filter by vocal tract...") {
881 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kKlattGridFilterModel, filterModel, U"Vocal tract filter model", kKlattGridFilterModel::DEFAULT)
882 OKcxx . . $ `sys/praatM.h:327:9`!
883 DOcxx . . $ `sys/praatM.h:354:9`!
884 CONVERT_ONE_AND_ONE_TO_ONEcxx . . $ `sys/praatM.h:1165:9`! (Sound, KlattGrid)
885 autoSoundcxx . . $ autoSound# result = Sound_KlattGrid_filterByVocalTractcxx . . $ Sound_KlattGrid_filterByVocalTract(d2473620210bcbb2). (me, you, filterModel);
886 CONVERT_ONE_AND_ONE_TO_ONE_ENDcxx . . $ `sys/praatM.h:1167:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get())
887 }
888
889 void praat_KlattGrid_initcxx . . $ praat_KlattGrid_init(49f6e7a06ebc5aa8). ();
890 void praat_KlattGrid_initcxx . . $ praat_KlattGrid_init(49f6e7a06ebc5aa8). () {
891
892 Thing_recognizeClassesByNamecxx . . $ Thing_recognizeClassesByName(b2b8400651464df9). (classKlattGridcxx . . $ classKlattGrid.);
893
894 structKlattGrid_OpenPhaseTierAreacxx . . $ structKlattGrid_OpenPhaseTierArea# :: f_preferencescxx . . $ structKlattGrid_OpenPhaseTierArea#f_preferences(49f6e7a06ebc5aa8).();
895 structKlattGrid_CollisionPhaseTierAreacxx . . $ structKlattGrid_CollisionPhaseTierArea# :: f_preferencescxx . . $ structKlattGrid_CollisionPhaseTierArea#f_preferences(49f6e7a06ebc5aa8).();
896 structKlattGrid_Power1TierAreacxx . . $ structKlattGrid_Power1TierArea# :: f_preferencescxx . . $ structKlattGrid_Power1TierArea#f_preferences(49f6e7a06ebc5aa8).();
897 structKlattGrid_Power2TierAreacxx . . $ structKlattGrid_Power2TierArea# :: f_preferencescxx . . $ structKlattGrid_Power2TierArea#f_preferences(49f6e7a06ebc5aa8).();
898 structKlattGrid_DoublePulsingTierAreacxx . . $ structKlattGrid_DoublePulsingTierArea# :: f_preferencescxx . . $ structKlattGrid_DoublePulsingTierArea#f_preferences(49f6e7a06ebc5aa8).();
899 structKlattGrid_PitchTierAreacxx . . $ structKlattGrid_PitchTierArea# :: f_preferencescxx . . $ structKlattGrid_PitchTierArea#f_preferences(49f6e7a06ebc5aa8).();
900 structKlattGrid_FlutterTierAreacxx . . $ structKlattGrid_FlutterTierArea# :: f_preferencescxx . . $ structKlattGrid_FlutterTierArea#f_preferences(49f6e7a06ebc5aa8).();
901 structKlattGrid_IntensityTierAreacxx . . $ structKlattGrid_IntensityTierArea# :: f_preferencescxx . . $ structKlattGrid_IntensityTierArea#f_preferences(49f6e7a06ebc5aa8).();
902 structKlattGrid_DecibelTierAreacxx . . $ structKlattGrid_DecibelTierArea# :: f_preferencescxx . . $ structKlattGrid_DecibelTierArea#f_preferences(49f6e7a06ebc5aa8).();
903 structKlattGrid_SpectralTiltTierAreacxx . . $ structKlattGrid_SpectralTiltTierArea# :: f_preferencescxx . . $ structKlattGrid_SpectralTiltTierArea#f_preferences(49f6e7a06ebc5aa8).();
904 structKlattGrid_FricationBypassTierAreacxx . . $ structKlattGrid_FricationBypassTierArea# :: f_preferencescxx . . $ structKlattGrid_FricationBypassTierArea#f_preferences(49f6e7a06ebc5aa8).();
905
906 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Acoustic synthesis (Klatt)", nullptr, 0, nullptr);
907 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"KlattGrid help", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_NO_APIcxx . . $ `sys/Gui.h:871:9`!,
908 HELP__KlattGrid_help);
909 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"-- the synthesizer grid --", nullptr, 1, nullptr);
910 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create KlattGrid...", nullptr, 1,
911 CREATE_ONE__KlattGrid_create);
912 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create KlattGrid from vowel...", nullptr, 1,
913 CREATE_ONE__KlattGrid_createFromVowel);
914 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create KlattGrid example", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!,
915 CREATE_ONE__KlattGrid_createExample);
916
917 /*
918 Edit oral/nasal/tracheal/frication/delta formant grid
919 Edit nasal/tracheal antiformant grid
920 Get oral/nasal/tracheal/frication/delta formant at time...
921 Get nasal/tracheal antiformant at time...
922 Get oral/nasal/tracheal/frication/delta formant bandwidth at time...
923 Get nasal/tracheal antiformant bandwidth at time...
924 Get oral/nasal/tracheal/frication formant amplitude at time...
925 Formula (oral/nasal/tracheal/frication/delta formant frequencies)...
926 Formula (nasal/tracheal antiformant frequencies)...
927 Formula (oral/nasal/tracheal/frication/delta formant bandwidths)...
928 Formula (nasal/tracheal antiformant bandwidths)...
929 Add oral/nasal/tracheal/frication/delta formant point...
930 Add nasal/tracheal antiformant point...
931 Add oral/nasal/tracheal/frication/delta formant bandwidth point...
932 Add nasal/tracheal antiformant bandwidth point...
933 Add oral/nasal/tracheal/frication formant amplitude point...
934 Remove oral/nasal/tracheal/frication/delta formant points...
935 Remove nasal/tracheal antiformant points...
936 Remove oral/nasal/tracheal/frication/delta bandwidth points...
937 Remove nasal/tracheal antiformant bandwidth points...
938 Remove oral/nasal/tracheal/frication formant amplitude points...
939 Extract oral/nasal/tracheal/frication/delta formant grid
940 Extract nasal/tracheal antiformant grid
941 Replace oral/nasal/tracheal/frication/delta formant grid
942 Replace nasal/tracheal antiformant grid
943 Add oral/nasal/tracheal/frication/delta formant and bandwidth tier
944 Add nasal/tracheal antiformant and bandwidth tier
945 */
946 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"KlattGrid help", nullptr, 0,
947 HELP__KlattGrid_help);
948
949 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit phonation -", nullptr, 0, nullptr);
950 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit pitch tier", nullptr, 1,
951 EDITOR_ONE_KlattGrid_editPitchTier);
952 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit voicing amplitude tier", nullptr, 1,
953 EDITOR_ONE_KlattGrid_editVoicingAmplitudeTier);
954 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit flutter tier", nullptr, 1,
955 EDITOR_ONE_KlattGrid_editFlutterTier);
956 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit power1 tier", nullptr, 1,
957 EDITOR_ONE_KlattGrid_editPower1Tier);
958 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit power2 tier", nullptr, 1,
959 EDITOR_ONE_KlattGrid_editPower2Tier);
960 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit open phase tier", nullptr, 1,
961 EDITOR_ONE_KlattGrid_editOpenPhaseTier);
962 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit collision phase tier", nullptr, 1,
963 EDITOR_ONE_KlattGrid_editCollisionPhaseTier);
964 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit double pulsing tier", nullptr, 1,
965 EDITOR_ONE_KlattGrid_editDoublePulsingTier);
966 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit spectral tilt tier", nullptr, 1,
967 EDITOR_ONE_KlattGrid_editSpectralTiltTier);
968 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit aspiration amplitude tier", nullptr, 1,
969 EDITOR_ONE_KlattGrid_editAspirationAmplitudeTier);
970 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit breathiness amplitude tier", nullptr, 1,
971 EDITOR_ONE_KlattGrid_editBreathinessAmplitudeTier);
972
973 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit filters -", nullptr, 0, nullptr);
974 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit oral formant grid", nullptr, 1,
975 EDITOR_ONE_KlattGrid_editOralFormantGrid);
976 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit nasal formant grid", nullptr, 1,
977 EDITOR_ONE_KlattGrid_editNasalFormantGrid);
978 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit nasal antiformant grid", nullptr, 1,
979 EDITOR_ONE_KlattGrid_editNasalAntiFormantGrid);
980 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit oral formant amplitude tier...", nullptr, 1,
981 EDITOR_ONE_KlattGrid_editOralFormantAmplitudeTier);
982 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit nasal formant amplitude tier...", nullptr, 1,
983 EDITOR_ONE_KlattGrid_editNasalFormantAmplitudeTier);
984 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- edit delta formant grid --", nullptr, 1, nullptr);
985 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit delta formant grid", nullptr, 1,
986 EDITOR_ONE_KlattGrid_editDeltaFormantGrid);
987 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit tracheal formant grid", nullptr, 1,
988 EDITOR_ONE_KlattGrid_editTrachealFormantGrid);
989 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit tracheal antiformant grid", nullptr, 1,
990 EDITOR_ONE_KlattGrid_editTrachealAntiFormantGrid);
991 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit tracheal formant amplitude tier...", nullptr, 1,
992 EDITOR_ONE_KlattGrid_editTrachealFormantAmplitudeTier);
993 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- edit frication tiers --", nullptr, 1, nullptr);
994 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Edit frication amplitude tier", nullptr, 1,
995 EDITOR_ONE_KlattGrid_editFricationAmplitudeTier);
996 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit frication formant grid", nullptr, 1,
997 EDITOR_ONE_KlattGrid_editFricationFormantGrid);
998 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit frication formant amplitude tier...", nullptr, 1,
999 EDITOR_ONE_KlattGrid_editFricationFormantAmplitudeTier);
1000 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Edit frication bypass tier", nullptr, 1,
1001 EDITOR_ONE_KlattGrid_editFricationBypassTier);
1002 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Edit frication amplitude tier", nullptr, 1,
1003 EDITOR_ONE_KlattGrid_editFricationAmplitudeTier);
1004
1005 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Play", nullptr, 0,
1006 PLAY_KlattGrid_play);
1007 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Play special...", nullptr, 0,
1008 PLAY_KlattGrid_playSpecial);
1009 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"To Sound", nullptr, 0,
1010 CONVERT_EACH_TO_ONE__KlattGrid_to_Sound);
1011 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"To Sound (special)...", nullptr, 0,
1012 CONVERT_EACH_TO_ONE__KlattGrid_to_Sound_special);
1013 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"To Sound (phonation)...", nullptr, 0,
1014 CONVERT_EACH_TO_ONE__KlattGrid_to_Sound_phonation);
1015
1016 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Draw -", nullptr, 0, nullptr);
1017 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Draw synthesizer...", nullptr, 1,
1018 GRAPHICS_EACH__KlattGrid_draw);
1019 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Draw vocal tract...", nullptr, 1,
1020 GRAPHICS_EACH__KlattGrid_drawVocalTract);
1021 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Draw phonation", nullptr, 1,
1022 GRAPHICS_EACH__KlattGrid_drawPhonation);
1023 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Draw frication", nullptr, 1,
1024 GRAPHICS_EACH__KlattGrid_drawFrication);
1025
1026 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Query phonation -", nullptr, 0, nullptr);
1027 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get pitch at time...", nullptr, 1,
1028 QUERY_ONE_FOR_REAL__KlattGrid_getPitchAtTime);
1029 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get voicing amplitude at time...", nullptr, 1,
1030 QUERY_ONE_FOR_REAL__KlattGrid_getVoicingAmplitudeAtTime);
1031 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get flutter at time...", nullptr, 1,
1032 QUERY_ONE_FOR_REAL__KlattGrid_getFlutterAtTime);
1033 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get power1 at time...", nullptr, 1,
1034 QUERY_ONE_FOR_REAL__KlattGrid_getPower1AtTime);
1035 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get power2 at time...", nullptr, 1,
1036 QUERY_ONE_FOR_REAL__KlattGrid_getPower2AtTime);
1037 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get open phase at time...", nullptr, 1,
1038 QUERY_ONE_FOR_REAL__KlattGrid_getOpenPhaseAtTime);
1039 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get collision phase at time...", nullptr, 1,
1040 QUERY_ONE_FOR_REAL__KlattGrid_getCollisionPhaseAtTime);
1041 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get double pulsing at time...", nullptr, 1,
1042 QUERY_ONE_FOR_REAL__KlattGrid_getDoublePulsingAtTime);
1043 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get spectral tilt at time...", nullptr, 1,
1044 QUERY_ONE_FOR_REAL__KlattGrid_getSpectralTiltAtTime);
1045 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get aspiration amplitude at time...", nullptr, 1,
1046 QUERY_ONE_FOR_REAL__KlattGrid_getAspirationAmplitudeAtTime);
1047 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get breathiness amplitude at time...", nullptr, 1,
1048 QUERY_ONE_FOR_REAL__KlattGrid_getBreathinessAmplitudeAtTime);
1049
1050 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Query filters -", nullptr, 0, nullptr);
1051 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get formant at time...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1052 QUERY_ONE_FOR_REAL__KlattGrid_getFormantAtTime);
1053 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get bandwidth at time...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1054 QUERY_ONE_FOR_REAL__KlattGrid_getBandwidthAtTime);
1055 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get amplitude at time...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1056 QUERY_ONE_FOR_REAL__KlattGrid_getAmplitudeAtTime);
1057 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get delta formant at time...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1058 QUERY_ONE_FOR_REAL__KlattGrid_getDeltaFormantAtTime);
1059 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get delta bandwidth at time...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1060 QUERY_ONE_FOR_REAL__KlattGrid_getDeltaBandwidthAtTime);
1061
1062 #define KlattGRID_GET_FORMANT_FB_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1062:9`!(Name, formantname) \
1063 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get " #formantname " frequency at time...", nullptr, 1, \
1064 QUERY_ONE_FOR_REAL__KlattGrid_get##Name##FormantFrequencyAtTime); \
1065 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get " #formantname " bandwidth at time...", nullptr, 1, \
1066 QUERY_ONE_FOR_REAL__KlattGrid_get##Name##FormantBandwidthAtTime);
1067
1068 #define KlattGRID_GET_FORMANT_FBA_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1068:9`!(Name,formantname) \
1069 KlattGRID_GET_FORMANT_FB_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1062:9`! (Name, formantname) \
1070 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get " #formantname " amplitude at time...", nullptr, 1, \
1071 QUERY_ONE_FOR_REAL__KlattGrid_get##Name##FormantAmplitudeAtTime); \
1072
1073 KlattGRID_GET_FORMANT_FBA_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1068:9`! (Oral, oral formant)
1074 KlattGRID_GET_FORMANT_FBA_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1068:9`! (Nasal, nasal formant)
1075 KlattGRID_GET_FORMANT_FB_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1062:9`! (NasalAnti, nasal antiformant)
1076
1077 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"-- query delta characteristics", nullptr, 1, nullptr);
1078 KlattGRID_GET_FORMANT_FB_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1062:9`! (Delta, delta formant)
1079 KlattGRID_GET_FORMANT_FBA_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1068:9`! (Tracheal, tracheal formant)
1080 KlattGRID_GET_FORMANT_FB_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1062:9`! (TrachealAnti, tracheal antiformant)
1081 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"-- query frication characteristics", nullptr, 1, nullptr);
1082 KlattGRID_GET_FORMANT_FBA_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1068:9`! (Frication, frication formant)
1083
1084 #undef KlattGRID_GET_FORMANT_FB_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1062:9`!
1085 #undef KlattGRID_GET_FORMANT_FBA_VALUES_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1068:9`!
1086
1087 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get frication bypass at time...", nullptr, 1,
1088 QUERY_ONE_FOR_REAL__KlattGrid_getFricationBypassAtTime);
1089 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 1, U"Get frication amplitude at time...", nullptr, 1,
1090 QUERY_ONE_FOR_REAL__KlattGrid_getFricationAmplitudeAtTime);
1091
1092 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Modify phonation -", nullptr, 0, nullptr);
1093 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add pitch point...", nullptr, 1,
1094 MODIFY_KlattGrid_addPitchPoint);
1095 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add voicing amplitude point...", nullptr, 1,
1096 MODIFY_KlattGrid_addVoicingAmplitudePoint);
1097 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add flutter point...", nullptr, 1,
1098 MODIFY_KlattGrid_addFlutterPoint);
1099 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add power1 point...", nullptr, 1,
1100 MODIFY_KlattGrid_addPower1Point);
1101 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add power2 point...", nullptr, 1,
1102 MODIFY_KlattGrid_addPower2Point);
1103 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add open phase point...", nullptr, 1,
1104 MODIFY_KlattGrid_addOpenPhasePoint);
1105 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add collision phase point...", nullptr, 1,
1106 MODIFY_KlattGrid_addCollisionPhasePoint);
1107 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add double pulsing point...", nullptr, 1,
1108 MODIFY_KlattGrid_addDoublePulsingPoint);
1109 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add spectral tilt point...", nullptr, 1,
1110 MODIFY_KlattGrid_addSpectralTiltPoint);
1111 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add aspiration amplitude point...", nullptr, 1,
1112 MODIFY_KlattGrid_addAspirationAmplitudePoint);
1113 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add breathiness amplitude point...", nullptr, 1,
1114 MODIFY_KlattGrid_addBreathinessAmplitudePoint);
1115
1116 #define KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`!(Name,name) \
1117 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #name " points between...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, \
1118 MODIFY_KlattGrid_remove##Name##Points); \
1119 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #name " points...", nullptr, 1, \
1120 MODIFY_KlattGrid_remove##Name##Points);
1121
1122 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (Pitch, pitch)
1123 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (VoicingAmplitude, voicing amplitude)
1124 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (Flutter, flutter)
1125 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (Power1, power1)
1126 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (Power2, power2)
1127 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (OpenPhase, open phase)
1128 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (CollisionPhase, collision phase)
1129 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (DoublePulsing, double pulsing)
1130 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (SpectralTilt, spectral tilt)
1131 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (AspirationAmplitude, aspiration amplitude)
1132 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (BreathinessAmplitude, breathiness amplitude)
1133
1134 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Modify vocal tract -", nullptr, 0, nullptr);
1135
1136 #define KlattGrid_MODIFY_ACTIONS_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1136:9`!(Name,formantname) \
1137 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Formula (" #formantname " frequencies)...", nullptr, 1, \
1138 MODIFY_KlattGrid_formula##Name##FormantFrequencies); \
1139 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Formula (" #formantname " bandwidths)...", nullptr, 1, \
1140 MODIFY_KlattGrid_formula##Name##FormantBandwidths); \
1141 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname " frequency point...", nullptr, 1, \
1142 MODIFY_KlattGrid_add##Name##FormantFrequencyPoint); \
1143 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname " bandwidth point...", nullptr, 1, \
1144 MODIFY_KlattGrid_add##Name##FormantBandwidthPoint); \
1145 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname " amplitude point...", nullptr, 1, \
1146 MODIFY_KlattGrid_add##Name##FormantAmplitudePoint); \
1147 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname " frequency points...", nullptr, 1, \
1148 MODIFY_KlattGrid_remove##Name##FormantFrequencyPoints); \
1149 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname " bandwidth points...", nullptr, 1, \
1150 MODIFY_KlattGrid_remove##Name##FormantBandwidthPoints); \
1151 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname " amplitude points...", nullptr, 1, \
1152 MODIFY_KlattGrid_remove##Name##FormantAmplitudePoints); \
1153 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname " frequency and bandwidth tiers...", nullptr, 1, \
1154 MODIFY_KlattGrid_add##Name##FormantFrequencyAndBandwidthTiers); \
1155 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname " frequency and bandwidth tiers...", nullptr, 1, \
1156 MODIFY_KlattGrid_remove##Name##FormantFrequencyAndBandwidthTiers); \
1157 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname " amplitude tier...", nullptr, 1, \
1158 MODIFY_KlattGrid_add##Name##FormantAmplitudeTier); \
1159 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname " amplitude tier...", nullptr, 1, \
1160 MODIFY_KlattGrid_remove##Name##FormantAmplitudeTier); \
1161 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname "...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, \
1162 MODIFY_KlattGrid_add##Name##Formant); \
1163 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname "...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, \
1164 MODIFY_KlattGrid_remove##Name##Formant);
1165
1166 #define KlattGrid_MODIFY_ACTIONS_FBcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1166:9`!(Name,formantname) \
1167 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Formula (" #formantname " frequencies)...", nullptr, 1, \
1168 MODIFY_KlattGrid_formula##Name##FormantFrequencies); \
1169 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Formula (" #formantname " bandwidths)...", nullptr, 1, \
1170 MODIFY_KlattGrid_formula##Name##FormantBandwidths); \
1171 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname " frequency point...", nullptr, 1, \
1172 MODIFY_KlattGrid_add##Name##FormantFrequencyPoint); \
1173 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname " bandwidth point...", nullptr, 1, \
1174 MODIFY_KlattGrid_add##Name##FormantBandwidthPoint); \
1175 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname " frequency points...", nullptr, 1, \
1176 MODIFY_KlattGrid_remove##Name##FormantFrequencyPoints); \
1177 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname " bandwidth points...", nullptr, 1, \
1178 MODIFY_KlattGrid_remove##Name##FormantBandwidthPoints); \
1179 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname " frequency and bandwidth tiers...", nullptr, 1, \
1180 MODIFY_KlattGrid_add##Name##FormantFrequencyAndBandwidthTiers); \
1181 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname " frequency and bandwidth tiers...", nullptr, 1, \
1182 MODIFY_KlattGrid_remove##Name##FormantFrequencyAndBandwidthTiers); \
1183 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add " #formantname "...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, \
1184 MODIFY_KlattGrid_add##Name##Formant); \
1185 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove " #formantname "...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, \
1186 MODIFY_KlattGrid_remove##Name##Formant);
1187
1188 KlattGrid_MODIFY_ACTIONS_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1136:9`! (Oral, oral formant)
1189 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- oral modify separator --", nullptr, 1, nullptr);
1190 KlattGrid_MODIFY_ACTIONS_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1136:9`! (Nasal, nasal formant)
1191 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- nasal modify separator --", nullptr, 1, nullptr);
1192 KlattGrid_MODIFY_ACTIONS_FBcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1166:9`! (NasalAnti, nasal antiformant)
1193
1194 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Formula (frequencies)...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1195 MODIFY_KlattGrid_formula_frequencies);
1196 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Formula (bandwidths)...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1197 MODIFY_KlattGrid_formula_bandwidths);
1198 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add formant point...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1199 MODIFY_KlattGrid_addFormantPoint);
1200 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add bandwidth point...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1201 MODIFY_KlattGrid_addBandwidthPoint);
1202 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add amplitude point...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1203 MODIFY_KlattGrid_addAmplitudePoint);
1204 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove formant points between...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1205 MODIFY_KlattGrid_removeFormantPoints);
1206 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove bandwidth points between...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1207 MODIFY_KlattGrid_removeBandwidthPoints);
1208 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove amplitude points between...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1209 MODIFY_KlattGrid_removeAmplitudePoints);
1210 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Modify coupling -", nullptr, 0, nullptr);
1211 KlattGrid_MODIFY_ACTIONS_FBcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1166:9`! (Delta, delta formant)
1212 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- delta modify separator --", nullptr, 1, nullptr);
1213 KlattGrid_MODIFY_ACTIONS_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1136:9`! (Tracheal, tracheal formant)
1214 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- nasal modify separator --", nullptr, 1, nullptr);
1215 KlattGrid_MODIFY_ACTIONS_FBcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1166:9`! (TrachealAnti, tracheal antiformant)
1216
1217 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add delta formant point...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1218 MODIFY_KlattGrid_addDeltaFormantPoint);
1219 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add delta bandwidth point...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1220 MODIFY_KlattGrid_addDeltaBandwidthPoint);
1221 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove delta formant points between...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1222 MODIFY_KlattGrid_removeDeltaFormantPoints);
1223 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Remove delta bandwidth points between...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1224 MODIFY_KlattGrid_removeDeltaBandwidthPoints);
1225
1226 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Modify frication -", nullptr, 0, nullptr);
1227 KlattGrid_MODIFY_ACTIONS_FBAcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1136:9`! (Frication, frication formant)
1228 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- frication modify separator --", nullptr, 1, nullptr);
1229
1230 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add frication bypass point...", nullptr, 1,
1231 MODIFY_KlattGrid_addFricationBypassPoint);
1232 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add frication amplitude point...", nullptr, 1,
1233 MODIFY_KlattGrid_addFricationAmplitudePoint);
1234 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (FricationBypass, frication bypass)
1235 KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`! (FricationAmplitude, frication amplitude)
1236 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Add formant and bandwidth tier...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1237 MODIFY_KlattGrid_addFormantAndBandwidthTier);
1238
1239 #undef KlattGrid_REMOVE_POINTS_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1116:9`!
1240 #undef KlattGrid_MODIFY_ACTION_FB
1241 #undef KlattGrid_MODIFY_ACTION_FBA
1242
1243 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract phonation -", nullptr, 0, nullptr);
1244 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract pitch tier", nullptr, 1,
1245 CONVERT_EACH_TO_ONE__KlattGrid_extractPitchTier);
1246 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract voicing amplitude tier", nullptr, 1,
1247 CONVERT_EACH_TO_ONE__KlattGrid_extractVoicingAmplitudeTier);
1248 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract flutter tier", nullptr, 1,
1249 CONVERT_EACH_TO_ONE__KlattGrid_extractFlutterTier);
1250 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract power1 tier", nullptr, 1,
1251 CONVERT_EACH_TO_ONE__KlattGrid_extractPower1Tier);
1252 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract power2 tier", nullptr, 1,
1253 CONVERT_EACH_TO_ONE__KlattGrid_extractPower2Tier);
1254 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract open phase tier", nullptr, 1,
1255 CONVERT_EACH_TO_ONE__KlattGrid_extractOpenPhaseTier);
1256 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract collision phase tier", nullptr, 1,
1257 CONVERT_EACH_TO_ONE__KlattGrid_extractCollisionPhaseTier);
1258 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract double pulsing tier", nullptr, 1,
1259 CONVERT_EACH_TO_ONE__KlattGrid_extractDoublePulsingTier);
1260 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract spectral tilt tier", nullptr, 1,
1261 CONVERT_EACH_TO_ONE__KlattGrid_extractSpectralTiltTier);
1262 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract aspiration amplitude tier", nullptr, 1,
1263 CONVERT_EACH_TO_ONE__KlattGrid_extractAspirationAmplitudeTier);
1264 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract breathiness amplitude tier", nullptr, 1,
1265 CONVERT_EACH_TO_ONE__KlattGrid_extractBreathinessAmplitudeTier);
1266 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- extract glottal events--", nullptr, 1, nullptr);
1267 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract PointProcess (glottal closures)", nullptr, 1,
1268 CONVERT_EACH_TO_ONE__KlattGrid_extractPointProcess_glottalClosures);
1269
1270 #define KlattGRID_EXTRACT_FORMANT_GRID_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1270:9`!(Name,namef) \
1271 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract " #namef "ormant grid", nullptr, 1, \
1272 CONVERT_EACH_TO_ONE__KlattGrid_extract##Name##FormantGrid);
1273 #define KlattGRID_EXTRACT_FORMANT_AMPLITUDE_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1273:9`!(Name,name) \
1274 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract " #name " formant amplitude tier...", nullptr, 1, \
1275 CONVERT_EACH_TO_ONE__KlattGrid_extract##Name##FormantAmplitudeTier);
1276
1277 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract filters -", nullptr, 0, nullptr);
1278 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract formant grid...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`! | GuiMenu_NO_APIcxx . . $ `sys/Gui.h:871:9`!,
1279 CONVERT_EACH_TO_ONE__KlattGrid_extractFormantGrid);
1280 KlattGRID_EXTRACT_FORMANT_GRID_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1270:9`! (Oral, oral f)
1281 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract amplitude tier...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`! | GuiMenu_NO_APIcxx . . $ `sys/Gui.h:871:9`!,
1282 CONVERT_EACH_TO_ONE__KlattGrid_extractAmplitudeTier);
1283 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract oral formant grid (open phases)... || Extract formant grid (open phases)...", nullptr, 1,
1284 CONVERT_EACH_TO_ONE__KlattGrid_to_oralFormantGrid_openPhases); // alternative GuiMenu_DEPRECATED_2009
1285 KlattGRID_EXTRACT_FORMANT_AMPLITUDE_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1273:9`! (Oral, oral)
1286 KlattGRID_EXTRACT_FORMANT_GRID_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1270:9`! (Nasal, nasal f)
1287 KlattGRID_EXTRACT_FORMANT_AMPLITUDE_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1273:9`! (Nasal, nasal)
1288 KlattGRID_EXTRACT_FORMANT_GRID_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1270:9`! (NasalAnti, nasal antif)
1289
1290 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- extract delta characteristics", nullptr, 1, nullptr);
1291 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract delta formant grid", nullptr, 1,
1292 CONVERT_EACH_TO_ONE__KlattGrid_extractDeltaFormantGrid);
1293 KlattGRID_EXTRACT_FORMANT_GRID_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1270:9`! (Tracheal, tracheal f)
1294 KlattGRID_EXTRACT_FORMANT_AMPLITUDE_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1273:9`! (Tracheal, tracheal)
1295 KlattGRID_EXTRACT_FORMANT_GRID_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1270:9`! (TrachealAnti, tracheal antif)
1296 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"-- extract frication characteristics", nullptr, 1, nullptr);
1297 KlattGRID_EXTRACT_FORMANT_GRID_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1270:9`! (Frication, frication f)
1298 KlattGRID_EXTRACT_FORMANT_AMPLITUDE_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1273:9`! (Frication, frication)
1299 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract frication bypass tier", nullptr, 1,
1300 CONVERT_EACH_TO_ONE__KlattGrid_extractFricationBypassTier);
1301 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classKlattGrid, 0, U"Extract frication amplitude tier", nullptr, 1,
1302 CONVERT_EACH_TO_ONE__KlattGrid_extractFricationAmplitudeTier);
1303
1304 #undef KlattGRID_EXTRACT_FORMANT_AMPLITUDE_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1273:9`!
1305 #undef KlattGRID_EXTRACT_FORMANT_GRID_ACTIONcxx . . $ `dwtools/praat_KlattGrid_init.cpp:1270:9`!
1306
1307 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classPitchTier, 1, U"Replace pitch tier", nullptr, 1,
1308 MODIFY_KlattGrid_replacePitchTier);
1309 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classRealTier, 1, U"Replace flutter tier", nullptr, 1,
1310 MODIFY_KlattGrid_replaceFlutterTier);
1311 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classRealTier, 1, U"Replace power1 tier", nullptr, 1,
1312 MODIFY_KlattGrid_replacePower1Tier);
1313 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classRealTier, 1, U"Replace power2 tier", nullptr, 1,
1314 MODIFY_KlattGrid_replacePower2Tier);
1315 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classRealTier, 1, U"Replace open phase tier", nullptr, 1,
1316 MODIFY_KlattGrid_replaceOpenPhaseTier);
1317 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classRealTier, 1, U"Replace collision phase tier", nullptr, 1,
1318 MODIFY_KlattGrid_replaceCollisionPhaseTier);
1319 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classRealTier, 1, U"Replace double pulsing tier", nullptr, 1,
1320 MODIFY_KlattGrid_replaceDoublePulsingTier);
1321
1322 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"-- replace formant amplitudes --", nullptr, 1, nullptr);
1323
1324 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"Replace formant grid...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1325 MODIFY_KlattGrid_replaceFormantGrid);
1326 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"Replace oral formant grid", nullptr, 1,
1327 MODIFY_KlattGrid_replaceOralFormantGrid);
1328 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"Replace nasal formant grid", nullptr, 1,
1329 MODIFY_KlattGrid_replaceNasalFormantGrid);
1330 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"Replace nasal antiformant grid", nullptr, 1,
1331 MODIFY_KlattGrid_replaceNasalAntiFormantGrid);
1332 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"-- replace coupling --", nullptr, 1, nullptr);
1333 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"Replace tracheal formant grid", nullptr, 1,
1334 MODIFY_KlattGrid_replaceTrachealFormantGrid);
1335 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"Replace tracheal antiformant grid", nullptr, 1,
1336 MODIFY_KlattGrid_replaceTrachealAntiFormantGrid);
1337 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"Replace delta formant grid", nullptr, 1,
1338 MODIFY_KlattGrid_replaceDeltaFormantGrid);
1339 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"-- replace frication --", nullptr, 1, nullptr);
1340 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classFormantGrid, 1, U"Replace frication formant grid", nullptr, 1,
1341 MODIFY_KlattGrid_replaceFricationFormantGrid);
1342
1343 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace voicing amplitude tier", nullptr, 1,
1344 MODIFY_KlattGrid_replaceVoicingAmplitudeTier);
1345 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace spectral tilt tier", nullptr, 1,
1346 MODIFY_KlattGrid_replaceSpectralTiltTier);
1347 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace aspiration amplitude tier", nullptr, 1,
1348 MODIFY_KlattGrid_replaceAspirationAmplitudeTier);
1349 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace breathiness amplitude tier", nullptr, 1,
1350 MODIFY_KlattGrid_replaceBreathinessAmplitudeTier);
1351 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace amplitude tier...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2009cxx . . $ `sys/Gui.h:879:9`!,
1352 MODIFY_KlattGrid_replaceAmplitudeTier);
1353 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace oral formant amplitude tier...", nullptr, 1,
1354 MODIFY_KlattGrid_replaceOralFormantAmplitudeTier);
1355 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace nasal formant amplitude tier...", nullptr, 1,
1356 MODIFY_KlattGrid_replaceNasalFormantAmplitudeTier);
1357 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace tracheal formant amplitude tier...", nullptr, 1,
1358 MODIFY_KlattGrid_replaceTrachealFormantAmplitudeTier);
1359 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace frication formant amplitude tier...", nullptr, 1,
1360 MODIFY_KlattGrid_replaceFricationFormantAmplitudeTier);
1361 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace frication amplitude tier", nullptr, 1,
1362 MODIFY_KlattGrid_replaceFricationAmplitudeTier);
1363 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classIntensityTier, 1, U"Replace frication bypass tier", nullptr, 1,
1364 MODIFY_KlattGrid_replaceFricationBypassTier);
1365
1366 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classKlattGrid, 1, classSound, 1, U"Filter by vocal tract...", nullptr, 1,
1367 CONVERT_ONE_AND_ONE_TO_ONE__Sound_KlattGrid_filterByVocalTract);
1368
1369 INCLUDE_MANPAGEScxx . . $ `sys/praat.h:239:9`! (manual_KlattGrid)
1370 }
1371
1372 /* End of file praat_KlattGrid_init.cpp */