Debian Codegraph @

fon/manual_formant.cpp

raw symbols SCIP
1 /* manual_formant.cpp
2 *
3 * Copyright (C) 1992-2008,2010,2011,2014-2017,2019-2023,2025 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.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #include "ManPagesM.h"cxx . . $ `<file>/sys/ManPagesM.h`/
20
21 void manual_formant_initcxx . . $ manual_formant_init(e57bd08652fa63a5). (ManPagescxx . . $ ManPages# me);
22 void manual_formant_initcxx . . $ manual_formant_init(e57bd08652fa63a5). (ManPagescxx . . $ ManPages# me) {
23
24 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Create FormantGrid...", U"ppgb", 20080425)
25 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command in the @@New menu@ to create an empty @FormantGrid object.")
26 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
27 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Start time (s)")
28 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##End time (s)")
29 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the @@time domain@ of the resulting FormantGrid.")
30 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Number of formants# (e.g. 10)")
31 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the number of formants in the resulting FormantGrid. For instance, if you set this to 10, "
32 "the resulting FormantGrid will contain 10 formant tiers (for F1 through F10) "
33 "and 10 bandwidth tiers (for B1 through B10). Each of these 20 tiers will contain one point.")
34 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Initial first formant# (e.g. 550 Hz)")
35 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the frequency value of the single formant point in the first formant tier. "
36 "Because of @@constant extrapolation@, F1 will have this value throughout the time domain.")
37 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Initial formant spacing# (e.g. 1100 Hz)")
38 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the difference between the frequency values of the points in adjacent formant tiers. "
39 "For instance, the example values mentioned here cause F2 to be 1650 Hz throughout the time domain; "
40 "F3 will be 2750 Hz, F4 will be 3850 Hz, and so on.")
41 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Initial first bandwidth# (e.g. 60 Hz)")
42 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the value of the single bandwidth point in the first bandwidth tier. "
43 "Because of @@constant extrapolation@, B1 will have this value throughout the time domain.")
44 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Initial bandwidth spacing# (e.g. 50 Hz)")
45 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the difference between the values of the points in adjacent bandwidth tiers. "
46 "For instance, the example values mentioned here cause B2 to be 110 Hz throughout the time domain; "
47 "B3 will be 160 Hz, B4 will be 210 Hz, and so on.")
48 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"To add some points to it, use @@FormantGrid: Add formant point...@ and @@FormantGrid: Add bandwidth point...@.")
49 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For more examples, see @@Source-filter synthesis@.")
50 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
51
52 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant", U"ppgb", 20050427)
53 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"One of the @@types of objects@ in Praat. "
54 "A Formant object represents spectral structure as a function of time: a %%formant contour%. "
55 "Unlike the time-stamped @FormantGrid object, it is sampled into a number of %frames centred around equally spaced times, "
56 "Each frame contains frequency and bandwidth information about several formants.")
57 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Inside a Formant object")
58 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"With @Inspect, you will see the following attributes:")
59 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%xmin")
60 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"start time, in seconds.")
61 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%xmax")
62 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"end time, in seconds.")
63 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%nx")
64 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the number of frames (≥ 1).")
65 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%dx")
66 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"time step = frame length = frame duration, in seconds.")
67 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%x1")
68 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the time associated with the first frame, in seconds. "
69 "This will usually be in the range [%xmin, %xmax]. "
70 "The time associated with the last frame (i.e., %x1 + (%nx – 1) %dx)) "
71 "will also usually be in that range.")
72 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%frame__%i_, %i = 1 ... %nx")
73 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the frames (see below).")
74 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Attributes of a formant frame")
75 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Each %frame__%i_ contains the following attributes:")
76 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%intensity")
77 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"an indication of the maximum intensity (a squared sound amplitude) in this frame.")
78 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%nFormants")
79 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the number of formants in this frame (usually between 2 and 6).")
80 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%formant__%j_, %j = 1 ... %nFormants")
81 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the information about each formant (see below).")
82 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Attributes of each formant")
83 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Each %formant__%j_ contains the following attributes:")
84 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%frequency")
85 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the formant's centre frequency (in Hz).")
86 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%bandwidth")
87 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the formant's bandwidth (in Hz).")
88 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"See also")
89 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"##Linear Prediction#")
90 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
91
92 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Down to FormantGrid", U"ppgb", 20080427)
93 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to convert every selected @Formant into a @FormantGrid.")
94 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This performs a trivial copying of frames to points. "
95 "Each formant tier and each bandwidth tier of the resulting FormantGrid contains a point for each original frame. "
96 "The intensity information is lost.")
97 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
98
99 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Draw tracks...", U"ppgb", 19980321)
100 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to draw the selected @Formant objects to the @@Picture window@.")
101 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Behaviour")
102 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Every formant value is drawn as one or two short line segments, connected, if possible, "
103 "with a line segment of the corresponding formant values in the adjacent frames.")
104 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
105 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s)")
106 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
107 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the time domain of the drawing. If ##To time# is not greater than ##From time#, "
108 "the entire formant contour is drawn.")
109 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Maximum frequency (Hz)")
110 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the height of the %y axis. For speech, 5000 Hz is a usual value.")
111 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Garnish")
112 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"determines whether axes, numbers, and texts (\"Time\", \"Formant frequency\") will be drawn in the margins around the picture. "
113 "Turn this button off if you prefer to garnish your picture by yourself with the @Margins menu.")
114 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Usage")
115 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Unlike @@Formant: Speckle...@, this procedure assumes that e.g. the second formant in frame %i "
116 "has something to do with the second formant in frame %i+1. To make this assumption more plausible, "
117 "use @@Formant: Track...@ first.")
118 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
119
120 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Formula (bandwidths)...", U"ppgb", 19980323)
121 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to modify each selected @Formant object with a specified formula.")
122 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For what you can do with formulas, see @@Matrix: Formula...@. "
123 "The %%i%th row contains the values of the %%i%th bandwidth contour.")
124 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"See @@Formant: Formula (frequencies)...@ for more information.")
125 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
126
127 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Formula (frequencies)...", U"ppgb", 19981221)
128 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to modify each selected @Formant object with a specified formula.")
129 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For what you can do with formulas, see @@Matrix: Formula...@. "
130 "The %%i%th row contains the values of the %%i%th frequency contour.")
131 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For an example, see @@Source-filter synthesis@.")
132 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
133
134 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get bandwidth at time...", U"ppgb", 19991016)
135 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to the selected @Formant object for the bandwidth of the specified formant at the specified time.")
136 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
137 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
138 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the ordinal number of the formant, counting up from 0 Hz. Specify \"2\" for %F__2_ etc.")
139 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Time (s)")
140 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the time at which to evaluate the bandwidth.")
141 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Units")
142 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the units of the result (#hertz or #Bark).")
143 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
144 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the estimated bandwidth in hertz or Bark. "
145 "If %Time is not within half a frame width of any frame centre, or "
146 "If the specified %%Formant number% is greater than the number of formants in the frame, "
147 "the return value is @undefined; "
148 "otherwise, the formant is considered to belong to the frame whose centre is nearest to the specified time.")
149 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Algorithm")
150 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If possible (i.e. if the adjacent frame has enough formants), "
151 "a linear interpolation is performed between the centre of the frame and the centre of the adjacent frame. "
152 "With Bark units, the hertz-to-Bark transformation is performed "
153 "on the two frequencies %F ± 1/2 %B (after interpolation), and the result is the difference between these two values")
154 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
155
156 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get maximum...", U"ppgb", 19991016)
157 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to ask the selected @Formant object for the maximum value of the specified formant.")
158 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
159 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the maximum, in hertz or Bark.")
160 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
161 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
162 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the ordinal number of the formant, counting up from 0 Hz. Specify \"2\" for %F__2_ etc.")
163 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s)")
164 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
165 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the selected time domain. Values outside this domain are ignored. "
166 "If ##To time# is not greater than ##From time#, the entire time domain of the formant contour is considered.")
167 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Units")
168 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the units of the result (#Hertz or #Bark).")
169 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Interpolation")
170 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the interpolation method (#None or #Parabolic). See @@vector peak interpolation@.")
171 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
172
173 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get mean...", U"ppgb", 20140421)
174 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to ask the selected @Formant object for the mean value of the specified formant.")
175 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
176 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the mean, in hertz or Bark.")
177 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
178 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
179 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the ordinal number of the formant, counting up from 0 Hz. Specify \"2\" for %F__2_ etc.")
180 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s)")
181 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
182 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the selected time domain. Values outside this domain are ignored. "
183 "If ##To time# is not greater than ##From time#, the entire time domain of the formant contour is considered.")
184 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Units")
185 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the units of the result (#Hertz or #Bark).")
186 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Scripting")
187 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"You can use this command to put the mean into a script variable:")
188 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"selectObject: \"Formant hallo\"")
189 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"mean = Get mean: 2, 0, 0, \"Hertz\"")
190 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In this case, the value will not be written into the Info window.")
191 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
192
193 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get minimum...", U"ppgb", 19991016)
194 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to ask the selected @Formant object for the minimum value of the specified formant.")
195 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
196 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the minimum, in hertz or Bark.")
197 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
198 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
199 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the ordinal number of the formant, counting up from 0 Hz. Specify \"2\" for %F__2_ etc.")
200 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s)")
201 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
202 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the selected time domain. Values outside this domain are ignored. "
203 "If ##To time# is not greater than ##From time#, the entire time domain of the formant contour is considered.")
204 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Units")
205 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the units of the result (#Hertz or #Bark).")
206 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Interpolation")
207 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the interpolation method (#None or #Parabolic). See @@vector peak interpolation@.")
208 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
209
210 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get number of formants", U"ppgb", 19991016)
211 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to ask the selected @Formant object for the number of formants in a specified frame.")
212 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Setting")
213 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Frame number")
214 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the frame number whose formant count is sought.")
215 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
216 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the number of formants.")
217 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
218
219 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get quantile...", U"ppgb", 19991016)
220 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to ask the selected @Formant object for an estimation of the specified quantile of the distribution "
221 "that underlies the attested values of the specified formant.")
222 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
223 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the quantile, in hertz or Bark.")
224 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
225 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
226 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the ordinal number of the formant, counting up from 0 Hz. Specify \"2\" for %F__2_ etc.")
227 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s)")
228 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
229 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the selected time domain. Values outside this domain are ignored. "
230 "If ##To time# is not greater than ##From time#, the entire time domain of the formant contour is considered.")
231 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Units")
232 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the units of the result (#Hertz or #Bark).")
233 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Quantile")
234 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the fraction (between 0 and 1) of the values of the underlying distribution expected to lie below the result. "
235 "For instance, if #Quantile is 0.10, the algorithm estimates the formant value below which 10\\% of all formant values "
236 "are expected to lie. To get an estimate of the %median of the underlying distribution, specify a quantile of 0.50.")
237 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Algorithm")
238 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"First, the available formant values within the selected time domain are collected in an array. "
239 "This array is then sorted and the @@quantile algorithm@ is performed. With Bark units, "
240 "the hertz-to-Bark transformation is performed before the quantile algorithm.")
241 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
242
243 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get standard deviation", U"ppgb", 19991016)
244 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to ask the selected @Formant object for the standard deviation of the attested values of the specified formant "
245 "within a specified time domain.")
246 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
247 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the standard deviation, in hertz or Bark.")
248 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
249 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
250 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the ordinal number of the formant, counting up from 0 Hz. Specify \"2\" for %F__2_ etc.")
251 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s)")
252 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
253 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the selected time domain. Values outside this domain are ignored. "
254 "If ##To time# is not greater than ##From time#, the entire time domain of the formant contour is considered.")
255 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Units")
256 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the units of the result (#Hertz or #Bark).")
257 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
258
259 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get time of maximum...", U"ppgb", 19991016)
260 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to ask the selected @Formant object for the time associated with the maximum value "
261 "of a specified formant within a specified time domain.")
262 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
263 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
264 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the ordinal number of the formant, counting up from 0 Hz. Specify \"2\" for %F__2_ etc.")
265 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s)")
266 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
267 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the selected time domain. Values outside this domain are ignored, except for interpolation. "
268 "If ##To time# is not greater than ##From time#, the entire time domain of the formant contour is considered.")
269 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Units")
270 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the units of the result (#Hertz or #Bark).")
271 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Interpolation")
272 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the interpolation method (#None or #Parabolic). See @@vector peak interpolation@.")
273 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
274 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the time expressed in seconds. If no relevant formants are found, the value is @undefined.")
275 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
276
277 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get time of minimum...", U"ppgb", 19991016)
278 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to ask the selected @Formant object for the time associated with the minimum value "
279 "of a specified formant within a specified time domain.")
280 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
281 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
282 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the ordinal number of the formant, counting up from 0 Hz. Specify \"2\" for %F__2_ etc.")
283 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s)")
284 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
285 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the selected time domain. Values outside this domain are ignored, except for interpolation. "
286 "If ##To time# is not greater than ##From time#, the entire time domain of the formant contour is considered.")
287 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Units")
288 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the units of the result (#Hertz or #Bark).")
289 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Interpolation")
290 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the interpolation method (#None or #Parabolic). See @@vector peak interpolation@.")
291 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
292 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the time expressed in seconds. If no relevant formants are found, the value is @undefined.")
293 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
294
295 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Get value at time...", U"ppgb", 19991016)
296 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A @@Query submenu|query@ to ask the selected @Formant object for the frequency of the specified formant at the specified time.")
297 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
298 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
299 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the ordinal number of the formant, counting up from 0 Hz. Specify \"2\" for %F__2_ etc.")
300 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Time (s)")
301 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the time at which to evaluate the formant frequency.")
302 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Units)")
303 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the units of the result (#Hertz or #Bark).")
304 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Interpolation")
305 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the interpolation method, see @@vector value interpolation@. "
306 "Always Linear.")
307 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Return value")
308 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"the bandwidth in hertz or Bark. "
309 "If #Time is not within half a frame width of any frame centre, or "
310 "if ##Formant number# is greater than the number of formants in the frame, "
311 "the value is @undefined; "
312 "otherwise, the formant is considered to belong to the frame whose centre is nearest to #Time.")
313 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Algorithm")
314 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If possible (i.e. if the adjacent frame has enough formants), "
315 "a linear interpolation is performed between the centre of the frame and the centre of the adjacent frame. "
316 "With Bark units, the hertz-to-Bark transformation is performed before interpolation.")
317 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
318
319 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Speckle...", U"ppgb", 20030916)
320 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to draw the selected @Formant objects to the @@Picture window@.")
321 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Behaviour")
322 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Every formant value is drawn as a small circle, filled with the current colour.")
323 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
324 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s)")
325 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
326 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the time domain of the drawing. If ##To time# is not greater than ##From time#, "
327 "the entire formant contour is drawn.")
328 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Maximum frequency (Hz)")
329 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the height of the %y axis. For speech, 5000 Hz is a usual value.")
330 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Dynamic range (dB)")
331 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"determines the signal intensity (as stored in each formant frame) below which "
332 "no formants will be drawn. If zero, all formants will be drawn. The standard value is 30 dB, "
333 "which would mean that formants in frames with intensities less than the maximum intensity minus 30 dB will not be drawn.")
334 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Garnish")
335 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"determines whether axes, numbers, and texts (\"Time\", \"Formant frequency\") will be drawn in the margins around the picture. "
336 "Turn this button off if you prefer to garnish your picture by yourself with the @Margins menu.")
337 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
338
339 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Formant: Track...", U"ppgb", 20020308)
340 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to extract a specified number of formant tracks from each selected @Formant object. "
341 "The tracks represent the cheapest paths through the measured formant values in consecutive frames.")
342 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"How to use")
343 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"In order to be capable of producing three tracks (i.e. F1, F2, and F3), there must be at least "
344 "three formant candidates in %every frame of the Formant object. The typical use of "
345 "this command, therefore, is to analyse five formants with @@Sound: To Formant (burg)...@ "
346 "and then use the tracking command to extract three tracks.")
347 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"When to use, when not")
348 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This command only makes sense if the whole of the formant contour makes sense. "
349 "For speech, formant contours make sense only for vowels and the like. "
350 "During some consonants, the Formant object may have fewer than three formant values, "
351 "and trying to create three tracks through them will fail. "
352 "You will typically use this command for the contours in diphthongs, if at all.")
353 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
354 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"To be able to interpret the settings, you should know that the aim of the procedure is "
355 "to minimize the sum of the %costs associated with the three tracks.")
356 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Number of tracks")
357 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the number of formant tracks that the procedure must find. If this number is 3, "
358 "the procedure will try to find tracks for F1, F2, and F3; if the Formant object contains "
359 "a frame with less than three formants, the tracking procedure will fail.")
360 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Reference F1 (Hz)")
361 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the preferred value near which the first track wants to be. "
362 "For average (i.e. adult female) speakers, this value will be around "
363 "the average F1 for vowels of female speakers, i.e. 550 Hz.")
364 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Reference F2 (Hz)")
365 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the preferred value near which the second track wants to be. "
366 "A good value will be around "
367 "the average F2 for vowels of female speakers, i.e. 1650 Hz.")
368 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Reference F3 (Hz)")
369 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the preferred value near which the third track wants to be. "
370 "A good value will be around "
371 "the average F3 for vowels of female speakers, i.e. 2750 Hz. "
372 "This argument will be ignored if you choose to have fewer than three tracks, "
373 "i.e., if you are only interested in F1 and F2.")
374 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Reference F4 (Hz)")
375 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the preferred value near which the fourth track wants to be. "
376 "A good value may be around 3850 Hz, but you will usually not want to "
377 "track F4, because traditional formant lore tends to ignore it "
378 "(however inappropriate this may be for the vowel [i]), "
379 "and because Formant objects often contain not more than three formant values "
380 "in some frames. So you will not usually specify a higher %%Number of tracks% than 3, "
381 "and in that case, this argument will be ignored.")
382 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Reference F5 (Hz)")
383 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the preferred value near which the five track wants to be. "
384 "In the unlikely case that you want five tracks, "
385 "a good value may be around 4950 Hz.")
386 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Frequency cost (per kiloHertz)")
387 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the local cost of having a formant value in your track that deviates "
388 "from the reference value. For instance, if a candidate (i.e. any formant in a frame "
389 "of the Formant object) has a formant frequency of 800 Hz, "
390 "and ##Frequency cost# is 1.0/kHz, "
391 "the cost of putting this formant in the first track is 0.250, "
392 "because the distance to the reference F1 of 550 Hz is 250 Hz. "
393 "The cost of putting the formant in the second track would be 0.850 "
394 "(= (1.650 kHz - 0.600 kHz) · 1.0/kHz), so we see that the procedure "
395 "locally favours the inclusion of the 800 Hz candidate into the F1 track. "
396 "But the next two cost factors may override this local preference.")
397 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Bandwidth cost")
398 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the local cost of having a bandwidth, relative to the formant frequency. "
399 "For instance, if a candidate has a formant frequency of 400 Hz and "
400 "a bandwidth of 80 Hz, and ##Bandwidth cost# is 1.0, "
401 "the cost of having this formant in any track is (80/400) · 1.0 = 0.200. "
402 "So we see that the procedure locally favours the inclusion of candidates "
403 "with low relative bandwidths.")
404 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Transition cost (per octave)")
405 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the cost of having two different consecutive formant values in a track. "
406 "For instance, if a proposed track through the candidates has two consecutive formant "
407 "values of 300 Hz and 424 Hz, and ##Transition cost# is 1.0/octave, "
408 "the cost of having this large frequency jump is (0.5 octave) · (1.0/octave) = 0.500.")
409 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Algorithm")
410 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This command uses a Viterbi algorithm with multiple planes. For instance, if the selected Formant object "
411 "contains up to five formants per frame, and you request three tracks, the Viterbi algorithm will have to choose "
412 "between ten candidates (the number of combinations of three out of five) for each frame.")
413 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The formula for the cost of e.g. track 3, with proposed values %F__2%i_ (%i = 1...%N, "
414 "where %N is the number of frames) is:")
415 EQUATIONcxx . . $ `sys/ManPagesM.h:57:9`! (U"∑__%i=1..%N_ %frequencyCost·|%F__3%i_ – %referenceF3|/1000 +")
416 EQUATIONcxx . . $ `sys/ManPagesM.h:57:9`! (U"+ ∑__%i=1..%N_ %bandWidthCost·%B__3%i_/%F__3%i_ +")
417 EQUATIONcxx . . $ `sys/ManPagesM.h:57:9`! (U"+ ∑__%i=1..%N-1_ %transitionCost·|log__2_(%F__3%i_/%F__3,%i+1_)|")
418 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Analogous formulas compute the cost of track 1 and track 2. "
419 "The procedure will assign those candidates to the three tracks that minimize "
420 "the sum of three track costs.")
421 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
422
423 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"FormantGrid", U"ppgb", 20080427)
424 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"One of the @@types of objects@ in Praat.")
425 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"A FormantGrid object represents spectral structure as a function of time: a %%formant contour%. "
426 "Unlike the evenly sampled @Formant object, it consists of a number of formant tiers and bandwidth tiers, "
427 "each of which contains a number of formant or bandwidth %points (or %targets), sorted by time.")
428 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For examples, see @@Source-filter synthesis@.")
429 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"FormantGrid commands")
430 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Creation:")
431 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"From scratch:")
432 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"• @@Create FormantGrid...")
433 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"• @@FormantGrid: Add formant point...")
434 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"• @@FormantGrid: Add bandwidth point...")
435 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"Copy from another object:")
436 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"• @@Formant: Down to FormantGrid@: trivial copying of frames to points.")
437 //NORMAL (U"Conversion:")
438 //LIST_ITEM (U"• @@FormantGrid: Down to PointProcess@: copy times.")
439 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Synthesis:")
440 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"• @@Sound & FormantGrid: Filter@: see @@Source-filter synthesis@.")
441 //NORMAL (U"Queries:")
442 //LIST_ITEM (U"• @@Get low index from time...")
443 //LIST_ITEM (U"• @@Get high index from time...")
444 //LIST_ITEM (U"• @@Get nearest index from time...")
445 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Modification:")
446 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"• @@FormantGrid: Add formant point...")
447 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"• @@FormantGrid: Add bandwidth point...")
448 //LIST_ITEM (U"• @@Remove point...")
449 //LIST_ITEM (U"• @@Remove point near...")
450 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"• @@FormantGrid: Remove formant points between...")
451 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"• @@FormantGrid: Remove bandwidth points between...")
452 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
453
454 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"FormantGrid: Add bandwidth point...", U"ppgb", 20080425)
455 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to add a bandwidth point to each selected @FormantGrid.")
456 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For examples, see @@Source-filter synthesis@.")
457 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
458 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
459 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the number of the formant (e.g. 1, 2,...) to which a bandwidth point is to be added.")
460 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Time (s)")
461 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the time at which a bandwidth point is to be added.")
462 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Bandwidth (Hz)")
463 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the bandwidth value of the requested new point.")
464 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
465 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"To set the bandwidth of F2 at 0.3 seconds to 130 Hz, "
466 "you set ##Formant number# to 2, #Time to 0.3 s, and #Bandwidth to 130 Hz.")
467 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Behaviour")
468 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The formant tier is modified so that it contains the new point. "
469 "If a bandwidth point at the specified time was already present in the formant tier, nothing happens.")
470 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
471
472 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"FormantGrid: Add formant point...", U"ppgb", 20080425)
473 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to add a formant point to each selected @FormantGrid.")
474 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For examples, see @@Source-filter synthesis@.")
475 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
476 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
477 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the number of the formant (e.g. 1, 2,...) to which a formant point is to be added.")
478 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Time (s)")
479 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the time at which a formant point is to be added.")
480 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Frequency (Hz)")
481 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the formant frequency value of the requested new point.")
482 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
483 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"To set the value of F2 at 0.3 seconds to 2200 Hz, "
484 "you set ##Formant number# to 2, #Time to 0.3 s, and #Frequency to 2200 Hz.")
485 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Behaviour")
486 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The formant tier is modified so that it contains the new point. "
487 "If a formant point at the specified time was already present in the formant tier, nothing happens.")
488 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
489
490 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"FormantGrid: Remove bandwidth points between...", U"ppgb", 20080427)
491 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to remove some points from a bandwidth tier in every selected @FormantGrid.")
492 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
493 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant number")
494 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the formant (1, 2,...) from whose bandwidth tier you want to remove some points.")
495 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s))")
496 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
497 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the times between which you want to remove all bandwidth points.")
498 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
499 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you want to remove all bandwidth points in F2 between 0.5 and 0.7 seconds, "
500 "you set ##Formant number# to 2, ##From time# to 0.5 s, and ##To time# to 0.7 s.")
501 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
502
503 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"FormantGrid: Remove formant points between...", U"ppgb", 20080427)
504 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to remove some points from a formant tier in every selected @FormantGrid.")
505 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
506 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"%%Formant number")
507 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the formant (1, 2,...) from which you want to remove some points.")
508 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From time (s))")
509 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##To time (s)")
510 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the times between which you want to remove all formant points.")
511 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
512 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If you want to remove all formant points in F2 between 0.5 and 0.7 seconds, "
513 "you set ##Formant number# to 2, ##From time# to 0.5 s, and ##To time# to 0.7.")
514 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
515
516 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Sound: To Formant (burg)...", U"ppgb", 20200608)
517 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command that creates a @Formant object from every selected @Sound object. "
518 "It performs a short-term spectral analysis, approximating the spectrum of each "
519 "analysis frame by a number of formants.")
520 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
521 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Time step (s)")
522 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the time between the centres of consecutive analysis frames. If the sound is 2 seconds long, "
523 "and the time step is 0.01 seconds, there will be approximately 200 analysis frames. "
524 "The actual number is somewhat lower (usually 195), because we cannot measure very well "
525 "near the edges. If you set the time step to 0.0 (the standard), Praat will use a time step "
526 "that is equal to 25 percent of the analysis window length (see below).")
527 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Maximum number of formants")
528 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"for most analyses of human speech, you will want to extract 5 formants per frame. "
529 "This, in combination with the ##Formant ceiling# setting, is the only way "
530 "in which this procedure will give you results compatible with how people "
531 "tend to interpret formants for vowels, i.e. in terms of "
532 "vowel height (F1) and vowel place (F2). Otherwise, the ##Maximum number of formants# can be any multiple of 0.5, "
533 "you can choose 4, 4.5, 5, 5.5, 6, and so on (see below).")
534 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Formant ceiling (Hz)")
535 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the maximum frequency of the formant search range, in hertz. It is crucial that you set this to a value suitable for your speaker. "
536 "An average adult female speaker has a vocal tract length that requires an average ceiling of 5500 Hz (which is Praat's standard value), "
537 "an average adult male speaker has a vocal tract length that requires an average ceiling of 5000 Hz, "
538 "and a young child may have a vocal tract length that requires an average ceiling of 8000 Hz. "
539 "These are just examples; there is large variation between speakers, "
540 "and @@Escudero, Boersma, Rauber & Bion (2009)@ showed that the vocal tract length difference "
541 "between a person's front vowels and their back vowels may be greater "
542 "than the average vocal tract length difference between males and females. "
543 "If you choose a too high ceiling, you may end up with too few formants in the low frequency region, "
544 "e.g. analysing an [u] as having a single formant near 500 Hz whereas you want two formants at 300 and 600 Hz. "
545 "You may like to experiment with this setting on steady vowels.")
546 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Window length (s)")
547 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the effective duration of the analysis window, in seconds. The actual length is twice this value, "
548 "because Praat uses a Gaussian-like analysis window with sidelobes below -120 dB. "
549 "For instance, if the ##Window length# is 0.025 seconds, the actual Gaussian window duration "
550 "is 0.050 seconds. This window has values below 4\\% outside the central 0.025 seconds, "
551 "and its frequency resolution (-3 dB point) is 1.298 / (0.025 s) = 51.9 Hz, as computed "
552 "with the formula given at @@Sound: To Spectrogram...@. This is comparable to the bandwidth "
553 "of a Hamming window of 0.025 seconds, which is 1.303 / (0.025 s) = 52.1 Hz, "
554 "but that window (which is the window most often used in other analysis programs) "
555 "has three spectral lobes of about -42 dB on each side.")
556 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Pre-emphasis from (Hz)")
557 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the +3 dB point for an inverted low-pass filter with a slope of +6 dB/octave. "
558 "If this value is 50 Hz, then frequencies below 50 Hz are not enhanced, "
559 "frequencies around 100 Hz are amplified by 6 dB, frequencies around 200 Hz are amplified by 12 dB, "
560 "and so forth. The point of this is that vowel spectra tend to fall by 6 dB per octave; "
561 "the pre-emphasis creates a flatter spectrum, which is better for formant analysis "
562 "because we want our formants to match the local peaks, not the global spectral slope. "
563 "See the @@source-filter synthesis@ tutorial for a technical explanation, "
564 "and @@Sound: Pre-emphasize (in-place)...@ for the algorithm.")
565 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Algorithm")
566 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The sound will be resampled to a sampling frequency of twice the value of %%Formant ceiling%, "
567 "with the algorithm described at @@Sound: Resample...@. "
568 "After this, pre-emphasis is applied with the algorithm described at @@Sound: Pre-emphasize (in-place)...@. "
569 "For each analysis window, Praat applies a Gaussian-like window, "
570 "and computes the LPC coefficients with the algorithm by Burg, as given by @@Childers (1978)@ "
571 "and @@Press et al. (1992)@. The number of \"poles\" that this algorithm computes is twice the %%Maximum number of formants%; "
572 "that's why you can set the %%Maximum number of formants% to any multiple of 0.5).")
573 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The algorithm will initially find ##Maximum number of formants# formants in the whole range between 0 Hz "
574 "and ##Formant ceiling#. The initially found formants can therefore sometimes have very low frequencies (near 0 Hz) "
575 "or very high frequencies (near ##Formant ceiling#). Such low or high \"formants\" tend to be artefacts of the LPC algorithm, "
576 "i.e., the algorithm tends to use them to match the spectral slope if that slope differs from the 6 dB/octave assumption. "
577 "Therefore, such low or high \"formants\" cannot usually be associated with the vocal tract resonances that you are looking for. "
578 "In order for you to be able to identify the traditional F1 and F2, "
579 "all formants below 50 Hz and all formants above ##Formant ceiling# minus 50 Hz, "
580 "are therefore removed. If you don't want this removal, you may experiment with @@Sound: To Formant (keep all)...@ instead. "
581 "If you prefer an algorithm that always yields the requested number of formants, nicely distributed "
582 "across the frequency domain, you may try the otherwise rather unreliable Split-Levinson procedure @@Sound: To Formant (sl)...@.")
583 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
584
585 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Sound: To Formant (keep all)...", U"ppgb", 20000210)
586 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command that creates a @Formant object from every selected @Sound object. Not recommended for general use.")
587 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Purpose")
588 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"to perform a short-term spectral analysis, approximating the spectrum of each frame by a number of formants.")
589 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
590 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The same as with @@Sound: To Formant (burg)...@.")
591 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Algorithm")
592 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The same as with @@Sound: To Formant (burg)...@. In contrast with that command, "
593 "however, all formant values are kept, even those below 50 Hz and those above %%Formant ceiling% minus 50 Hz. "
594 "Although this makes the identification of the traditional F1 and F2 more difficult, "
595 "this might give better results in resynthesis (see @@Sound & Formant: Filter@), but it usually generates funny values instead.")
596 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
597
598 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Sound: To Formant (sl)...", U"ppgb", 20200608)
599 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command that creates a @Formant object from every selected @Sound object. Not recommended for general use.")
600 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Purpose")
601 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"to perform a short-term spectral analysis, approximating the spectrum of each frame by a number of formants.")
602 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
603 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The same as with @@Sound: To Formant (burg)...@.")
604 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Algorithm")
605 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The algorithm is based on the implementation of the “Split Levinson” algorithm by @@Willems (1986)@. "
606 "This algorithm will always find the requested number of formants in every frame, even if they do not exist. "
607 "The standard routine (@@Sound: To Formant (burg)...@) yields much more reliable formant values, though it is more sensitive "
608 "to the %%Formant ceiling% argument.")
609 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Because of the general funny behaviour of the Split-Levinson algorithm, we did not bother to implement an analysis "
610 "of the bandwidths. They are all set arbitrarily to 50 Hz.")
611 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
612
613 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Sound & Formant: Filter", U"ppgb", 19991119)
614 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to create a new Sound from the selected @Sound and @Formant objects.")
615 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For examples, see @@Source-filter synthesis@.")
616 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The resulting Sound is scaled so that its maximum absolute amplitude is 0.99. "
617 "If you don't want this, use @@Sound & Formant: Filter (no scale)@ instead.")
618 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
619
620 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Sound & Formant: Filter (no scale)", U"ppgb", 19991119)
621 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to create a new Sound from the selected @Sound and @Formant objects.")
622 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For examples, see @@Source-filter synthesis@.")
623 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Unlike what happens in @@Sound & Formant: Filter@, "
624 "the resulting Sound is not scaled. This allows generation of a series "
625 "of signals with controlled relative intensities.")
626 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
627
628 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Sound & FormantGrid: Filter", U"ppgb", 20080425)
629 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to create a new Sound from the selected @Sound and @FormantGrid objects.")
630 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For examples, see @@Source-filter synthesis@.")
631 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The resulting Sound is scaled so that its maximum absolute amplitude is 0.99. "
632 "If you don't want this, use @@Sound & FormantGrid: Filter (no scale)@ instead.")
633 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
634
635 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Sound & FormantGrid: Filter (no scale)", U"ppgb", 20080425)
636 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to create a new Sound from the selected @Sound and @FormantGrid objects.")
637 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"For examples, see @@Source-filter synthesis@.")
638 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Unlike what happens in @@Sound & FormantGrid: Filter@, "
639 "the resulting Sound is not scaled. This allows generation of a series "
640 "of signals with controlled relative intensities.")
641 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
642
643 }
644
645 /* End of file manual_formant.cpp */