Debian Codegraph @

fon/praat_Sound.cpp

raw symbols SCIP
1 /* praat_Sound.cpp
2 *
3 * Copyright (C) 1992-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.
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 "Ltas.h"cxx . . $ `<file>/fon/Ltas.h`/
20 #include "Manipulation.h"cxx . . $ `<file>/fon/Manipulation.h`/
21 #include "ParamCurve.h"cxx . . $ `<file>/fon/ParamCurve.h`/
22 #include "Sound_and_Spectrogram.h"cxx . . $ `<file>/fon/Sound_and_Spectrogram.h`/
23 #include "Sound_and_Spectrum.h"cxx . . $ `<file>/fon/Sound_and_Spectrum.h`/
24 #include "Sound_extensions.h"cxx . . $ `<file>/dwtools/Sound_extensions.h`/
25 #include "Sound_and_TextGrid_extensions.h"cxx . . $ `<file>/dwtools/Sound_and_TextGrid_extensions.h`/
26 #include "Sound_to_Cochleagram.h"cxx . . $ `<file>/fon/Sound_to_Cochleagram.h`/
27 #include "Sound_to_Formant.h"cxx . . $ `<file>/fon/Sound_to_Formant.h`/
28 #include "Sound_to_Harmonicity.h"cxx . . $ `<file>/fon/Sound_to_Harmonicity.h`/
29 #include "Sound_to_Intensity.h"cxx . . $ `<file>/fon/Sound_to_Intensity.h`/
30 #include "Sound_to_Pitch.h"cxx . . $ `<file>/fon/Sound_to_Pitch.h`/
31 #include "Sound_to_PointProcess.h"cxx . . $ `<file>/fon/Sound_to_PointProcess.h`/
32 #include "SoundEditor.h"cxx . . $ `<file>/foned/SoundEditor.h`/
33 #include "SoundRecorder.h"cxx . . $ `<file>/foned/SoundRecorder.h`/
34 #include "SoundSet.h"cxx . . $ `<file>/fon/SoundSet.h`/
35 #include "SpectrumEditor.h"cxx . . $ `<file>/foned/SpectrumEditor.h`/
36 #include "TextGrid_Sound.h"cxx . . $ `<file>/fon/TextGrid_Sound.h`/
37 #include "mp3.h"cxx . . $ `<file>/external/mp3/mp3.h`/
38 #include "SpeechRecognizer.h"cxx . . $ `<file>/fon/SpeechRecognizer.h`/
39
40 #include "praat_Sound.h"cxx . . $ `<file>/fon/praat_Sound.h`/
41
42 /***** LONGSOUND *****/
43
44 DIRECTcxx . . $ `sys/praatM.h:412:9`! (INFO_NONE__LongSound_concatenate) {
45 INFO_NONEcxx . . $ `sys/praatM.h:583:9`!
46 Melder_informationcxx . . $ Melder_information(3eb398314feba58b). (U"To concatenate LongSound objects, "
47 "select them in the list\nand choose \"Save as WAV file...\" or a similar command.\n"
48 "The result will be a sound file that contains\nthe concatenation of the selected sounds."
49 );
50 INFO_NONE_ENDcxx . . $ `sys/praatM.h:584:9`!
51 }
52
53 FORMcxx . . $ `sys/praatM.h:79:9`! (NEW_LongSound_extractPart, U"LongSound: Extract part", U"LongSound: Extract part...") {
54 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
55 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"1.0")
56 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (preserveTimes, U"Preserve times", true)
57 OKcxx . . $ `sys/praatM.h:327:9`!
58 DOcxx . . $ `sys/praatM.h:354:9`!
59 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (LongSound)
60 autoSoundcxx . . $ autoSound# result = LongSound_extractPartcxx . . $ LongSound_extractPart(8c068bc499307d4e). (me, fromTime, toTime, preserveTimes);
61 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
62 }
63
64 FORMcxx . . $ `sys/praatM.h:79:9`! (REAL_LongSound_getIndexFromTime, U"LongSound: Get sample index from time", U"Sound: Get index from time...") {
65 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5")
66 OKcxx . . $ `sys/praatM.h:327:9`!
67 DOcxx . . $ `sys/praatM.h:354:9`!
68 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (LongSound)
69 const double result = Sampled_xToIndexcxx . . $ Sampled_xToIndex(b395a896ba2eff9a). (me, time);
70 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (index at ", time, U" seconds)")
71 }
72
73 DIRECTcxx . . $ `sys/praatM.h:412:9`! (REAL_LongSound_getSamplePeriod) {
74 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (LongSound)
75 const double result = mycxx . . $ `melder/melder.h:44:9`! dxcxx . . $ structSampled#dx.;
76 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" seconds");
77 }
78
79 DIRECTcxx . . $ `sys/praatM.h:412:9`! (REAL_LongSound_getSampleRate) {
80 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (LongSound)
81 const double result = 1.0 / mycxx . . $ `melder/melder.h:44:9`! dxcxx . . $ structSampled#dx.;
82 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Hz")
83 }
84
85 FORMcxx . . $ `sys/praatM.h:79:9`! (REAL_LongSound_getTimeFromIndex, U"LongSound: Get time from sample index", U"Sound: Get time from index...") {
86 INTEGERcxx . . $ `sys/praatM.h:108:9`! (sampleIndex, U"Sample index", U"100")
87 OKcxx . . $ `sys/praatM.h:327:9`!
88 DOcxx . . $ `sys/praatM.h:354:9`!
89 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (LongSound)
90 const double result = Sampled_indexToXcxx . . $ Sampled_indexToX(65bcd2c9acbb3dd5). (me, sampleIndex);
91 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" seconds")
92 }
93
94 DIRECTcxx . . $ `sys/praatM.h:412:9`! (INTEGER_LongSound_getNumberOfSamples) {
95 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (LongSound)
96 const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx.;
97 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" samples")
98 }
99
100 DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__LongSound_help) {
101 HELPcxx . . $ `sys/praatM.h:616:9`! (U"LongSound")
102 }
103
104 FORM_READcxx . . $ `sys/praatM.h:419:9`! (READ_ONE__LongSound_open, U"Open long sound file", nullptr, true) {
105 READ_ONEcxx . . $ `sys/praatM.h:1267:9`!
106 autoLongSoundcxx . . $ autoLongSound# result = LongSound_opencxx . . $ LongSound_open(107087064625cb51). (file);
107 READ_ONE_ENDcxx . . $ `sys/praatM.h:1268:9`!
108 }
109
110 FORMcxx . . $ `sys/praatM.h:79:9`! (PLAY_LongSound_playPart, U"LongSound: Play part", nullptr) {
111 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
112 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"10.0")
113 OKcxx . . $ `sys/praatM.h:327:9`!
114 DOcxx . . $ `sys/praatM.h:354:9`!
115 PLAY_EACHcxx . . $ `sys/praatM.h:650:9`! (LongSound)
116 LongSound_playPartcxx . . $ LongSound_playPart(f36b44453a225d5d). (me, fromTime, toTime, nullptrcxx . . $ MelderCallback#MelderCallback(88514059881c9050)., nullptr);
117 PLAY_EACH_ENDcxx . . $ `sys/praatM.h:658:9`!
118 }
119
120 FORMcxx . . $ `sys/praatM.h:79:9`! (SAVE_ONE__LongSound_savePartAsAudioFile, U"LongSound: Save part as audio file", nullptr) {
121 OUTFILEcxx . . $ `sys/praatM.h:156:9`! (audioFileName, U"Audio file", U"")
122 CHOICEcxx . . $ `sys/praatM.h:216:9`! (type, U"Type", 3)
123 { int i; for (i = 1; i <= Melder_NUMBER_OF_AUDIO_FILE_TYPEScxx . . $ `melder/melder_audiofiles.h:31:9`!; i ++) {
124 OPTIONcxx . . $ `sys/praatM.h:246:9`! (Melder_audioFileTypeString (i))
125 }}
126 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
127 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"10.0")
128 OKcxx . . $ `sys/praatM.h:327:9`!
129 DOcxx . . $ `sys/praatM.h:354:9`!
130 SAVE_ONE_BY_NAMEcxx . . $ `sys/praatM.h:1282:9`! (LongSound, audioFileName, U"save part of the selected LongSound object to the audio file")
131 LongSound_savePartAsAudioFilecxx . . $ LongSound_savePartAsAudioFile(ecfe2aaf8cd9945b). (me, type, fromTime, toTime, & file, 16);
132 SAVE_ONE_BY_NAME_ENDcxx . . $ `sys/praatM.h:1287:9`!
133 }
134
135 FORMcxx . . $ `sys/praatM.h:79:9`! (NEW_LongSound_to_TextGrid, U"LongSound: To TextGrid...", U"LongSound: To TextGrid...") {
136 SENTENCEcxx . . $ `sys/praatM.h:126:9`! (tierNames, U"Tier names", U"Mary John bell")
137 SENTENCEcxx . . $ `sys/praatM.h:126:9`! (pointTiers, U"Point tiers", U"bell")
138 OKcxx . . $ `sys/praatM.h:327:9`!
139 DOcxx . . $ `sys/praatM.h:354:9`!
140 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (LongSound)
141 autoTextGridcxx . . $ autoTextGrid# result = TextGrid_createcxx . . $ TextGrid_create(2af4734b8a73c5bc). (mycxx . . $ `melder/melder.h:44:9`! xmincxx . . $ structFunction#xmin., mycxx . . $ `melder/melder.h:44:9`! xmaxcxx . . $ structFunction#xmax., tierNames, pointTiers);
142 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
143 }
144
145 DIRECTcxx . . $ `sys/praatM.h:412:9`! (EDITOR_ONE__LongSound_view) {
146 EDITOR_ONEcxx . . $ `sys/praatM.h:1327:9`! (a,LongSound)
147 autoSoundEditorcxx . . $ autoSoundEditor# editor = SoundEditor_createcxx . . $ SoundEditor_create(2cb9346986abbe40). (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, me);
148 EDITOR_ONE_ENDcxx . . $ `sys/praatM.h:1331:9`!
149 }
150
151 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_saveAsAifcFile, U"Save as AIFC file", nullptr, U"aifc") {
152 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected LongSound object(s) to the AIFC file")
153 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_AIFCcxx . . $ `melder/melder_audiofiles.h:25:9`!, 16);
154 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
155 }
156
157 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_saveAsAiffFile, U"Save as AIFF file", nullptr, U"aiff") {
158 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected LongSound object(s) to the AIFF file")
159 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_AIFFcxx . . $ `melder/melder_audiofiles.h:24:9`!, 16);
160 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
161 }
162
163 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_saveAsNextSunFile, U"Save as NeXT/Sun file", nullptr, U"au") {
164 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected LongSound object(s) to the NeXT/Sun file")
165 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_NEXT_SUNcxx . . $ `melder/melder_audiofiles.h:27:9`!, 16);
166 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
167 }
168
169 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_saveAsNistFile, U"Save as NIST file", nullptr, U"nist") {
170 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected LongSound object(s) to the NIST file")
171 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_NISTcxx . . $ `melder/melder_audiofiles.h:28:9`!, 16);
172 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
173 }
174
175 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_saveAsFlacFile, U"Save as FLAC file", nullptr, U"flac") {
176 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected LongSound object(s) to the FLAC file")
177 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_FLACcxx . . $ `melder/melder_audiofiles.h:29:9`!, 16);
178 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
179 }
180
181 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_saveAsWavFile, U"Save as WAV file", nullptr, U"wav") {
182 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected LongSound object(s) to the WAV file")
183 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_WAVcxx . . $ `melder/melder_audiofiles.h:26:9`!, 16);
184 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
185 }
186
187 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveLeftChannelAsAifcFile, U"Save left channel as AIFC file", nullptr, U"aifc") {
188 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the left channel of the selected LongSound object to the AIFC file")
189 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_AIFCcxx . . $ `melder/melder_audiofiles.h:25:9`!, 0, file);
190 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
191 }
192
193 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveLeftChannelAsAiffFile, U"Save left channel as AIFF file", nullptr, U"aiff") {
194 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the left channel of the selected LongSound object to the AIFF file")
195 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_AIFFcxx . . $ `melder/melder_audiofiles.h:24:9`!, 0, file);
196 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
197 }
198
199 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveLeftChannelAsNextSunFile, U"Save left channel as NeXT/Sun file", nullptr, U"au") {
200 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the left channel of the selected LongSound object to the NeXT/Sun file")
201 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_NEXT_SUNcxx . . $ `melder/melder_audiofiles.h:27:9`!, 0, file);
202 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
203 }
204
205 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveLeftChannelAsNistFile, U"Save left channel as NIST file", nullptr, U"nist") {
206 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the left channel of the selected LongSound object to the NIST file")
207 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_NISTcxx . . $ `melder/melder_audiofiles.h:28:9`!, 0, file);
208 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
209 }
210
211 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveLeftChannelAsFlacFile, U"Save left channel as FLAC file", nullptr, U"flac") {
212 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the left channel of the selected LongSound object to the FLAC file")
213 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_FLACcxx . . $ `melder/melder_audiofiles.h:29:9`!, 0, file);
214 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
215 }
216
217 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveLeftChannelAsWavFile, U"Save left channel as WAV file", nullptr, U"wav") {
218 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the left channel of the selected LongSound object to the WAV file")
219 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_WAVcxx . . $ `melder/melder_audiofiles.h:26:9`!, 0, file);
220 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
221 }
222
223 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveRightChannelAsAifcFile, U"Save right channel as AIFC file", nullptr, U"aifc") {
224 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the right channel of the selected LongSound object to the AIFC file")
225 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_AIFCcxx . . $ `melder/melder_audiofiles.h:25:9`!, 1, file);
226 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
227 }
228
229 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveRightChannelAsAiffFile, U"Save right channel as AIFF file", nullptr, U"aiff") {
230 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the right channel of the selected LongSound object to the AIFF file")
231 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_AIFFcxx . . $ `melder/melder_audiofiles.h:24:9`!, 1, file);
232 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
233 }
234
235 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveRightChannelAsNextSunFile, U"Save right channel as NeXT/Sun file", nullptr, U"au") {
236 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the right channel of the selected LongSound object to the NeXT/Sun file")
237 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_NEXT_SUNcxx . . $ `melder/melder_audiofiles.h:27:9`!, 1, file);
238 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
239 }
240
241 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveRightChannelAsNistFile, U"Save right channel as NIST file", nullptr, U"nist") {
242 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the right channel of the selected LongSound object to the NIST file")
243 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_NISTcxx . . $ `melder/melder_audiofiles.h:28:9`!, 1, file);
244 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
245 }
246
247 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveRightChannelAsFlacFile, U"Save right channel as FLAC file", 0, U"flac") {
248 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the right channel of the selected LongSound object to the FLAC file")
249 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_FLACcxx . . $ `melder/melder_audiofiles.h:29:9`!, 1, file);
250 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
251 }
252
253 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__LongSound_saveRightChannelAsWavFile, U"Save right channel as WAV file", 0, U"wav") {
254 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (LongSound, U"save the right channel of the selected LongSound object to the WAV file")
255 LongSound_saveChannelAsAudioFilecxx . . $ LongSound_saveChannelAsAudioFile(d8aad8f0b8024c1e). (me, Melder_WAVcxx . . $ `melder/melder_audiofiles.h:26:9`!, 1, file);
256 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
257 }
258
259 FORMcxx . . $ `sys/praatM.h:79:9`! (SETTINGS__LongSoundSettings, U"LongSound settings", U"LongSound") {
260 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"This setting determines the maximum number of seconds")
261 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"for viewing the waveform and playing a sound in the LongSound window.")
262 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"The LongSound window can become very slow if you set it too high.")
263 NATURALcxx . . $ `sys/praatM.h:120:9`! (maximumViewablePart, U"Maximum viewable part (seconds)", U"60")
264 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Note: this setting works for the next long sound file that you open,")
265 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"not for currently existing LongSound objects.")
266 OKcxx . . $ `sys/praatM.h:327:9`!
267 SET_INTEGERcxx . . $ `sys/praatM.h:335:9`! (maximumViewablePart, LongSound_getBufferSizePref_seconds ())
268 DOcxx . . $ `sys/praatM.h:354:9`!
269 PREFScxx . . $ `sys/praatM.h:1377:9`!
270 LongSound_setBufferSizePref_secondscxx . . $ LongSound_setBufferSizePref_seconds(1624ee8275b10bda). (maximumViewablePart);
271 PREFS_ENDcxx . . $ `sys/praatM.h:1378:9`!
272 }
273
274 /********** LONGSOUND & SOUND **********/
275
276 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_Sound_saveAsAifcFile, U"Save as AIFC file", nullptr, U"aifc") {
277 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected (Long)Sound object(s) to the AIFC file")
278 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_AIFCcxx . . $ `melder/melder_audiofiles.h:25:9`!, 16);
279 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
280 }
281
282 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_Sound_saveAsAiffFile, U"Save as AIFF file", nullptr, U"aiff") {
283 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected (Long)Sound object(s) to the AIFF file")
284 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_AIFFcxx . . $ `melder/melder_audiofiles.h:24:9`!, 16);
285 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
286 }
287
288 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_Sound_saveAsNextSunFile, U"Save as NeXT/Sun file", nullptr, U"au") {
289 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected (Long)Sound object(s) to the NeXT/Sun file")
290 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_NEXT_SUNcxx . . $ `melder/melder_audiofiles.h:27:9`!, 16);
291 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
292 }
293
294 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_Sound_saveAsNistFile, U"Save as NIST file", nullptr, U"nist") {
295 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected (Long)Sound object(s) to the NIST file")
296 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_NISTcxx . . $ `melder/melder_audiofiles.h:28:9`!, 16);
297 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
298 }
299
300 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_Sound_saveAsFlacFile, U"Save as FLAC file", nullptr, U"flac") {
301 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected (Long)Sound object(s) to the FLAC file")
302 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_FLACcxx . . $ `melder/melder_audiofiles.h:29:9`!, 16);
303 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
304 }
305
306 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__LongSound_Sound_saveAsWavFile, U"Save as WAV file", nullptr, U"wav") {
307 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected (Long)Sound object(s) to the WAV file")
308 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_WAVcxx . . $ `melder/melder_audiofiles.h:26:9`!, 16);
309 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
310 }
311
312 /********** SOUND **********/
313
314 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_add, U"Sound: Add", nullptr) {
315 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"The following number will be added to the amplitudes of ")
316 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"all samples of the sound.")
317 REALcxx . . $ `sys/praatM.h:92:9`! (number, U"Number", U"0.1")
318 OKcxx . . $ `sys/praatM.h:327:9`!
319 DOcxx . . $ `sys/praatM.h:354:9`!
320 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
321 Vector_addScalarcxx . . $ Vector_addScalar(54f31cdb89d1acde). (me, number);
322 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
323 }
324
325 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_autoCorrelate, U"Sound: autocorrelate", U"Sound: Autocorrelate...") {
326 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kSounds_convolve_scaling, amplitudeScaling,
327 U"Amplitude scaling", kSounds_convolve_scaling::DEFAULT)
328 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kSounds_convolve_signalOutsideTimeDomain, signalOutsideTimeDomainIs,
329 U"Signal outside time domain is...", kSounds_convolve_signalOutsideTimeDomain::DEFAULT)
330 OKcxx . . $ `sys/praatM.h:327:9`!
331 DOcxx . . $ `sys/praatM.h:354:9`!
332 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
333 autoSoundcxx . . $ autoSound# result = Sound_autoCorrelatecxx . . $ Sound_autoCorrelate(48c242b038311e1f). (me, amplitudeScaling, signalOutsideTimeDomainIs);
334 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (U"ac_", mycxx . . $ `melder/melder.h:44:9`! name.get())
335 }
336
337 DIRECTcxx . . $ `sys/praatM.h:412:9`! (COMBINE_ALL_TO_ONE__Sounds_combineToStereo) {
338 COMBINE_ALL_TO_ONEcxx . . $ `sys/praatM.h:1141:9`! (Sound)
339 autoSoundcxx . . $ autoSound# result = Sounds_combineToStereocxx . . $ Sounds_combineToStereo(1972390e3e72148d). (& list);
340 const integercxx . . $ integer# numberOfChannels = result ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). nycxx . . $ structSampledXY#ny.; // dereference before transferring
341 COMBINE_ALL_TO_ONE_ENDcxx . . $ `sys/praatM.h:1143:9`! (U"combined_", numberOfChannels)
342 }
343
344 DIRECTcxx . . $ `sys/praatM.h:412:9`! (COMBINE_ALL_TO_ONE__Sounds_combineIntoSoundList) {
345 COMBINE_ALL_TO_ONEcxx . . $ `sys/praatM.h:1141:9`! (Sound)
346 autoSoundListcxx . . $ autoSoundList# result = SoundList_createcxx . . $ SoundList_create(c90f23dfea3f095b). ();
347 for (integercxx . . $ integer# iobject = 1; iobject <= list.sizecxx . . $ CollectionOf#size.; iobject ++)
348 result ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). addItem_movecxx . . $ CollectionOf#addItem_move(bcc0cff787be24fe). (Data_copycxx . . $ Data_copy(97a542a26794c80e). (list.atcxx . . $ CollectionOf#at. [cxx . . $ ArrayOf#`operator[]`(a7f36fee1ae21897).iobject]));
349 COMBINE_ALL_TO_ONE_ENDcxx . . $ `sys/praatM.h:1143:9`! (U"list")
350 }
351
352 DIRECTcxx . . $ `sys/praatM.h:412:9`! (COMBINE_ALL_TO_ONE__Sounds_combineIntoSoundSet) {
353 COMBINE_ALL_TO_ONEcxx . . $ `sys/praatM.h:1141:9`! (Sound)
354 autoSoundSetcxx . . $ autoSoundSet# result = SoundSet_createcxx . . $ SoundSet_create(27298af962688a62). ();
355 for (integercxx . . $ integer# iobject = 1; iobject <= list.sizecxx . . $ CollectionOf#size.; iobject ++)
356 result ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). addItem_movecxx . . $ CollectionOf#addItem_move(bcc0cff787be24fe). (Data_copycxx . . $ Data_copy(97a542a26794c80e). (list.atcxx . . $ CollectionOf#at. [cxx . . $ ArrayOf#`operator[]`(a7f36fee1ae21897).iobject]));
357 COMBINE_ALL_TO_ONE_ENDcxx . . $ `sys/praatM.h:1143:9`! (U"ensemble")
358 }
359
360 DIRECTcxx . . $ `sys/praatM.h:412:9`! (COMBINE_ALL_TO_ONE__Sounds_concatenate) {
361 COMBINE_ALL_LISTED_TO_ONEcxx . . $ `sys/praatM.h:1147:9`! (Sound, SoundList)
362 autoSoundcxx . . $ autoSound# result = Sounds_concatenatecxx . . $ Sounds_concatenate(83bbb24deeaff801). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), 0.0);
363 COMBINE_ALL_LISTED_TO_ONE_ENDcxx . . $ `sys/praatM.h:1149:9`! (U"chain")
364 }
365
366 FORMcxx . . $ `sys/praatM.h:79:9`! (COMBINE_ALL_TO_ONE__Sounds_concatenateWithOverlap, U"Sounds: Concatenate with overlap", U"Sounds: Concatenate with overlap...") {
367 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (overlap, U"Overlap (s)", U"0.01")
368 OKcxx . . $ `sys/praatM.h:327:9`!
369 DOcxx . . $ `sys/praatM.h:354:9`!
370 COMBINE_ALL_LISTED_TO_ONEcxx . . $ `sys/praatM.h:1147:9`! (Sound, SoundList)
371 autoSoundcxx . . $ autoSound# result = Sounds_concatenatecxx . . $ Sounds_concatenate(83bbb24deeaff801). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), overlap);
372 COMBINE_ALL_LISTED_TO_ONE_ENDcxx . . $ `sys/praatM.h:1149:9`! (U"chain")
373 }
374
375 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_ALL_TO_MULTIPLE__Sounds_concatenateRecoverably) {
376 CONVERT_ALL_LISTED_TO_MULTIPLEcxx . . $ `sys/praatM.h:1159:9`! (Sound, SoundList)
377 integercxx . . $ integer# numberOfChannels = 0, nx = 0, iinterval = 0;
378 double dx = 0.0, tmin = 0.0;
379 for (integercxx . . $ integer# isound = 1; isound <= list->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab).sizecxx . . $ CollectionOf#size.; isound ++) {
380 Soundcxx . . $ Sound# me = list->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab).atcxx . . $ CollectionOf#at. [cxx . . $ ArrayOf#`operator[]`(a7f36fee1ae21897).isound];
381 if (numberOfChannels == 0) {
382 numberOfChannels = mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.;
383 } else if (mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny. != numberOfChannels) {
384 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"To concatenate sounds, their numbers of channels (mono, stereo) should be equal.");
385 }
386 if (dx == 0.0) {
387 dx = mycxx . . $ `melder/melder.h:44:9`! dxcxx . . $ structSampled#dx.;
388 } else if (mycxx . . $ `melder/melder.h:44:9`! dxcxx . . $ structSampled#dx. != dx) {
389 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"To concatenate sounds, their sampling frequencies should be equal.\n"
390 "You could resample one or more of the sounds before concatenating.");
391 }
392 nx += mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx.;
393 }
394 autoSoundcxx . . $ autoSound# thee = Sound_createcxx . . $ Sound_create(39ab106d6b9a0135). (numberOfChannels, 0.0, nx * dx, nx, dx, 0.5 * dx);
395 autoTextGridcxx . . $ autoTextGrid# him = TextGrid_createcxx . . $ TextGrid_create(2af4734b8a73c5bc). (0.0, nx * dx, U"labels", U"");
396 nx = 0;
397 for (integercxx . . $ integer# isound = 1; isound <= list->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab).sizecxx . . $ CollectionOf#size.; isound ++) {
398 Soundcxx . . $ Sound# me = list->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab).atcxx . . $ CollectionOf#at. [cxx . . $ ArrayOf#`operator[]`(a7f36fee1ae21897).isound];
399 const double tmax = tmin + mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx. * dx;
400 thycxx . . $ `melder/melder.h:45:9`! zcxx . . $ structMatrix#z..verticalBandcxx . . $ automatrix#verticalBand(244fa7aab97a21b1). (nx + 1, nx + mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx.) <<=cxx . . $ `operator<<=`(a7d93ba40fe22fe0). mycxx . . $ `melder/melder.h:44:9`! zcxx . . $ structMatrix#z..allcxx . . $ automatrix#all(2114117ba8ed4224).();
401 iinterval ++;
402 if (iinterval > 1)
403 TextGrid_insertBoundarycxx . . $ TextGrid_insertBoundary(5013a2d12dede214). (him.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), 1, tmin);
404 TextGrid_setIntervalTextcxx . . $ TextGrid_setIntervalText(a77659792e2c2fae). (him.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), 1, iinterval, mycxx . . $ `melder/melder.h:44:9`! namecxx . . $ structThing#name..getcxx . . $ _autostring#get(5a2a78a048fb49a8).());
405 nx += mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx.;
406 tmin = tmax;
407 }
408 praat_newcxx . . $ praat_new(1e9b2ae553a98dd1). (theecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).(), U"chain"cxx . . $ MelderArg#MelderArg(ff00d524ab0355ec).);
409 praat_newcxx . . $ praat_new(1e9b2ae553a98dd1). (himcxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).(), U"chain"cxx . . $ MelderArg#MelderArg(ff00d524ab0355ec).);
410 CONVERT_ALL_LISTED_TO_MULTIPLE_ENDcxx . . $ `sys/praatM.h:1161:9`!
411 }
412
413 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Sound_convertToMono) {
414 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
415 autoSoundcxx . . $ autoSound# result = Sound_convertToMonocxx . . $ Sound_convertToMono(4e9053a6db58af83). (me);
416 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_mono")
417 }
418
419 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Sound_convertToStereo) {
420 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
421 autoSoundcxx . . $ autoSound# result = Sound_convertToStereocxx . . $ Sound_convertToStereo(4e9053a6db58af83). (me);
422 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_stereo")
423 }
424
425 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_TWO_TO_ONE__Sounds_convolve_old) {
426 CONVERT_TWO_TO_ONEcxx . . $ `sys/praatM.h:1191:9`! (Sound)
427 autoSoundcxx . . $ autoSound# result = Sounds_convolvecxx . . $ Sounds_convolve(b7360aaa447e63e). (me, you,
428 kSounds_convolve_scalingcxx . . $ kSounds_convolve_scaling#::SUMcxx . . $ kSounds_convolve_scaling#SUM., kSounds_convolve_signalOutsideTimeDomaincxx . . $ kSounds_convolve_signalOutsideTimeDomain#::ZEROcxx . . $ kSounds_convolve_signalOutsideTimeDomain#ZERO.);
429 CONVERT_TWO_TO_ONE_ENDcxx . . $ `sys/praatM.h:1193:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get())
430 }
431
432 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_TWO_TO_ONE__Sounds_convolve, U"Sounds: Convolve", U"Sounds: Convolve...") {
433 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kSounds_convolve_scaling, amplitudeScaling,
434 U"Amplitude scaling", kSounds_convolve_scaling::DEFAULT)
435 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kSounds_convolve_signalOutsideTimeDomain, signalOutsideTimeDomainIs,
436 U"Signal outside time domain is...", kSounds_convolve_signalOutsideTimeDomain::DEFAULT)
437 OKcxx . . $ `sys/praatM.h:327:9`!
438 DOcxx . . $ `sys/praatM.h:354:9`!
439 CONVERT_TWO_TO_ONEcxx . . $ `sys/praatM.h:1191:9`! (Sound)
440 autoSoundcxx . . $ autoSound# result = Sounds_convolvecxx . . $ Sounds_convolve(b7360aaa447e63e). (me, you, amplitudeScaling, signalOutsideTimeDomainIs);
441 CONVERT_TWO_TO_ONE_ENDcxx . . $ `sys/praatM.h:1193:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get())
442 }
443
444 static autoSoundcxx . . $ autoSound# common_Sound_createcxx . . $ common_Sound_create(d2bbd069b0a34d04). (integercxx . . $ integer# numberOfChannels, double startTime, double endTime,
445 double samplingFrequency, conststring32cxx . . $ conststring32# formula, Interpretercxx . . $ Interpreter# interpreter)
446 {
447 const double numberOfSamples_real = roundcxx . . $ round(fee4f1d22bc8e617). ((endTime - startTime) * samplingFrequency);
448 if (endTime <= startTime) {
449 if (endTime == startTime)
450 Melder_appendErrorcxx . . $ Melder_appendError(6298c93241566110). (U"A Sound cannot have a duration of zero.");
451 else
452 Melder_appendErrorcxx . . $ Melder_appendError(6298c93241566110). (U"A Sound cannot have a duration less than zero.");
453 if (startTime == 0.0)
454 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Please set the end time to something greater than 0 seconds.");
455 else
456 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Please lower the start time or raise the end time.");
457 }
458 if (samplingFrequency <= 0.0) {
459 Melder_appendErrorcxx . . $ Melder_appendError(6298c93241566110). (U"A Sound cannot have a negative sampling frequency.");
460 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Please set the sampling frequency to something greater than zero, e.g. 44100 Hz.");
461 }
462 if (numberOfChannels < 1)
463 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"A Sound cannot have zero channels.");
464 if (numberOfSamples_real < 1.0) {
465 Melder_appendErrorcxx . . $ Melder_appendError(6298c93241566110). (U"A Sound cannot have zero samples.");
466 if (startTime == 0.0)
467 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Please raise the end time.");
468 else
469 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Please lower the start time or raise the end time.");
470 }
471 if (numberOfSamples_real > INT54_MAXcxx . . $ `melder/melder_int.h:60:10`!) {
472 Melder_appendErrorcxx . . $ Melder_appendError(6298c93241566110). (U"A Sound cannot have ", numberOfSamples_real, U" samples; the maximum is ",
473 Melder_bigIntegercxx . . $ Melder_bigInteger(7b348ebc2004441d). (INT54_MAXcxx . . $ `melder/melder_int.h:60:10`!), U" samples (or less, depending on your computer's memory).");
474 if (startTime == 0.0)
475 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Please lower the end time or the sampling frequency.");
476 else
477 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Please raise the start time, lower the end time, or lower the sampling frequency.");
478 }
479 const integercxx . . $ integer# numberOfSamples = (int64cxx . . $ int64#) numberOfSamples_real;
480 autoSoundcxx . . $ autoSound# soundcxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8).;
481 try {
482 sound =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). Sound_createcxx . . $ Sound_create(39ab106d6b9a0135). (numberOfChannels, startTime, endTime, numberOfSamples, 1.0 / samplingFrequency,
483 startTime + 0.5 * (endTime - startTime - (numberOfSamples - 1) / samplingFrequency));
484 } catch (MelderErrorcxx . . $ MelderError#) {
485 if (str32strcxx . . $ str32str(2de17cd8f7c584a6). (Melder_getErrorcxx . . $ Melder_getError(1912f6684645c851). (), U"memory")) {
486 Melder_clearErrorcxx . . $ Melder_clearError(49f6e7a06ebc5aa8). ();
487 Melder_appendErrorcxx . . $ Melder_appendError(6298c93241566110). (U"There is not enough memory to create a Sound that contains ", Melder_bigIntegercxx . . $ Melder_bigInteger(7b348ebc2004441d). (numberOfSamples), U" samples.");
488 if (startTime == 0.0)
489 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"You could lower the end time or the sampling frequency and try again.");
490 else
491 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"You could raise the start time or lower the end time or the sampling frequency, and try again.");
492 } else {
493 throw; // unexpected error; wait for generic message
494 }
495 }
496 Matrix_formulacxx . . $ Matrix_formula(3b405620ba9cc26e). (sound.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), formula, interpreter, nullptr);
497 return soundcxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).;
498 }
499
500 FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Sound_create, U"Create mono Sound", U"Create Sound from formula...") {
501 WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"sineWithNoise")
502 REALcxx . . $ `sys/praatM.h:92:9`! (startTime, U"Start time (s)", U"0.0")
503 REALcxx . . $ `sys/praatM.h:92:9`! (endTime, U"End time (s)", U"1.0")
504 REALcxx . . $ `sys/praatM.h:92:9`! (samplingFrequency, U"Sampling frequency (Hz)", U"44100")
505 FORMULAcxx . . $ `sys/praatM.h:148:9`! (formula, U"Formula", U"1/2 * sin(2*pi*377*x) + randomGauss(0,0.1)")
506 OKcxx . . $ `sys/praatM.h:327:9`!
507 DOcxx . . $ `sys/praatM.h:354:9`!
508 CREATE_ONEcxx . . $ `sys/praatM.h:485:9`!
509 autoSoundcxx . . $ autoSound# result = common_Sound_createcxx . . $ common_Sound_create(d2bbd069b0a34d04). (1, startTime, endTime, samplingFrequency, formula, interpreter);
510 CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name)
511 }
512
513 FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Sound_createFromFormula, U"Create Sound from formula", U"Create Sound from formula...") {
514 WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"sineWithNoise")
515 CHANNELcxx . . $ `sys/praatM.h:323:9`! (numberOfChannels, U"Number of channels", U"1 (= mono)")
516 REALcxx . . $ `sys/praatM.h:92:9`! (startTime, U"Start time (s)", U"0.0")
517 REALcxx . . $ `sys/praatM.h:92:9`! (endTime, U"End time (s)", U"1.0")
518 REALcxx . . $ `sys/praatM.h:92:9`! (samplingFrequency, U"Sampling frequency (Hz)", U"44100")
519 FORMULAcxx . . $ `sys/praatM.h:148:9`! (formula, U"Formula", U"1/2 * sin(2*pi*377*x) + randomGauss(0,0.1)")
520 OKcxx . . $ `sys/praatM.h:327:9`!
521 DOcxx . . $ `sys/praatM.h:354:9`!
522 CREATE_ONEcxx . . $ `sys/praatM.h:485:9`!
523 autoSoundcxx . . $ autoSound# result = common_Sound_createcxx . . $ common_Sound_create(d2bbd069b0a34d04). (numberOfChannels, startTime, endTime, samplingFrequency, formula, interpreter);
524 CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name)
525 }
526
527 FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Sound_createAsPureTone, U"Create Sound as pure tone", U"Create Sound as pure tone...") {
528 WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"tone")
529 CHANNELcxx . . $ `sys/praatM.h:323:9`! (numberOfChannels, U"Number of channels", U"1 (= mono)")
530 REALcxx . . $ `sys/praatM.h:92:9`! (startTime, U"Start time (s)", U"0.0")
531 REALcxx . . $ `sys/praatM.h:92:9`! (endTime, U"End time (s)", U"0.4")
532 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (samplingFrequency, U"Sampling frequency (Hz)", U"44100.0")
533 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (toneFrequency, U"Tone frequency (Hz)", U"440.0")
534 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (amplitude, U"Amplitude (Pa)", U"0.2")
535 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (fadeInDuration, U"Fade-in duration (s)", U"0.01")
536 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (fadeOutDuration, U"Fade-out duration (s)", U"0.01")
537 OKcxx . . $ `sys/praatM.h:327:9`!
538 DOcxx . . $ `sys/praatM.h:354:9`!
539 CREATE_ONEcxx . . $ `sys/praatM.h:485:9`!
540 autoSoundcxx . . $ autoSound# result = Sound_createAsPureTonecxx . . $ Sound_createAsPureTone(961256c6deadb130). (numberOfChannels, startTime, endTime,
541 samplingFrequency, toneFrequency, amplitude, fadeInDuration, fadeOutDuration);
542 CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name)
543 }
544
545 FORMcxx . . $ `sys/praatM.h:79:9`! (CREATE_ONE__Sound_createAsToneComplex, U"Create Sound as tone complex", U"Create Sound as tone complex...") {
546 WORDcxx . . $ `sys/praatM.h:122:9`! (name, U"Name", U"toneComplex")
547 REALcxx . . $ `sys/praatM.h:92:9`! (startTime, U"Start time (s)", U"0.0")
548 REALcxx . . $ `sys/praatM.h:92:9`! (endTime, U"End time (s)", U"1.0")
549 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (samplingFrequency, U"Sampling frequency (Hz)", U"44100.0")
550 CHOICExcxx . . $ `sys/praatM.h:221:9`! (phase, U"Phase", 2, Sound_TONE_COMPLEX_SINEcxx . . $ `fon/Sound.h:176:9`!)
551 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"sine")
552 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"cosine")
553 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (frequencyStep, U"Frequency step (Hz)", U"100.0")
554 REALcxx . . $ `sys/praatM.h:92:9`! (firstFrequency, U"First frequency (Hz)", U"0.0 (= frequency step)")
555 REALcxx . . $ `sys/praatM.h:92:9`! (ceiling, U"Ceiling (Hz)", U"0.0 (= Nyquist)")
556 INTEGERcxx . . $ `sys/praatM.h:108:9`! (numberOfComponents, U"Number of components", U"0 (= maximum)")
557 OKcxx . . $ `sys/praatM.h:327:9`!
558 DOcxx . . $ `sys/praatM.h:354:9`!
559 CREATE_ONEcxx . . $ `sys/praatM.h:485:9`!
560 autoSoundcxx . . $ autoSound# result = Sound_createAsToneComplexcxx . . $ Sound_createAsToneComplex(2a3ca0e83d185f95). (startTime, endTime,
561 samplingFrequency, phase, frequencyStep, firstFrequency, ceiling, numberOfComponents);
562 CREATE_ONE_ENDcxx . . $ `sys/praatM.h:486:9`! (name)
563 }
564
565 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_TWO_TO_ONE__old_Sounds_crossCorrelate, U"Cross-correlate (short)", nullptr) {
566 REALcxx . . $ `sys/praatM.h:92:9`! (fromLag, U"From lag (s)", U"-0.1")
567 REALcxx . . $ `sys/praatM.h:92:9`! (toLag, U"To lag (s)", U"0.1")
568 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (normalize, U"Normalize", true)
569 OKcxx . . $ `sys/praatM.h:327:9`!
570 DOcxx . . $ `sys/praatM.h:354:9`!
571 CONVERT_TWO_TO_ONEcxx . . $ `sys/praatM.h:1191:9`! (Sound)
572 autoSoundcxx . . $ autoSound# result = Sounds_crossCorrelate_shortcxx . . $ Sounds_crossCorrelate_short(619b4afbd70d9931). (me, you, fromLag, toLag, normalize);
573 CONVERT_TWO_TO_ONE_ENDcxx . . $ `sys/praatM.h:1193:9`! (U"cc_", mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get())
574 }
575
576 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_TWO_TO_ONE__Sounds_crossCorrelate, U"Sounds: Cross-correlate", U"Sounds: Cross-correlate...") {
577 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kSounds_convolve_scaling, amplitudeScaling,
578 U"Amplitude scaling", kSounds_convolve_scaling::DEFAULT)
579 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kSounds_convolve_signalOutsideTimeDomain, signalOutsideTimeDomainIs,
580 U"Signal outside time domain is...", kSounds_convolve_signalOutsideTimeDomain::DEFAULT)
581 OKcxx . . $ `sys/praatM.h:327:9`!
582 DO_ALTERNATIVEcxx . . $ `sys/praatM.h:367:9`! (CONVERT_TWO_TO_ONE__old_Sounds_crossCorrelate)
583 CONVERT_TWO_TO_ONEcxx . . $ `sys/praatM.h:1191:9`! (Sound)
584 autoSoundcxx . . $ autoSound# result = Sounds_crossCorrelatecxx . . $ Sounds_crossCorrelate(b7360aaa447e63e). (me, you, amplitudeScaling, signalOutsideTimeDomainIs);
585 CONVERT_TWO_TO_ONE_ENDcxx . . $ `sys/praatM.h:1193:9`! (U"cc_", mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get())
586 }
587
588 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_deemphasizeInplace, U"Sound: De-emphasize (in-place)", U"Sound: De-emphasize (in-place)...") {
589 REALcxx . . $ `sys/praatM.h:92:9`! (fromFrequency, U"From frequency (Hz)", U"50.0")
590 OKcxx . . $ `sys/praatM.h:327:9`!
591 DOcxx . . $ `sys/praatM.h:354:9`!
592 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (mutableSound)
593 Sound_deEmphasize_inplacecxx . . $ Sound_deEmphasize_inplace(e59d264236af2337). (me, fromFrequency);
594 Vector_scalecxx . . $ Vector_scale(54f31cdb89d1acde). (me, 0.99);
595 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
596 }
597
598 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_deepenBandModulation, U"Deepen band modulation", U"Sound: Deepen band modulation...") {
599 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (enhancement, U"Enhancement (dB)", U"20.0")
600 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (fromFrequency, U"From frequency (Hz)", U"300.0")
601 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (toFrequency, U"To frequency (Hz)", U"8000.0")
602 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (slowModulation, U"Slow modulation (Hz)", U"3.0")
603 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (fastModulation, U"Fast modulation (Hz)", U"30.0")
604 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (bandSmoothing, U"Band smoothing (Hz)", U"100.0")
605 OKcxx . . $ `sys/praatM.h:327:9`!
606 DOcxx . . $ `sys/praatM.h:354:9`!
607 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
608 autoSoundcxx . . $ autoSound# result = Sound_deepenBandModulationcxx . . $ Sound_deepenBandModulation(654ce24bee9d807b). (me, enhancement, fromFrequency, toFrequency,
609 slowModulation, fastModulation, bandSmoothing);
610 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", Melder_roundTowardsZero (enhancement))
611 }
612
613 FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__old_Sound_draw, U"Sound: Draw", nullptr) {
614 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
615 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range", U"0.0 (= all)")
616 REALcxx . . $ `sys/praatM.h:92:9`! (fromAmplitude, U"left Amplitude range", U"0.0")
617 REALcxx . . $ `sys/praatM.h:92:9`! (toAmplitude, U"right Amplitude range", U"0.0 (= auto)")
618 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", true)
619 OKcxx . . $ `sys/praatM.h:327:9`!
620 DOcxx . . $ `sys/praatM.h:354:9`!
621 GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (Sound)
622 Sound_drawcxx . . $ Sound_draw(9ce2a9dfe752ed09). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, fromTime, toTime,
623 fromAmplitude, toAmplitude, garnish, U"curve");
624 GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`!
625 }
626
627 FORMcxx . . $ `sys/praatM.h:79:9`! (GRAPHICS_EACH__Sound_draw, U"Sound: Draw", nullptr) {
628 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
629 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range", U"0.0 (= all)")
630 REALcxx . . $ `sys/praatM.h:92:9`! (fromAmplitude, U"left Amplitude range", U"0.0")
631 REALcxx . . $ `sys/praatM.h:92:9`! (toAmplitude, U"right Amplitude range", U"0.0 (= auto)")
632 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (garnish, U"Garnish", true)
633 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"")
634 OPTIONMENUSTRcxx . . $ `sys/praatM.h:241:9`! (drawingMethod, U"Drawing method", 1)
635 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"curve")
636 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"bars")
637 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"poles")
638 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"speckles")
639 OKcxx . . $ `sys/praatM.h:327:9`!
640 DO_ALTERNATIVEcxx . . $ `sys/praatM.h:367:9`! (GRAPHICS_EACH__old_Sound_draw)
641 GRAPHICS_EACHcxx . . $ `sys/praatM.h:697:9`! (Sound)
642 Sound_drawcxx . . $ Sound_draw(9ce2a9dfe752ed09). (me, GRAPHICScxx . . $ `sys/praat.h:204:9`!, fromTime, toTime,
643 fromAmplitude, toAmplitude, garnish, drawingMethod);
644 GRAPHICS_EACH_ENDcxx . . $ `sys/praatM.h:700:9`!
645 }
646
647 static void cb_SoundEditor_publicationcxx . . $ cb_SoundEditor_publication(87bd169f853965ad). (Editorcxx . . $ Editor# /* me */, autoDaatacxx . . $ autoDaata# publication) {
648 /*
649 Keep the gate for error handling.
650 */
651 try {
652 const bool isaSpectrum = Thing_isacxx . . $ Thing_isa(8cbb12e93d03b2a1). (publication.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), classSpectrumcxx . . $ classSpectrum.);
653 praat_newcxx . . $ praat_new(1e9b2ae553a98dd1). (publicationcxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).(), U""cxx . . $ MelderArg#MelderArg(ff00d524ab0355ec).);
654 praat_updateSelectioncxx . . $ praat_updateSelection(49f6e7a06ebc5aa8). ();
655 if (isaSpectrum) {
656 integercxx . . $ integer# IOBJECT;
657 FIND_ONE_WITH_IOBJECTcxx . . $ `sys/praatM.h:494:9`! (Spectrum)
658 autoSpectrumEditorcxx . . $ autoSpectrumEditor# editor2 = SpectrumEditor_createcxx . . $ SpectrumEditor_create(c5433dd5afdd30ce). (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, me);
659 praat_installEditorcxx . . $ praat_installEditor(66c68acc57a91daa). (editor2.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), IOBJECT);
660 editor2.releaseToUsercxx . . $ autoSomeThing#releaseToUser(ced63f7c635d850d).();
661 }
662 } catch (MelderErrorcxx . . $ MelderError#) {
663 Melder_flushErrorcxx . . $ Melder_flushError(49f6e7a06ebc5aa8). ();
664 }
665 }
666 DIRECTcxx . . $ `sys/praatM.h:412:9`! (EDITOR_ONE__Sound_viewAndEdit) {
667 EDITOR_ONEcxx . . $ `sys/praatM.h:1327:9`! (a,Sound)
668 autoSoundEditorcxx . . $ autoSoundEditor# editor = SoundEditor_createcxx . . $ SoundEditor_create(2cb9346986abbe40). (ID_AND_FULL_NAMEcxx . . $ `sys/praat.h:207:9`!, me);
669 Editor_setPublicationCallbackcxx . . $ Editor_setPublicationCallback(ce9aea1332569354). (editor.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), cb_SoundEditor_publicationcxx . . $ MelderCallback#MelderCallback(fc624d2cd197112).);
670 EDITOR_ONE_ENDcxx . . $ `sys/praatM.h:1331:9`!
671 }
672
673 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_ONE_TO_MULTIPLE__Sound_extractAllChannels) {
674 CONVERT_ONE_TO_MULTIPLEcxx . . $ `sys/praatM.h:1135:9`! (Sound)
675 for (integercxx . . $ integer# channel = 1; channel <= mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.; channel ++) {
676 autoSoundcxx . . $ autoSound# thee = Sound_extractChannelcxx . . $ Sound_extractChannel(fdb1ba3dfee1bd33). (me, channel);
677 praat_newcxx . . $ praat_new(7e14453ab0f22ea). (theecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).(), mycxx . . $ `melder/melder.h:44:9`! namecxx . . $ structThing#name..getcxx . . $ _autostring#get(5a2a78a048fb49a8).(), U"_ch"cxx . . $ MelderArg#MelderArg(ff00d524ab0355ec)., channelcxx . . $ MelderArg#MelderArg(1624ee8275b10bda).);
678 }
679 CONVERT_ONE_TO_MULTIPLE_ENDcxx . . $ `sys/praatM.h:1137:9`!
680 }
681
682 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_extractChannel, U"Sound: Extract channel", nullptr) {
683 CHANNELcxx . . $ `sys/praatM.h:323:9`! (channel, U"Channel (number, Left, or Right)", U"1")
684 OKcxx . . $ `sys/praatM.h:327:9`!
685 DOcxx . . $ `sys/praatM.h:354:9`!
686 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
687 autoSoundcxx . . $ autoSound# result = Sound_extractChannelcxx . . $ Sound_extractChannel(fdb1ba3dfee1bd33). (me, channel);
688 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_ch", channel)
689 }
690
691 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_extractChannels, U"Sound: Extract channels", nullptr) {
692 NATURALVECTORcxx . . $ `sys/praatM.h:190:9`! (channels, U"Channel numbers", RANGES_, U"1:64")
693 OKcxx . . $ `sys/praatM.h:327:9`!
694 DOcxx . . $ `sys/praatM.h:354:9`!
695 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
696 autoSoundcxx . . $ autoSound# result = Sound_extractChannelscxx . . $ Sound_extractChannels(854b47aef71dd5a5). (me, channelscxx . . $ constvectorview#constvectorview(fc39adb4395e9baf).);
697 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_ch")
698 }
699
700 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Sound_extractLeftChannel) {
701 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
702 autoSoundcxx . . $ autoSound# result = Sound_extractChannelcxx . . $ Sound_extractChannel(fdb1ba3dfee1bd33). (me, 1);
703 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_left")
704 }
705
706 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_extractPart, U"Sound: Extract part", U"Sound: Extract part...") {
707 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
708 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.1")
709 OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kSound_windowShape, windowShape, U"Window shape", kSound_windowShape::DEFAULT)
710 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (relativeWidth, U"Relative width", U"1.0")
711 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (preserveTimes, U"Preserve times", false)
712 OKcxx . . $ `sys/praatM.h:327:9`!
713 DOcxx . . $ `sys/praatM.h:354:9`!
714 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
715 autoSoundcxx . . $ autoSound# result = Sound_extractPartcxx . . $ Sound_extractPart(e1651eb055dd2f09). (me, fromTime, toTime,
716 windowShape, relativeWidth, preserveTimes);
717 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_part")
718 }
719
720 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_extractPartForOverlap, U"Sound: Extract part for overlap", nullptr) {
721 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
722 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.1")
723 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (overlap, U"Overlap (s)", U"0.01")
724 OKcxx . . $ `sys/praatM.h:327:9`!
725 DOcxx . . $ `sys/praatM.h:354:9`!
726 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
727 autoSoundcxx . . $ autoSound# result = Sound_extractPartForOverlapcxx . . $ Sound_extractPartForOverlap(a9298ecf594d39cf). (me, fromTime, toTime, overlap);
728 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_part")
729 }
730
731 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Sound_extractRightChannel) {
732 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
733 autoSoundcxx . . $ autoSound# result = Sound_extractChannelcxx . . $ Sound_extractChannel(fdb1ba3dfee1bd33). (me, 2);
734 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_right")
735 }
736
737 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_filter_deemphasis, U"Sound: Filter (de-emphasis)", U"Sound: Filter (de-emphasis)...") {
738 REALcxx . . $ `sys/praatM.h:92:9`! (fromFrequency, U"From frequency (Hz)", U"50.0")
739 OKcxx . . $ `sys/praatM.h:327:9`!
740 DOcxx . . $ `sys/praatM.h:354:9`!
741 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
742 autoSoundcxx . . $ autoSound# result = Sound_filter_deemphasiscxx . . $ Sound_filter_deemphasis(5bde49e4335e9a5a). (me, fromFrequency);
743 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_deemp")
744 }
745
746 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_filter_formula, U"Sound: Filter (formula)...", U"Formula...") {
747 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Frequency-domain filtering with a formula")
748 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"(uses Sound-to-Spectrum and Spectrum-to-Sound): x is frequency in hertz")
749 FORMULAcxx . . $ `sys/praatM.h:148:9`! (formula, U"Formula", U"if x<500 or x>1000 then 0 else self fi; rectangular band filter")
750 OKcxx . . $ `sys/praatM.h:327:9`!
751 DOcxx . . $ `sys/praatM.h:354:9`!
752 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
753 autoSoundcxx . . $ autoSound# result = Sound_filter_formulacxx . . $ Sound_filter_formula(b2c64c2972f611b). (me, formula, interpreter);
754 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_filt")
755 }
756
757 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_filter_oneFormant, U"Sound: Filter (one formant)", U"Sound: Filter (one formant)...") {
758 REALcxx . . $ `sys/praatM.h:92:9`! (frequency, U"Frequency (Hz)", U"1000.0")
759 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (bandwidth, U"Bandwidth (Hz)", U"100.0")
760 OKcxx . . $ `sys/praatM.h:327:9`!
761 DOcxx . . $ `sys/praatM.h:354:9`!
762 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
763 autoSoundcxx . . $ autoSound# result = Sound_filter_oneFormantcxx . . $ Sound_filter_oneFormant(d3fc085af13920bc). (me, frequency, bandwidth);
764 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_filt")
765 }
766
767 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_filterWithOneFormantInplace, U"Sound: Filter with one formant (in-place)", U"Sound: Filter with one formant (in-place)...") {
768 REALcxx . . $ `sys/praatM.h:92:9`! (frequency, U"Frequency (Hz)", U"1000.0")
769 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (bandwidth, U"Bandwidth (Hz)", U"100.0")
770 OKcxx . . $ `sys/praatM.h:327:9`!
771 DOcxx . . $ `sys/praatM.h:354:9`!
772 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
773 Sound_filterWithOneFormantInplacecxx . . $ Sound_filterWithOneFormantInplace(77a4df2843109656). (me, frequency, bandwidth);
774 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
775 }
776
777 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_filter_passHannBand, U"Sound: Filter (pass Hann band)", U"Sound: Filter (pass Hann band)...") {
778 REALcxx . . $ `sys/praatM.h:92:9`! (fromFrequency, U"From frequency (Hz)", U"500.0")
779 REALcxx . . $ `sys/praatM.h:92:9`! (toFrequency, U"To frequency (Hz)", U"1000.0")
780 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (smoothing, U"Smoothing (Hz)", U"100.0")
781 OKcxx . . $ `sys/praatM.h:327:9`!
782 DOcxx . . $ `sys/praatM.h:354:9`!
783 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
784 autoSoundcxx . . $ autoSound# result = Sound_filter_passHannBandcxx . . $ Sound_filter_passHannBand(14181e1c5f839e03). (me, fromFrequency, toFrequency, smoothing);
785 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_band")
786 }
787
788 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_filter_preemphasis, U"Sound: Filter (pre-emphasis)", U"Sound: Filter (pre-emphasis)...") {
789 REALcxx . . $ `sys/praatM.h:92:9`! (fromFrequency, U"From frequency (Hz)", U"50.0")
790 OKcxx . . $ `sys/praatM.h:327:9`!
791 DOcxx . . $ `sys/praatM.h:354:9`!
792 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
793 autoSoundcxx . . $ autoSound# result = Sound_filter_preemphasiscxx . . $ Sound_filter_preemphasis(5bde49e4335e9a5a). (me, fromFrequency);
794 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_preemp")
795 }
796
797 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_filter_stopHannBand, U"Sound: Filter (stop Hann band)", U"Sound: Filter (stop Hann band)...") {
798 REALcxx . . $ `sys/praatM.h:92:9`! (fromFrequency, U"From frequency (Hz)", U"500.0")
799 REALcxx . . $ `sys/praatM.h:92:9`! (toFrequency, U"To frequency (Hz)", U"1000.0")
800 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (smoothing, U"Smoothing (Hz)", U"100.0")
801 OKcxx . . $ `sys/praatM.h:327:9`!
802 DOcxx . . $ `sys/praatM.h:354:9`!
803 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
804 autoSoundcxx . . $ autoSound# result = Sound_filter_stopHannBandcxx . . $ Sound_filter_stopHannBand(14181e1c5f839e03). (me, fromFrequency, toFrequency, smoothing);
805 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_band")
806 }
807
808 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_formula, U"Sound: Formula", U"Sound: Formula...") {
809 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"# `x` is the time in seconds, `col` is the sample number.")
810 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"x = x1 ! time associated with first sample")
811 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"for col from 1 to ncol")
812 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U" self [col] = ...")
813 FORMULAcxx . . $ `sys/praatM.h:148:9`! (formula, U"Formula", U"self")
814 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U" x = x + dx")
815 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"endfor")
816 OKcxx . . $ `sys/praatM.h:327:9`!
817 DOcxx . . $ `sys/praatM.h:354:9`!
818 MODIFY_EACH_WEAKcxx . . $ `sys/praatM.h:1025:9`! (Sound)
819 Matrix_formulacxx . . $ Matrix_formula(3b405620ba9cc26e). (me, formula, interpreter, nullptr);
820 MODIFY_EACH_WEAK_ENDcxx . . $ `sys/praatM.h:1028:9`!
821 }
822
823 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_formula_part, U"Sound: Formula (part)", U"Sound: Formula...") {
824 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"From time", U"0.0")
825 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"To time", U"0.0 (= all)")
826 NATURALcxx . . $ `sys/praatM.h:120:9`! (fromChannel, U"From channel", U"1")
827 NATURALcxx . . $ `sys/praatM.h:120:9`! (toChannel, U"To channel", U"2")
828 FORMULAcxx . . $ `sys/praatM.h:148:9`! (formula, U"Formula", U"2 * self")
829 OKcxx . . $ `sys/praatM.h:327:9`!
830 DOcxx . . $ `sys/praatM.h:354:9`!
831 MODIFY_EACH_WEAKcxx . . $ `sys/praatM.h:1025:9`! (Sound)
832 Matrix_formula_partcxx . . $ Matrix_formula_part(bf805b81a4f35360). (me, fromTime, toTime, fromChannel - 0.5, toChannel + 0.5,
833 formula, interpreter, nullptr);
834 MODIFY_EACH_WEAK_ENDcxx . . $ `sys/praatM.h:1028:9`!
835 }
836
837 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getAbsoluteExtremum, U"Sound: Get absolute extremum", U"Sound: Get absolute extremum...") {
838 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
839 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
840 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kVector_peakInterpolation, peakInterpolationType,
841 U"Interpolation", kVector_peakInterpolation::SINC70)
842 OKcxx . . $ `sys/praatM.h:327:9`!
843 DOcxx . . $ `sys/praatM.h:354:9`!
844 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
845 const double result = Vector_getAbsoluteExtremumcxx . . $ Vector_getAbsoluteExtremum(9e5d98b21939784c). (me, fromTime, toTime, peakInterpolationType);
846 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
847 }
848
849 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getEnergy, U"Sound: Get energy", U"Sound: Get energy...") {
850 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
851 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
852 OKcxx . . $ `sys/praatM.h:327:9`!
853 DOcxx . . $ `sys/praatM.h:354:9`!
854 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
855 const double result = Sound_getEnergycxx . . $ Sound_getEnergy(511c4e44d03f8807). (me, fromTime, toTime);
856 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pa2 sec")
857 }
858
859 DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_REAL__Sound_getEnergyInAir) {
860 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
861 const double result = Sound_getEnergyInAircxx . . $ Sound_getEnergyInAir(9577c4e030d3505d). (me);
862 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Joule/m2")
863 }
864
865 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getIndexFromTime, U"Get sample number from time", U"Get sample number from time...") {
866 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5")
867 OKcxx . . $ `sys/praatM.h:327:9`!
868 DOcxx . . $ `sys/praatM.h:354:9`!
869 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
870 const double result = Sampled_xToIndexcxx . . $ Sampled_xToIndex(b395a896ba2eff9a). (me, time);
871 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" (index at time ", time, U" seconds)")
872 }
873
874 DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_REAL__Sound_getIntensity_dB) {
875 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
876 const double result = Sound_getIntensity_dBcxx . . $ Sound_getIntensity_dB(9577c4e030d3505d). (me);
877 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" dB")
878 }
879
880 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getMaximum, U"Sound: Get maximum", U"Sound: Get maximum...") {
881 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
882 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
883 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kVector_peakInterpolation, peakInterpolationType,
884 U"Interpolation", kVector_peakInterpolation::SINC70)
885 OKcxx . . $ `sys/praatM.h:327:9`!
886 DOcxx . . $ `sys/praatM.h:354:9`!
887 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
888 const double result = Vector_getMaximumcxx . . $ Vector_getMaximum(9e5d98b21939784c). (me, fromTime, toTime, peakInterpolationType);
889 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
890 }
891
892 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__old_Sound_getMean, U"Sound: Get mean", U"Sound: Get mean...") {
893 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
894 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
895 OKcxx . . $ `sys/praatM.h:327:9`!
896 DOcxx . . $ `sys/praatM.h:354:9`!
897 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
898 const double result = Vector_getMeancxx . . $ Vector_getMean(8ea9441cb87dc78e). (me, fromTime, toTime, Vector_CHANNEL_AVERAGEcxx . . $ `fon/Vector.h:49:9`!);
899 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
900 }
901
902 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getMean, U"Sound: Get mean", U"Sound: Get mean...") {
903 CHANNELcxx . . $ `sys/praatM.h:323:9`! (channel, U"Channel", U"0 (= all)")
904 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
905 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
906 OKcxx . . $ `sys/praatM.h:327:9`!
907 DO_ALTERNATIVEcxx . . $ `sys/praatM.h:367:9`! (QUERY_ONE_FOR_REAL__old_Sound_getMean)
908 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
909 if (channel > mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.) channel = 1;
910 const double result = Vector_getMeancxx . . $ Vector_getMean(8ea9441cb87dc78e). (me, fromTime, toTime, channel);
911 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
912 }
913
914 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getMinimum, U"Sound: Get minimum", U"Sound: Get minimum...") {
915 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
916 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
917 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kVector_peakInterpolation, peakInterpolationType,
918 U"Interpolation", kVector_peakInterpolation::SINC70)
919 OKcxx . . $ `sys/praatM.h:327:9`!
920 DOcxx . . $ `sys/praatM.h:354:9`!
921 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
922 const double result = Vector_getMinimumcxx . . $ Vector_getMinimum(9e5d98b21939784c). (me, fromTime, toTime, peakInterpolationType);
923 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
924 }
925
926 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__old_Sound_getNearestZeroCrossing, U"Sound: Get nearest zero crossing", U"Sound: Get nearest zero crossing...") {
927 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5")
928 OKcxx . . $ `sys/praatM.h:327:9`!
929 DOcxx . . $ `sys/praatM.h:354:9`!
930 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
931 /*
932 We are in an "old" version of this function,
933 so any error that we would want to post will not surface.
934 So we just post a warning instead.
935 */
936 if (mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny. > 1) {
937 static bool warningHasBeenPosted = false;
938 if (! warningHasBeenPosted) {
939 Melder_warningcxx . . $ Melder_warning(6298c93241566110). (U"(Sound: Get nearest zero crossing:) ", me, U" is a stereo sound. We’ll look for a zero crossing only in the first channel.\n"
940 "This message will not be repeated during this ", Melder_upperCaseAppNamecxx . . $ Melder_upperCaseAppName(1912f6684645c851).(), U" session.");
941 warningHasBeenPosted = true;
942 }
943 }
944 const double result = Sound_getNearestZeroCrossingcxx . . $ Sound_getNearestZeroCrossing(f92830f351830df8). (me, time, 1);
945 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" seconds")
946 }
947
948 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getNearestZeroCrossing, U"Sound: Get nearest zero crossing", U"Sound: Get nearest zero crossing...") {
949 CHANNELcxx . . $ `sys/praatM.h:323:9`! (channel, U"Channel (number, Left, or Right)", U"1")
950 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5")
951 OKcxx . . $ `sys/praatM.h:327:9`!
952 DO_ALTERNATIVEcxx . . $ `sys/praatM.h:367:9`! (QUERY_ONE_FOR_REAL__old_Sound_getNearestZeroCrossing)
953 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
954 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (channel >= 1,
955 U"The channel number should be at least 1.");
956 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (channel <= mycxx . . $ `melder/melder.h:44:9`! ny,
957 U"The channel number should be at most the number of channels (", mycxx . . $ `melder/melder.h:44:9`! ny, U").");
958 const double result = Sound_getNearestZeroCrossingcxx . . $ Sound_getNearestZeroCrossing(f92830f351830df8). (me, time, channel);
959 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" seconds")
960 }
961
962 DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_INTEGER__Sound_getNumberOfChannels) {
963 QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (Sound)
964 const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.;
965 QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (result == 1 ? U" channel (mono)" : result == 2 ? U" channels (stereo)" : U" channels")
966 }
967
968 DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_INTEGER__Sound_getNumberOfSamples) {
969 QUERY_ONE_FOR_INTEGERcxx . . $ `sys/praatM.h:838:9`! (Sound)
970 const integercxx . . $ integer# result = mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx.;
971 QUERY_ONE_FOR_INTEGER_ENDcxx . . $ `sys/praatM.h:840:9`! (U" samples")
972 }
973
974 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getPower, U"Sound: Get power", U"Sound: Get power...") {
975 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
976 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
977 OKcxx . . $ `sys/praatM.h:327:9`!
978 DOcxx . . $ `sys/praatM.h:354:9`!
979 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
980 const double result = Sound_getPowercxx . . $ Sound_getPower(511c4e44d03f8807). (me, fromTime, toTime);
981 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pa2")
982 }
983
984 DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_REAL__Sound_getPowerInAir) {
985 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
986 const double result = Sound_getPowerInAircxx . . $ Sound_getPowerInAir(9577c4e030d3505d). (me);
987 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Watt/m2")
988 }
989
990 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getRootMeanSquare, U"Sound: Get root-mean-square", U"Sound: Get root-mean-square...") {
991 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
992 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
993 OKcxx . . $ `sys/praatM.h:327:9`!
994 DOcxx . . $ `sys/praatM.h:354:9`!
995 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
996 const double result = Sound_getRootMeanSquarecxx . . $ Sound_getRootMeanSquare(511c4e44d03f8807). (me, fromTime, toTime);
997 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
998 }
999
1000 DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_REAL__Sound_getSamplePeriod) {
1001 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1002 const double result = mycxx . . $ `melder/melder.h:44:9`! dxcxx . . $ structSampled#dx.;
1003 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" seconds")
1004 }
1005
1006 DIRECTcxx . . $ `sys/praatM.h:412:9`! (QUERY_ONE_FOR_REAL__Sound_getSampleRate) {
1007 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1008 const double result = 1.0 / mycxx . . $ `melder/melder.h:44:9`! dxcxx . . $ structSampled#dx.;
1009 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Hz")
1010 }
1011
1012 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__old_Sound_getStandardDeviation, U"Sound: Get standard deviation", U"Sound: Get standard deviation...") {
1013 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
1014 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
1015 OKcxx . . $ `sys/praatM.h:327:9`!
1016 DOcxx . . $ `sys/praatM.h:354:9`!
1017 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1018 const double result = Vector_getStandardDeviationcxx . . $ Vector_getStandardDeviation(8ea9441cb87dc78e). (me, fromTime, toTime, Vector_CHANNEL_AVERAGEcxx . . $ `fon/Vector.h:49:9`!);
1019 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
1020 }
1021
1022 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getStandardDeviation, U"Sound: Get standard deviation", U"Sound: Get standard deviation...") {
1023 CHANNELcxx . . $ `sys/praatM.h:323:9`! (channel, U"Channel", U"0 (= average)")
1024 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
1025 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
1026 OKcxx . . $ `sys/praatM.h:327:9`!
1027 DO_ALTERNATIVEcxx . . $ `sys/praatM.h:367:9`! (QUERY_ONE_FOR_REAL__old_Sound_getStandardDeviation)
1028 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1029 if (channel > mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.) channel = 1;
1030 const double result = Vector_getStandardDeviationcxx . . $ Vector_getStandardDeviation(8ea9441cb87dc78e). (me, fromTime, toTime, channel);
1031 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
1032 }
1033
1034 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getTimeFromIndex, U"Get time from sample number", U"Get time from sample number...") {
1035 INTEGERcxx . . $ `sys/praatM.h:108:9`! (sampleNumber, U"Sample number", U"100")
1036 OKcxx . . $ `sys/praatM.h:327:9`!
1037 DOcxx . . $ `sys/praatM.h:354:9`!
1038 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1039 const double result = Sampled_indexToXcxx . . $ Sampled_indexToX(65bcd2c9acbb3dd5). (me, sampleNumber);
1040 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" seconds")
1041 }
1042
1043 DIRECTcxx . . $ `sys/praatM.h:412:9`! (NUMVEC_Sound_listAllSampleTimes) {
1044 QUERY_ONE_FOR_REAL_VECTORcxx . . $ `sys/praatM.h:947:9`! (Sound)
1045 autoVECcxx . . $ autoVEC# result = Sampled_listAllXValuescxx . . $ Sampled_listAllXValues(9c7a04c4874f3417). (me);
1046 QUERY_ONE_FOR_REAL_VECTOR_ENDcxx . . $ `sys/praatM.h:949:9`!
1047 }
1048
1049 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getTimeOfMaximum, U"Sound: Get time of maximum", U"Sound: Get time of maximum...") {
1050 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
1051 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
1052 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kVector_peakInterpolation, peakInterpolationType,
1053 U"Interpolation", kVector_peakInterpolation::SINC70)
1054 OKcxx . . $ `sys/praatM.h:327:9`!
1055 DOcxx . . $ `sys/praatM.h:354:9`!
1056 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1057 const double result = Vector_getXOfMaximumcxx . . $ Vector_getXOfMaximum(9e5d98b21939784c). (me, fromTime, toTime, peakInterpolationType);
1058 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" seconds")
1059 }
1060
1061 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getTimeOfMinimum, U"Sound: Get time of minimum", U"Sound: Get time of minimum...") {
1062 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
1063 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
1064 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kVector_peakInterpolation, peakInterpolationType,
1065 U"Interpolation", kVector_peakInterpolation::SINC70)
1066 OKcxx . . $ `sys/praatM.h:327:9`!
1067 DOcxx . . $ `sys/praatM.h:354:9`!
1068 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1069 const double result = Vector_getXOfMinimumcxx . . $ Vector_getXOfMinimum(9e5d98b21939784c). (me, fromTime, toTime, peakInterpolationType);
1070 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" seconds")
1071 }
1072
1073 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__old_Sound_getValueAtIndex, U"Sound: Get value at sample number", U"Sound: Get value at sample number...") {
1074 INTEGERcxx . . $ `sys/praatM.h:108:9`! (sampleNumber, U"Sample number", U"100")
1075 OKcxx . . $ `sys/praatM.h:327:9`!
1076 DOcxx . . $ `sys/praatM.h:354:9`!
1077 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1078 const double result = sampleNumber < 1 || sampleNumber > mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx. ? undefinedcxx . . $ undefined. :
1079 mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny. == 1 ? mycxx . . $ `melder/melder.h:44:9`! zcxx . . $ structMatrix#z. [cxx . . $ automatrix#`operator[]`(2d545b3cb3f8e666).1] [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).sampleNumber] : 0.5 * (mycxx . . $ `melder/melder.h:44:9`! zcxx . . $ structMatrix#z. [cxx . . $ automatrix#`operator[]`(2d545b3cb3f8e666).1] [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).sampleNumber] + mycxx . . $ `melder/melder.h:44:9`! zcxx . . $ structMatrix#z. [cxx . . $ automatrix#`operator[]`(2d545b3cb3f8e666).2] [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).sampleNumber]);
1080 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
1081 }
1082
1083 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getValueAtIndex, U"Sound: Get value at sample number", U"Sound: Get value at sample number...") {
1084 CHANNELcxx . . $ `sys/praatM.h:323:9`! (channel, U"Channel", U"0 (= average)")
1085 INTEGERcxx . . $ `sys/praatM.h:108:9`! (sampleNumber, U"Sample number", U"100")
1086 OKcxx . . $ `sys/praatM.h:327:9`!
1087 DO_ALTERNATIVEcxx . . $ `sys/praatM.h:367:9`! (QUERY_ONE_FOR_REAL__old_Sound_getValueAtIndex)
1088 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1089 if (channel > mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.) channel = 1;
1090 const double result = sampleNumber < 1 || sampleNumber > mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx. ? undefinedcxx . . $ undefined. :
1091 Sampled_getValueAtSamplecxx . . $ Sampled_getValueAtSample(5092633e80007c54). (me, sampleNumber, channel, 0);
1092 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
1093 }
1094
1095 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__old_Sound_getValueAtTime, U"Sound: Get value at time", U"Sound: Get value at time...") {
1096 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5")
1097 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kVector_valueInterpolation, valueInterpolationType,
1098 U"Interpolation", kVector_valueInterpolation::SINC70)
1099 OKcxx . . $ `sys/praatM.h:327:9`!
1100 DOcxx . . $ `sys/praatM.h:354:9`!
1101 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1102 const double result = Vector_getValueAtXcxx . . $ Vector_getValueAtX(1bfdbe9f8adea74f). (me, time, Vector_CHANNEL_AVERAGEcxx . . $ `fon/Vector.h:49:9`!, valueInterpolationType);
1103 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
1104 }
1105
1106 FORMcxx . . $ `sys/praatM.h:79:9`! (QUERY_ONE_FOR_REAL__Sound_getValueAtTime, U"Sound: Get value at time", U"Sound: Get value at time...") {
1107 CHANNELcxx . . $ `sys/praatM.h:323:9`! (channel, U"Channel", U"0 (= average)")
1108 REALcxx . . $ `sys/praatM.h:92:9`! (time, U"Time (s)", U"0.5")
1109 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kVector_valueInterpolation, valueInterpolationType,
1110 U"Interpolation", kVector_valueInterpolation::SINC70)
1111 OKcxx . . $ `sys/praatM.h:327:9`!
1112 DO_ALTERNATIVEcxx . . $ `sys/praatM.h:367:9`! (QUERY_ONE_FOR_REAL__old_Sound_getValueAtTime)
1113 QUERY_ONE_FOR_REALcxx . . $ `sys/praatM.h:827:9`! (Sound)
1114 if (channel > mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.) channel = 1;
1115 const double result = Vector_getValueAtXcxx . . $ Vector_getValueAtX(1bfdbe9f8adea74f). (me, time, channel, valueInterpolationType);
1116 QUERY_ONE_FOR_REAL_ENDcxx . . $ `sys/praatM.h:829:9`! (U" Pascal")
1117 }
1118
1119 DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__Sound_help) {
1120 HELPcxx . . $ `sys/praatM.h:616:9`! (U"Sound")
1121 }
1122
1123 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_lengthen_overlapAdd, U"Sound: Lengthen (overlap-add)", U"Sound: Lengthen (overlap-add)...") {
1124 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1125 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"Pitch ceiling (Hz)", U"600.0")
1126 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (factor, U"Factor", U"1.5")
1127 OKcxx . . $ `sys/praatM.h:327:9`!
1128 DOcxx . . $ `sys/praatM.h:354:9`!
1129 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (pitchFloor < pitchCeiling,
1130 U"The pitch ceiling should be greater than the pitch floor.");
1131 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1132 autoSoundcxx . . $ autoSound# result = Sound_lengthen_overlapAddcxx . . $ Sound_lengthen_overlapAdd(a9298ecf594d39cf). (me, pitchFloor, pitchCeiling, factor);
1133 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", Melder_fixed (factor, 2));
1134 }
1135
1136 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_multiply, U"Sound: Multiply", nullptr) {
1137 REALcxx . . $ `sys/praatM.h:92:9`! (multiplicationFactor, U"Multiplication factor", U"1.5")
1138 OKcxx . . $ `sys/praatM.h:327:9`!
1139 DOcxx . . $ `sys/praatM.h:354:9`!
1140 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1141 Vector_multiplyByScalarcxx . . $ Vector_multiplyByScalar(54f31cdb89d1acde). (me, multiplicationFactor);
1142 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1143 }
1144
1145 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_multiplyByWindow, U"Sound: Multiply by window", U"Sound: Multiply by window...") {
1146 OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kSound_windowShape, windowShape, U"Window shape", kSound_windowShape::HANNING)
1147 OKcxx . . $ `sys/praatM.h:327:9`!
1148 DOcxx . . $ `sys/praatM.h:354:9`!
1149 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (mutableSound)
1150 Sound_multiplyByWindowcxx . . $ Sound_multiplyByWindow(bbea490a38595013). (me, windowShape);
1151 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1152 }
1153
1154 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_overrideSamplingFrequency, U"Sound: Override sampling frequency", nullptr) {
1155 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (newSamplingFrequency, U"New sampling frequency (Hz)", U"16000.0")
1156 OKcxx . . $ `sys/praatM.h:327:9`!
1157 DOcxx . . $ `sys/praatM.h:354:9`!
1158 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (mutableSound)
1159 Sound_overrideSamplingFrequencycxx . . $ Sound_overrideSamplingFrequency(e59d264236af2337). (me, newSamplingFrequency);
1160 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1161 }
1162
1163 DIRECTcxx . . $ `sys/praatM.h:412:9`! (PLAY_EACH__Sound_play) {
1164 FIND_ALL_LISTEDcxx . . $ `sys/praatM.h:562:9`! (Sound, SoundList)
1165 SoundList_playcxx . . $ SoundList_play(fc8290a8f609615f). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), nullptrcxx . . $ MelderCallback#MelderCallback(88514059881c9050)., nullptr);
1166 END_NO_NEW_DATAcxx . . $ `sys/praatM.h:404:9`!
1167 }
1168
1169 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_preemphasizeInplace, U"Sound: Pre-emphasize (in-place)", U"Sound: Pre-emphasize (in-place)...") {
1170 REALcxx . . $ `sys/praatM.h:92:9`! (fromFrequency, U"From frequency (Hz)", U"50.0")
1171 OKcxx . . $ `sys/praatM.h:327:9`!
1172 DOcxx . . $ `sys/praatM.h:354:9`!
1173 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1174 Sound_preEmphasize_inplacecxx . . $ Sound_preEmphasize_inplace(e59d264236af2337). (me, fromFrequency);
1175 Vector_scalecxx . . $ Vector_scale(54f31cdb89d1acde). (me, 0.99);
1176 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1177 }
1178
1179 FORM_READcxx . . $ `sys/praatM.h:419:9`! (READ_MULTIPLE__Sound_readSeparateChannelsFromSoundFile, U"Read separate channels from sound file", nullptr, true) {
1180 READ_MULTIPLEcxx . . $ `sys/praatM.h:1261:9`!
1181 autoSoundcxx . . $ autoSound# sound = Sound_readFromSoundFilecxx . . $ Sound_readFromSoundFile(93fb99dfd38ebabb). (file);
1182 char32cxx . . $ char32# name [300];
1183 Melder_sprintcxx . . $ Melder_sprint(2b992b0fb5123bdf). (name,300, MelderFile_namecxx . . $ MelderFile_name(d9f043369fa9b55b). (file));
1184 char32cxx . . $ char32# *lastPeriod = str32rchrcxx . . $ str32rchr(328a9ede0fba853a). (name, U'.');
1185 if (lastPeriod)
1186 *lastPeriod = U'\0';
1187 for (integercxx . . $ integer# ichan = 1; ichan <= sound ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). nycxx . . $ structSampledXY#ny.; ichan ++) {
1188 autoSoundcxx . . $ autoSound# thee = Sound_extractChannelcxx . . $ Sound_extractChannel(fdb1ba3dfee1bd33). (sound.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), ichan);
1189 praat_newcxx . . $ praat_new(7e14453ab0f22ea). (theecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).(), namecxx . . $ MelderArg#MelderArg(ff00d524ab0355ec)., U"_ch"cxx . . $ MelderArg#MelderArg(ff00d524ab0355ec)., ichancxx . . $ MelderArg#MelderArg(1624ee8275b10bda).);
1190 }
1191 READ_MULTIPLE_ENDcxx . . $ `sys/praatM.h:1262:9`!
1192 }
1193
1194 FORM_READcxx . . $ `sys/praatM.h:419:9`! (READ_ONE__Sound_readFromRawAlawFile, U"Read Sound from raw Alaw file", nullptr, true) {
1195 READ_ONEcxx . . $ `sys/praatM.h:1267:9`!
1196 autoSoundcxx . . $ autoSound# result = Sound_readFromRawAlawFilecxx . . $ Sound_readFromRawAlawFile(93fb99dfd38ebabb). (file);
1197 READ_ONE_ENDcxx . . $ `sys/praatM.h:1268:9`!
1198 }
1199
1200 static SoundRecordercxx . . $ SoundRecorder# theReferenceToTheOnlySoundRecordercxx . . $ theReferenceToTheOnlySoundRecorder.;
1201 static int thePreviousNumberOfChannelscxx . . $ thePreviousNumberOfChannels.;
1202
1203 static void cb_SoundRecorder_destructioncxx . . $ cb_SoundRecorder_destruction(2c647c0fc59fc937). (SoundRecordercxx . . $ SoundRecorder# /* me */) {
1204 theReferenceToTheOnlySoundRecordercxx . . $ theReferenceToTheOnlySoundRecorder. = nullptr;
1205 }
1206 static void cb_SoundRecorder_publicationcxx . . $ cb_SoundRecorder_publication(87bd169f853965ad). (Editorcxx . . $ Editor# /* me */, autoDaatacxx . . $ autoDaata# publication) {
1207 try {
1208 praat_newcxx . . $ praat_new(90806586bd778ea4). (publicationcxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).());
1209 } catch (MelderErrorcxx . . $ MelderError#) {
1210 Melder_flushErrorcxx . . $ Melder_flushError(49f6e7a06ebc5aa8). ();
1211 }
1212 praat_updateSelectioncxx . . $ praat_updateSelection(49f6e7a06ebc5aa8). ();
1213 }
1214 static void do_Sound_recordcxx . . $ do_Sound_record(d4f767463ce0a6b3). (int numberOfChannels) {
1215 if (theReferenceToTheOnlySoundRecordercxx . . $ theReferenceToTheOnlySoundRecorder. && numberOfChannels == thePreviousNumberOfChannelscxx . . $ thePreviousNumberOfChannels.) {
1216 Editor_raisecxx . . $ Editor_raise(c0154a85f79216c7). (theReferenceToTheOnlySoundRecordercxx . . $ theReferenceToTheOnlySoundRecorder.);
1217 } else {
1218 forgetcxx . . $ `sys/Thing.h:158:9`! (theReferenceToTheOnlySoundRecorder);
1219 autoSoundRecordercxx . . $ autoSoundRecorder# recorder = SoundRecorder_createcxx . . $ SoundRecorder_create(7cf06c42999cac48). (numberOfChannels);
1220 Editor_setDestructionCallbackcxx . . $ Editor_setDestructionCallback(522aab46cb47898f). (recorder.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), cb_SoundRecorder_destructioncxx . . $ MelderCallback#MelderCallback(aaa169a015c1cf97).);
1221 Editor_setPublicationCallbackcxx . . $ Editor_setPublicationCallback(ce9aea1332569354). (recorder.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), cb_SoundRecorder_publicationcxx . . $ MelderCallback#MelderCallback(fc624d2cd197112).);
1222 theReferenceToTheOnlySoundRecordercxx . . $ theReferenceToTheOnlySoundRecorder. = recorder.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
1223 recorder.releaseToUsercxx . . $ autoSomeThing#releaseToUser(ced63f7c635d850d).();
1224 thePreviousNumberOfChannelscxx . . $ thePreviousNumberOfChannels. = numberOfChannels;
1225 }
1226 }
1227 DIRECTcxx . . $ `sys/praatM.h:412:9`! (SINGLETON_CREATION_WINDOW__Sound_recordMono) {
1228 SINGLETON_CREATION_WINDOWcxx . . $ `sys/praatM.h:1352:9`! (a,Sound)
1229 do_Sound_recordcxx . . $ do_Sound_record(d4f767463ce0a6b3). (1);
1230 SINGLETON_CREATION_WINDOW_ENDcxx . . $ `sys/praatM.h:1355:9`!
1231 }
1232 DIRECTcxx . . $ `sys/praatM.h:412:9`! (SINGLETON_CREATION_WINDOW__Sound_recordStereo) {
1233 SINGLETON_CREATION_WINDOWcxx . . $ `sys/praatM.h:1352:9`! (a,Sound)
1234 do_Sound_recordcxx . . $ do_Sound_record(d4f767463ce0a6b3). (2);
1235 SINGLETON_CREATION_WINDOW_ENDcxx . . $ `sys/praatM.h:1355:9`!
1236 }
1237
1238 FORMcxx . . $ `sys/praatM.h:79:9`! (RECORD_ONE__Sound_record_fixedTime, U"Record Sound", nullptr) {
1239 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"This menu command is usually hidden,")
1240 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U" because its behaviour is platform-dependent.")
1241 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"The combination of “microphone” and “48000 Hz” is likely")
1242 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U" to work on all computers.")
1243 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"The “Gain” and “Balance” settings tend to be obsolete")
1244 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U" and may not work at all on your computer.")
1245 CHOICEcxx . . $ `sys/praatM.h:216:9`! (inputSource, U"Input source", 1)
1246 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"microphone")
1247 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"line")
1248 REALcxx . . $ `sys/praatM.h:92:9`! (gain, U"Gain (0-1)", U"1.0")
1249 REALcxx . . $ `sys/praatM.h:92:9`! (balance, U"Balance (0-1)", U"0.5")
1250 OPTIONMENUSTRcxx . . $ `sys/praatM.h:241:9`! (samplingFrequency, U"Sampling frequency (Hz)", 6)
1251 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"8000")
1252 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"11025")
1253 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"16000")
1254 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"22050")
1255 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"32000")
1256 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"44100")
1257 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"48000")
1258 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"96000")
1259 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (duration, U"Duration (seconds)", U"1.0")
1260 OKcxx . . $ `sys/praatM.h:327:9`!
1261 DOcxx . . $ `sys/praatM.h:354:9`!
1262 RECORD_ONEcxx . . $ `sys/praatM.h:678:9`!
1263 autoSoundcxx . . $ autoSound# result = Sound_record_fixedTimecxx . . $ Sound_record_fixedTime(6947fa21466ac0c2). (inputSource,
1264 gain, balance, Melder_atofcxx . . $ Melder_atof(13d725aae188c0cd). (samplingFrequency), duration);
1265 RECORD_ONE_ENDcxx . . $ `sys/praatM.h:679:9`! (U"untitled")
1266 }
1267
1268 extern "C" void* Praat_Sound_resample (void* sound, double newSamplingFrequency, int precision);
1269 #if 0
1270 void* Praat_Sound_resample (void* sound, double newSamplingFrequency, int precision) {
1271 try {
1272 if (newSamplingFrequency <= 0.0) Melder_throw (U"`newSamplingFrequency` should be positive.");
1273 if (precision <= 0) Melder_throw (U"`precision` should be greater than 0.");
1274 autoSound thee = Sound_resample ((Sound) sound, newSamplingFrequency, precision);
1275 return (void*) thee.releaseToAmbiguousOwner();
1276 } catch (MelderError) {
1277 Melder_flushError (U"Praat: Sound_resample: not performed.");
1278 return NULL;
1279 }
1280 }
1281 #elif 0
1282 typedef struct {
1283 int type;
1284 union { void* _object; double _double; int _int; };
1285 } PraatLibArg;
1286 #define PraatLibArg_OBJECT 0
1287 #define PraatLibArg_DOUBLE 1
1288 #define PraatLibArg_INT 2
1289 extern "C" void* praatlib_do (const char *commandTitle, PraatLibArg args [], int narg);
1290 void* Praat_Sound_resample (void* sound, double newSamplingFrequency, int precision) {
1291 PraatLibArg args [3];
1292 args [0]. type = PraatLibArg_OBJECT;
1293 args [0]. _object = sound;
1294 args [1]. type = PraatLibArg_DOUBLE;
1295 args [1]. _double = newSamplingFrequency;
1296 args [2]. type = PraatLibArg_INT;
1297 args [2]. _int = precision;
1298 return praatlib_do ("Sound: Resample...", args, 3);
1299 }
1300 #endif
1301
1302 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_resample, U"Sound: Resample", U"Sound: Resample...") {
1303 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (newSamplingFrequency, U"New sampling frequency (Hz)", U"10000.0")
1304 NATURALcxx . . $ `sys/praatM.h:120:9`! (precision, U"Precision (samples)", U"50")
1305 OKcxx . . $ `sys/praatM.h:327:9`!
1306 DOcxx . . $ `sys/praatM.h:354:9`!
1307 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1308 autoSoundcxx . . $ autoSound# result = Sound_resamplecxx . . $ Sound_resample(872961da5f5e69e5). (me, newSamplingFrequency, precision);
1309 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", Melder_iroundcxx . . $ `melder/melder_ftoi.h:78:9`! (newSamplingFrequency));
1310 }
1311
1312 DIRECTcxx . . $ `sys/praatM.h:412:9`! (MODIFY_Sound_reverse) {
1313 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1314 Sound_reversecxx . . $ Sound_reverse(77a4df2843109656). (me, 0.0, 0.0);
1315 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1316 }
1317
1318 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAs24BitWavFile, U"Save as 24-bit WAV file", nullptr, U"wav") {
1319 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected Sound object(s) to the 24-bit WAV file")
1320 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_WAVcxx . . $ `melder/melder_audiofiles.h:26:9`!, 24);
1321 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
1322 }
1323
1324 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAs32BitWavFile, U"Save as 32-bit WAV file", nullptr, U"wav") {
1325 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected Sound object(s) to the 32-bit WAV file")
1326 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_WAVcxx . . $ `melder/melder_audiofiles.h:26:9`!, 32);
1327 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
1328 }
1329
1330 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_scalePeak, U"Sound: Scale peak", U"Sound: Scale peak...") {
1331 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (newAbsolutePeak, U"New absolute peak", U"0.99")
1332 OKcxx . . $ `sys/praatM.h:327:9`!
1333 DOcxx . . $ `sys/praatM.h:354:9`!
1334 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1335 Vector_scalecxx . . $ Vector_scale(54f31cdb89d1acde). (me, newAbsolutePeak);
1336 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1337 }
1338
1339 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_scaleIntensity, U"Sound: Scale intensity", U"Sound: Scale intensity...") {
1340 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (newAverageIntensity, U"New average intensity (dB SPL)", U"70.0")
1341 OKcxx . . $ `sys/praatM.h:327:9`!
1342 DOcxx . . $ `sys/praatM.h:354:9`!
1343 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1344 Sound_scaleIntensitycxx . . $ Sound_scaleIntensity(e59d264236af2337). (me, newAverageIntensity);
1345 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1346 }
1347
1348 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_old_Sound_setValueAtIndex, U"Sound: Set value at sample number", U"Sound: Set value at sample number...") {
1349 NATURALcxx . . $ `sys/praatM.h:120:9`! (sampleNumber, U"Sample number", U"100")
1350 REALcxx . . $ `sys/praatM.h:92:9`! (newValue, U"New value", U"0.0")
1351 OKcxx . . $ `sys/praatM.h:327:9`!
1352 DOcxx . . $ `sys/praatM.h:354:9`!
1353 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1354 if (sampleNumber > mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx.)
1355 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"The sample number should not exceed the number of samples, which is ", mycxx . . $ `melder/melder.h:44:9`! nx, U".");
1356 for (integercxx . . $ integer# channel = 1; channel <= mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.; channel ++)
1357 mycxx . . $ `melder/melder.h:44:9`! zcxx . . $ structMatrix#z. [cxx . . $ automatrix#`operator[]`(2d545b3cb3f8e666).channel] [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).sampleNumber] = newValue;
1358 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1359 }
1360
1361 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_setValueAtIndex, U"Sound: Set value at sample number", U"Sound: Set value at sample number...") {
1362 CHANNELcxx . . $ `sys/praatM.h:323:9`! (channel, U"Channel", U"0 (= all)")
1363 NATURALcxx . . $ `sys/praatM.h:120:9`! (sampleNumber, U"Sample number", U"100")
1364 REALcxx . . $ `sys/praatM.h:92:9`! (newValue, U"New value", U"0.0")
1365 OKcxx . . $ `sys/praatM.h:327:9`!
1366 DO_ALTERNATIVEcxx . . $ `sys/praatM.h:367:9`! (MODIFY_old_Sound_setValueAtIndex)
1367 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1368 if (sampleNumber > mycxx . . $ `melder/melder.h:44:9`! nxcxx . . $ structSampled#nx.)
1369 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"The sample number should not exceed the number of samples, which is ", mycxx . . $ `melder/melder.h:44:9`! nx, U".");
1370 if (channel > mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.) channel = 1;
1371 if (channel > 0) {
1372 mycxx . . $ `melder/melder.h:44:9`! zcxx . . $ structMatrix#z. [cxx . . $ automatrix#`operator[]`(2d545b3cb3f8e666).channel] [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).sampleNumber] = newValue;
1373 } else {
1374 for (channel = 1; channel <= mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny.; channel ++)
1375 mycxx . . $ `melder/melder.h:44:9`! zcxx . . $ structMatrix#z. [cxx . . $ automatrix#`operator[]`(2d545b3cb3f8e666).channel] [cxx . . $ vector#`operator[]`(8a4599b8835d1ce1).sampleNumber] = newValue;
1376 }
1377 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1378 }
1379
1380 FORMcxx . . $ `sys/praatM.h:79:9`! (MODIFY_Sound_setPartToZero, U"Sound: Set part to zero", nullptr) {
1381 REALcxx . . $ `sys/praatM.h:92:9`! (fromTime, U"left Time range (s)", U"0.0")
1382 REALcxx . . $ `sys/praatM.h:92:9`! (toTime, U"right Time range (s)", U"0.0 (= all)")
1383 CHOICExcxx . . $ `sys/praatM.h:221:9`! (cut, U"Cut", 2, 0)
1384 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"at exactly these times")
1385 OPTIONcxx . . $ `sys/praatM.h:246:9`! (U"at nearest zero crossing")
1386 OKcxx . . $ `sys/praatM.h:327:9`!
1387 DOcxx . . $ `sys/praatM.h:354:9`!
1388 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1389 Sound_setZerocxx . . $ Sound_setZero(31bbd7258342aec7). (me, fromTime, toTime, cut);
1390 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1391 }
1392
1393 DIRECTcxx . . $ `sys/praatM.h:412:9`! (MODIFY_Sound_subtractMean) {
1394 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1395 Vector_subtractMeancxx . . $ Vector_subtractMean(8ab8c8e01f03cabf). (me);
1396 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1397 }
1398
1399 DIRECTcxx . . $ `sys/praatM.h:412:9`! (MODIFY_Sound_shiftTimesToBetweenZeroAndPhysicalDuration) {
1400 MODIFY_EACHcxx . . $ `sys/praatM.h:1017:9`! (Sound)
1401 Sound_shiftTimesToBetweenZeroAndPhysicalDurationcxx . . $ Sound_shiftTimesToBetweenZeroAndPhysicalDuration(88106389304369e6). (me);
1402 MODIFY_EACH_ENDcxx . . $ `sys/praatM.h:1020:9`!
1403 }
1404
1405 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Manipulation, U"Sound: To Manipulation", U"Manipulation") {
1406 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (timeStep, U"Time step (s)", U"0.01")
1407 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1408 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"Pitch ceiling (Hz)", U"600.0")
1409 OKcxx . . $ `sys/praatM.h:327:9`!
1410 DOcxx . . $ `sys/praatM.h:354:9`!
1411 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (pitchCeiling > pitchFloor,
1412 U"The pitch ceiling should be greater than the pitch floor.");
1413 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1414 autoManipulationcxx . . $ autoManipulation# result = Sound_to_Manipulationcxx . . $ Sound_to_Manipulation(30f887474585d5d9). (me, timeStep, pitchFloor, pitchCeiling);
1415 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1416 }
1417
1418 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Cochleagram, U"Sound: To Cochleagram", nullptr) {
1419 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (timeStep, U"Time step (s)", U"0.01")
1420 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (frequencyResolution, U"Frequency resolution (Bark)", U"0.1")
1421 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (windowLength, U"Window length (s)", U"0.03")
1422 REALcxx . . $ `sys/praatM.h:92:9`! (forwardMaskingTime, U"Forward-masking time (s)", U"0.03")
1423 OKcxx . . $ `sys/praatM.h:327:9`!
1424 DOcxx . . $ `sys/praatM.h:354:9`!
1425 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1426 autoCochleagramcxx . . $ autoCochleagram# result = Sound_to_Cochleagramcxx . . $ Sound_to_Cochleagram(6ee7f771f14cbecb). (me, timeStep,
1427 frequencyResolution, windowLength, forwardMaskingTime);
1428 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1429 }
1430
1431 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Cochleagram_edb, U"Sound: To Cochleagram (De Boer, Meddis & Hewitt)", nullptr) {
1432 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (timeStep, U"Time step (s)", U"0.01")
1433 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (frequencyResolution, U"Frequency resolution (Bark)", U"0.1")
1434 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (hasSynapse, U"Has synapse", true)
1435 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Meddis synapse properties")
1436 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (replenishmentRate, U" replenishment rate (/sec)", U"5.05")
1437 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (lossRate, U" loss rate (/sec)", U"2500.0")
1438 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (returnRate, U" return rate (/sec)", U"6580.0")
1439 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (reprocessingRate, U" reprocessing rate (/sec)", U"66.31")
1440 OKcxx . . $ `sys/praatM.h:327:9`!
1441 DOcxx . . $ `sys/praatM.h:354:9`!
1442 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1443 autoCochleagramcxx . . $ autoCochleagram# result = Sound_to_Cochleagram_edbcxx . . $ Sound_to_Cochleagram_edb(71483ab7d3404602). (me, timeStep, frequencyResolution, hasSynapse,
1444 replenishmentRate, lossRate, returnRate, reprocessingRate);
1445 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1446 }
1447
1448 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Formant_burg, U"Sound: To Formant (Burg method)", U"Sound: To Formant (burg)...") {
1449 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1450 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (maximumNumberOfFormants, U"Max. number of formants", U"5.0")
1451 REALcxx . . $ `sys/praatM.h:92:9`! (formantCeiling, U"Formant ceiling (Hz)", U"5500.0 (= adult female)")
1452 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (windowLength, U"Window length (s)", U"0.025")
1453 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (preEmphasisFrom, U"Pre-emphasis from (Hz)", U"50.0")
1454 OKcxx . . $ `sys/praatM.h:327:9`!
1455 DOcxx . . $ `sys/praatM.h:354:9`!
1456 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1457 autoFormantcxx . . $ autoFormant# result = Sound_to_Formant_burgcxx . . $ Sound_to_Formant_burg(d30006947cf564ad). (me, timeStep,
1458 maximumNumberOfFormants, formantCeiling, windowLength, preEmphasisFrom);
1459 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1460 }
1461
1462 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Formant_keepAll, U"Sound: To Formant (keep all)", U"Sound: To Formant (keep all)...") {
1463 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1464 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (maximumNumberOfFormants, U"Max. number of formants", U"5.0")
1465 REALcxx . . $ `sys/praatM.h:92:9`! (formantCeiling, U"Formant ceiling (Hz)", U"5500.0 (= adult female)")
1466 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (windowLength, U"Window length (s)", U"0.025")
1467 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (preEmphasisFrom, U"Pre-emphasis from (Hz)", U"50.0")
1468 OKcxx . . $ `sys/praatM.h:327:9`!
1469 DOcxx . . $ `sys/praatM.h:354:9`!
1470 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1471 autoFormantcxx . . $ autoFormant# result = Sound_to_Formant_keepAllcxx . . $ Sound_to_Formant_keepAll(d30006947cf564ad). (me, timeStep,
1472 maximumNumberOfFormants, formantCeiling, windowLength, preEmphasisFrom);
1473 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1474 }
1475
1476 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Formant_willems, U"Sound: To Formant (split Levinson (Willems))", U"Sound: To Formant (sl)...") {
1477 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1478 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (numberOfFormants, U"Number of formants", U"5.0")
1479 REALcxx . . $ `sys/praatM.h:92:9`! (formantCeiling, U"Formant ceiling (Hz)", U"5500.0 (= adult female)")
1480 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (windowLength, U"Window length (s)", U"0.025")
1481 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (preEmphasisFrom, U"Pre-emphasis from (Hz)", U"50.0")
1482 OKcxx . . $ `sys/praatM.h:327:9`!
1483 DOcxx . . $ `sys/praatM.h:354:9`!
1484 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1485 autoFormantcxx . . $ autoFormant# result = Sound_to_Formant_willemscxx . . $ Sound_to_Formant_willems(d30006947cf564ad). (me, timeStep,
1486 numberOfFormants, formantCeiling, windowLength, preEmphasisFrom);
1487 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1488 }
1489
1490 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Harmonicity_ac, U"Sound: To Harmonicity (ac)", U"Sound: To Harmonicity (ac)...") {
1491 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (timeStep, U"Time step (s)", U"0.01")
1492 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1493 REALcxx . . $ `sys/praatM.h:92:9`! (silenceThreshold, U"Silence threshold", U"0.1")
1494 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (periodsPerWindow, U"Periods per window", U"4.5")
1495 OKcxx . . $ `sys/praatM.h:327:9`!
1496 DOcxx . . $ `sys/praatM.h:354:9`!
1497 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (periodsPerWindow >= 3.0,
1498 U"The number of periods per window must be at least 3.0.");
1499 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1500 autoHarmonicitycxx . . $ autoHarmonicity# result = Sound_to_Harmonicity_accxx . . $ Sound_to_Harmonicity_ac(e2f9e5fff2451113). (me, timeStep,
1501 pitchFloor, silenceThreshold, periodsPerWindow);
1502 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1503 }
1504
1505 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Harmonicity_cc, U"Sound: To Harmonicity (cc)", U"Sound: To Harmonicity (cc)...") {
1506 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (timeStep, U"Time step (s)", U"0.01")
1507 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1508 REALcxx . . $ `sys/praatM.h:92:9`! (silenceThreshold, U"Silence threshold", U"0.1")
1509 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (periodsPerWindow, U"Periods per window", U"1.0")
1510 OKcxx . . $ `sys/praatM.h:327:9`!
1511 DOcxx . . $ `sys/praatM.h:354:9`!
1512 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1513 autoHarmonicitycxx . . $ autoHarmonicity# result = Sound_to_Harmonicity_cccxx . . $ Sound_to_Harmonicity_cc(e2f9e5fff2451113). (me, timeStep,
1514 pitchFloor, silenceThreshold, periodsPerWindow);
1515 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1516 }
1517
1518 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Harmonicity_gne, U"Sound: To Harmonicity (gne)", nullptr) {
1519 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (minimumFrequency, U"Minimum frequency (Hz)", U"500.0")
1520 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (maximumFrequency, U"Maximum frequency (Hz)", U"4500.0")
1521 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (bandwidth, U"Bandwidth (Hz)", U"1000.0")
1522 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (step, U"Step (Hz)", U"80.0")
1523 OKcxx . . $ `sys/praatM.h:327:9`!
1524 DOcxx . . $ `sys/praatM.h:354:9`!
1525 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1526 autoMatrixcxx . . $ autoMatrix# result = Sound_to_Harmonicity_GNEcxx . . $ Sound_to_Harmonicity_GNE(8e823b2def6fea16). (me, minimumFrequency,
1527 maximumFrequency, bandwidth, step);
1528 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1529 }
1530
1531 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__old_Sound_to_Intensity, U"Sound: To Intensity", U"Sound: To Intensity...") {
1532 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"100.0")
1533 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1534 OKcxx . . $ `sys/praatM.h:327:9`!
1535 DOcxx . . $ `sys/praatM.h:354:9`!
1536 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1537 autoIntensitycxx . . $ autoIntensity# result = Sound_to_Intensitycxx . . $ Sound_to_Intensity(523838029c3b40bd). (me,
1538 pitchFloor, timeStep, false);
1539 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1540 }
1541
1542 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Intensity, U"Sound: To Intensity", U"Sound: To Intensity...") {
1543 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"100.0")
1544 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1545 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (subtractMean, U"Subtract mean", true)
1546 OKcxx . . $ `sys/praatM.h:327:9`!
1547 DO_ALTERNATIVEcxx . . $ `sys/praatM.h:367:9`! (CONVERT_EACH_TO_ONE__old_Sound_to_Intensity)
1548 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1549 autoIntensitycxx . . $ autoIntensity# result = Sound_to_Intensitycxx . . $ Sound_to_Intensity(523838029c3b40bd). (me,
1550 pitchFloor, timeStep, subtractMean);
1551 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1552 }
1553
1554 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_IntensityTier, U"Sound: To IntensityTier", nullptr) {
1555 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"100.0")
1556 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1557 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (subtractMean, U"Subtract mean", true)
1558 OKcxx . . $ `sys/praatM.h:327:9`!
1559 DOcxx . . $ `sys/praatM.h:354:9`!
1560 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1561 autoIntensityTiercxx . . $ autoIntensityTier# result = Sound_to_IntensityTiercxx . . $ Sound_to_IntensityTier(832dd94c110cf030). (me,
1562 pitchFloor, timeStep, subtractMean);
1563 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1564 }
1565
1566 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Sound_to_IntervalTier) {
1567 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1568 autoIntervalTiercxx . . $ autoIntervalTier# result = IntervalTier_createcxx . . $ IntervalTier_create(e1dcd17f7d4249e5). (mycxx . . $ `melder/melder.h:44:9`! xmincxx . . $ structFunction#xmin., mycxx . . $ `melder/melder.h:44:9`! xmaxcxx . . $ structFunction#xmax.);
1569 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1570 }
1571
1572 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Ltas, U"Sound: To long-term average spectrum", nullptr) {
1573 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (bandwidth, U"Bandwidth (Hz)", U"100")
1574 OKcxx . . $ `sys/praatM.h:327:9`!
1575 DOcxx . . $ `sys/praatM.h:354:9`!
1576 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1577 autoLtascxx . . $ autoLtas# result = Sound_to_Ltascxx . . $ Sound_to_Ltas(348e09b2d2208086). (me, bandwidth);
1578 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1579 }
1580
1581 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Ltas_pitchCorrected, U"Sound: To Ltas (pitch-corrected)", U"Sound: To Ltas (pitch-corrected)...") {
1582 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1583 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"Pitch ceiling (Hz)", U"600.0")
1584 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (maximumFrequency, U"Maximum frequency (Hz)", U"5000.0")
1585 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (bandwidth, U"Bandwidth (Hz)", U"100.0")
1586 REALcxx . . $ `sys/praatM.h:92:9`! (shortestPeriod, U"Shortest period (s)", U"0.0001")
1587 REALcxx . . $ `sys/praatM.h:92:9`! (longestPeriod, U"Longest period (s)", U"0.02")
1588 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (maximumPeriodFactor, U"Maximum period factor", U"1.3")
1589 OKcxx . . $ `sys/praatM.h:327:9`!
1590 DOcxx . . $ `sys/praatM.h:354:9`!
1591 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (pitchCeiling > pitchFloor,
1592 U"Your pitch ceiling should be greater than your pitch floor.");
1593 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1594 autoLtascxx . . $ autoLtas# result = Sound_to_Ltas_pitchCorrectedcxx . . $ Sound_to_Ltas_pitchCorrected(90227e30b330d163). (me, pitchFloor, pitchCeiling,
1595 maximumFrequency, bandwidth, shortestPeriod, longestPeriod, maximumPeriodFactor);
1596 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1597 }
1598
1599 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Sound_downto_Matrix) {
1600 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1601 autoMatrixcxx . . $ autoMatrix# result = Sound_to_Matrixcxx . . $ Sound_to_Matrix(593cc862e33913cb). (me);
1602 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1603 }
1604
1605 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_TWO_TO_ONE__Sounds_to_ParamCurve) {
1606 CONVERT_TWO_TO_ONEcxx . . $ `sys/praatM.h:1191:9`! (Sound)
1607 autoParamCurvecxx . . $ autoParamCurve# result = ParamCurve_createcxx . . $ ParamCurve_create(8030062a29da31ad). (me, you);
1608 CONVERT_TWO_TO_ONE_ENDcxx . . $ `sys/praatM.h:1193:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get(), U"_", yourcxx . . $ `melder/melder.h:46:9`! name.get())
1609 }
1610
1611 DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__How_to_choose_a_pitch_analysis_method) {
1612 HELPcxx . . $ `sys/praatM.h:616:9`! (U"how to choose a pitch analysis method")
1613 }
1614
1615 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Pitch, U"Sound: To Pitch", U"Sound: To Pitch...") {
1616 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1617 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1618 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"Pitch ceiling (Hz)", U"600.0")
1619 OKcxx . . $ `sys/praatM.h:327:9`!
1620 DOcxx . . $ `sys/praatM.h:354:9`!
1621 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1622 autoPitchcxx . . $ autoPitch# result = Sound_to_Pitchcxx . . $ Sound_to_Pitch(c773ddec40eb7e2b). (me, timeStep, pitchFloor, pitchCeiling);
1623 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1624 }
1625
1626 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Pitch_ac, U"Sound: To Pitch (ac)", U"Sound: To Pitch (ac)...") {
1627 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Finding the candidates...")
1628 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1629 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1630 NATURALcxx . . $ `sys/praatM.h:120:9`! (maximumNumberOfCandidates, U"Max. number of candidates", U"15")
1631 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (veryAccurate, U"Very accurate", false)
1632 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Finding a path...")
1633 REALcxx . . $ `sys/praatM.h:92:9`! (silenceThreshold, U"Silence threshold", U"0.03")
1634 REALcxx . . $ `sys/praatM.h:92:9`! (voicingThreshold, U"Voicing threshold", U"0.45")
1635 REALcxx . . $ `sys/praatM.h:92:9`! (octaveCost, U"Octave cost", U"0.01")
1636 REALcxx . . $ `sys/praatM.h:92:9`! (octaveJumpCost, U"Octave-jump cost", U"0.35")
1637 REALcxx . . $ `sys/praatM.h:92:9`! (voicedUnvoicedCost, U"Voiced / unvoiced cost", U"0.14")
1638 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"Pitch ceiling (Hz)", U"600.0")
1639 OKcxx . . $ `sys/praatM.h:327:9`!
1640 DOcxx . . $ `sys/praatM.h:354:9`!
1641 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (maximumNumberOfCandidates > 1,
1642 U"Your maximum number of candidates should be greater than 1.");
1643 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1644 autoPitchcxx . . $ autoPitch# result = Sound_to_Pitch_rawAccxx . . $ Sound_to_Pitch_rawAc(309fd25349cae727). (me,
1645 timeStep, pitchFloor, pitchCeiling,
1646 maximumNumberOfCandidates, veryAccurate,
1647 silenceThreshold, voicingThreshold, octaveCost, octaveJumpCost, voicedUnvoicedCost
1648 );
1649 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1650 }
1651 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Pitch_cc, U"Sound: To Pitch (cc)", U"Sound: To Pitch (cc)...") {
1652 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Finding the candidates...")
1653 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1654 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1655 NATURALcxx . . $ `sys/praatM.h:120:9`! (maximumNumberOfCandidates, U"Max. number of candidates", U"15")
1656 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (veryAccurate, U"Very accurate", false)
1657 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Finding a path...")
1658 REALcxx . . $ `sys/praatM.h:92:9`! (silenceThreshold, U"Silence threshold", U"0.03")
1659 REALcxx . . $ `sys/praatM.h:92:9`! (voicingThreshold, U"Voicing threshold", U"0.45")
1660 REALcxx . . $ `sys/praatM.h:92:9`! (octaveCost, U"Octave cost", U"0.01")
1661 REALcxx . . $ `sys/praatM.h:92:9`! (octaveJumpCost, U"Octave-jump cost", U"0.35")
1662 REALcxx . . $ `sys/praatM.h:92:9`! (voicedUnvoicedCost, U"Voiced / unvoiced cost", U"0.14")
1663 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"Pitch ceiling (Hz)", U"600.0")
1664 OKcxx . . $ `sys/praatM.h:327:9`!
1665 DOcxx . . $ `sys/praatM.h:354:9`!
1666 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (maximumNumberOfCandidates > 1,
1667 U"Your maximum number of candidates should be greater than 1.");
1668 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1669 autoPitchcxx . . $ autoPitch# result = Sound_to_Pitch_rawCccxx . . $ Sound_to_Pitch_rawCc(309fd25349cae727). (me,
1670 timeStep, pitchFloor, pitchCeiling,
1671 maximumNumberOfCandidates, veryAccurate,
1672 silenceThreshold, voicingThreshold, octaveCost, octaveJumpCost, voicedUnvoicedCost
1673 );
1674 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1675 }
1676
1677 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Pitch_rawAutocorrelation, U"Sound: To Pitch (raw autocorrelation)", U"Sound: To Pitch (raw autocorrelation)...") {
1678 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"Where to search...")
1679 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1680 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"left Pitch floor and ceiling (Hz)", U"75.0")
1681 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"right Pitch floor and ceiling (Hz)", U"600.0")
1682 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to find the candidates...")
1683 NATURALcxx . . $ `sys/praatM.h:120:9`! (maximumNumberOfCandidates, U"Max. number of candidates", U"15")
1684 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (veryAccurate, U"Very accurate", false)
1685 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to find a path through the candidates...")
1686 REALcxx . . $ `sys/praatM.h:92:9`! (silenceThreshold, U"Silence threshold", U"0.03")
1687 REALcxx . . $ `sys/praatM.h:92:9`! (voicingThreshold, U"Voicing threshold", U"0.45")
1688 REALcxx . . $ `sys/praatM.h:92:9`! (octaveCost, U"Octave cost", U"0.01")
1689 REALcxx . . $ `sys/praatM.h:92:9`! (octaveJumpCost, U"Octave-jump cost", U"0.35")
1690 REALcxx . . $ `sys/praatM.h:92:9`! (voicedUnvoicedCost, U"Voiced / unvoiced cost", U"0.14")
1691 OKcxx . . $ `sys/praatM.h:327:9`!
1692 DOcxx . . $ `sys/praatM.h:354:9`!
1693 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (maximumNumberOfCandidates > 1,
1694 U"Your maximum number of candidates should be greater than 1.");
1695 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1696 autoPitchcxx . . $ autoPitch# result = Sound_to_Pitch_rawAccxx . . $ Sound_to_Pitch_rawAc(309fd25349cae727). (me,
1697 timeStep, pitchFloor, pitchCeiling,
1698 maximumNumberOfCandidates, veryAccurate,
1699 silenceThreshold, voicingThreshold, octaveCost, octaveJumpCost, voicedUnvoicedCost
1700 );
1701 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1702 }
1703
1704 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Pitch_rawCrossCorrelation, U"Sound: To Pitch (raw cross-correlation)", U"Sound: To Pitch (raw cross-correlation)...") {
1705 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"Where to search...")
1706 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1707 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"left Pitch floor and ceiling (Hz)", U"75.0")
1708 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"right Pitch floor and ceiling (Hz)", U"600.0")
1709 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to find the candidates...")
1710 NATURALcxx . . $ `sys/praatM.h:120:9`! (maximumNumberOfCandidates, U"Max. number of candidates", U"15")
1711 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (veryAccurate, U"Very accurate", false)
1712 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to find a path through the candidates...")
1713 REALcxx . . $ `sys/praatM.h:92:9`! (silenceThreshold, U"Silence threshold", U"0.03")
1714 REALcxx . . $ `sys/praatM.h:92:9`! (voicingThreshold, U"Voicing threshold", U"0.45")
1715 REALcxx . . $ `sys/praatM.h:92:9`! (octaveCost, U"Octave cost", U"0.01")
1716 REALcxx . . $ `sys/praatM.h:92:9`! (octaveJumpCost, U"Octave-jump cost", U"0.35")
1717 REALcxx . . $ `sys/praatM.h:92:9`! (voicedUnvoicedCost, U"Voiced / unvoiced cost", U"0.14")
1718 OKcxx . . $ `sys/praatM.h:327:9`!
1719 DOcxx . . $ `sys/praatM.h:354:9`!
1720 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (maximumNumberOfCandidates > 1,
1721 U"Your maximum number of candidates should be greater than 1.");
1722 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1723 autoPitchcxx . . $ autoPitch# result = Sound_to_Pitch_rawCccxx . . $ Sound_to_Pitch_rawCc(309fd25349cae727). (me,
1724 timeStep, pitchFloor, pitchCeiling,
1725 maximumNumberOfCandidates, veryAccurate,
1726 silenceThreshold, voicingThreshold, octaveCost, octaveJumpCost, voicedUnvoicedCost
1727 );
1728 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1729 }
1730
1731 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Pitch_filteredAutocorrelation, U"Sound: To Pitch (filtered autocorrelation)", U"Sound: To Pitch (filtered autocorrelation)...") {
1732 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"Where to search...")
1733 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1734 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"left Pitch floor and top (Hz)", U"50.0")
1735 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchTop, U"right Pitch floor and top (Hz)", U"800.0")
1736 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to find the candidates...")
1737 NATURALcxx . . $ `sys/praatM.h:120:9`! (maximumNumberOfCandidates, U"Max. number of candidates", U"15")
1738 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (veryAccurate, U"Very accurate", false)
1739 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to preprocess the sound...")
1740 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (attenuationAtTop, U"Attenuation at top", U"0.03")
1741 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to find a path through the candidates...")
1742 REALcxx . . $ `sys/praatM.h:92:9`! (silenceThreshold, U"Silence threshold", U"0.09")
1743 REALcxx . . $ `sys/praatM.h:92:9`! (voicingThreshold, U"Voicing threshold", U"0.50")
1744 REALcxx . . $ `sys/praatM.h:92:9`! (octaveCost, U"Octave cost", U"0.055")
1745 REALcxx . . $ `sys/praatM.h:92:9`! (octaveJumpCost, U"Octave-jump cost", U"0.35")
1746 REALcxx . . $ `sys/praatM.h:92:9`! (voicedUnvoicedCost, U"Voiced / unvoiced cost", U"0.14")
1747 OKcxx . . $ `sys/praatM.h:327:9`!
1748 DOcxx . . $ `sys/praatM.h:354:9`!
1749 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (maximumNumberOfCandidates > 1,
1750 U"Your maximum number of candidates should be greater than 1.");
1751 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1752 autoPitchcxx . . $ autoPitch# result = Sound_to_Pitch_filteredAccxx . . $ Sound_to_Pitch_filteredAc(1339e7d217e38bc7). (me,
1753 timeStep, pitchFloor, pitchTop,
1754 maximumNumberOfCandidates, veryAccurate, attenuationAtTop,
1755 silenceThreshold, voicingThreshold, octaveCost, octaveJumpCost, voicedUnvoicedCost
1756 );
1757 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1758 }
1759
1760 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Pitch_filteredCrossCorrelation, U"Sound: To Pitch (filtered cross-correlation)", U"Sound: To Pitch (filtered cross-correlation)...") {
1761 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"Where to search...")
1762 REALcxx . . $ `sys/praatM.h:92:9`! (timeStep, U"Time step (s)", U"0.0 (= auto)")
1763 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"left Pitch floor and top (Hz)", U"50.0")
1764 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchTop, U"right Pitch floor and top (Hz)", U"800.0")
1765 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to find the candidates...")
1766 NATURALcxx . . $ `sys/praatM.h:120:9`! (maximumNumberOfCandidates, U"Max. number of candidates", U"15")
1767 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (veryAccurate, U"Very accurate", false)
1768 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to preprocess the sound...")
1769 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (attenuationAtTop, U"Attenuation at top", U"0.03")
1770 HEADINGcxx . . $ `sys/praatM.h:134:9`! (U"How to find a path through the candidates...")
1771 REALcxx . . $ `sys/praatM.h:92:9`! (silenceThreshold, U"Silence threshold", U"0.09")
1772 REALcxx . . $ `sys/praatM.h:92:9`! (voicingThreshold, U"Voicing threshold", U"0.50")
1773 REALcxx . . $ `sys/praatM.h:92:9`! (octaveCost, U"Octave cost", U"0.055")
1774 REALcxx . . $ `sys/praatM.h:92:9`! (octaveJumpCost, U"Octave-jump cost", U"0.35")
1775 REALcxx . . $ `sys/praatM.h:92:9`! (voicedUnvoicedCost, U"Voiced / unvoiced cost", U"0.14")
1776 OKcxx . . $ `sys/praatM.h:327:9`!
1777 DOcxx . . $ `sys/praatM.h:354:9`!
1778 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (maximumNumberOfCandidates > 1,
1779 U"Your maximum number of candidates should be greater than 1.");
1780 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1781 autoPitchcxx . . $ autoPitch# result = Sound_to_Pitch_filteredCccxx . . $ Sound_to_Pitch_filteredCc(1339e7d217e38bc7). (me,
1782 timeStep, pitchFloor, pitchTop,
1783 maximumNumberOfCandidates, veryAccurate, attenuationAtTop,
1784 silenceThreshold, voicingThreshold, octaveCost, octaveJumpCost, voicedUnvoicedCost
1785 );
1786 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1787 }
1788
1789 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_PointProcess_extrema, U"Sound: To PointProcess (extrema)", nullptr) {
1790 CHANNELcxx . . $ `sys/praatM.h:323:9`! (channel, U"Channel (number, Left, or Right)", U"1")
1791 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeMaxima, U"Include maxima", true)
1792 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeMinima, U"Include minima", false)
1793 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kVector_peakInterpolation, peakInterpolationType,
1794 U"Interpolation", kVector_peakInterpolation::SINC70)
1795 OKcxx . . $ `sys/praatM.h:327:9`!
1796 DOcxx . . $ `sys/praatM.h:354:9`!
1797 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1798 autoPointProcesscxx . . $ autoPointProcess# result = Sound_to_PointProcess_extremacxx . . $ Sound_to_PointProcess_extrema(d43a2772443e4bbf). (me, channel > mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny. ? 1 : channel,
1799 peakInterpolationType, includeMaxima, includeMinima);
1800 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1801 }
1802
1803 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_PointProcess_periodic_cc, U"Sound: To PointProcess (periodic, cc)", U"Sound: To PointProcess (periodic, cc)...") {
1804 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1805 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"Pitch ceiling (Hz)", U"600.0")
1806 OKcxx . . $ `sys/praatM.h:327:9`!
1807 DOcxx . . $ `sys/praatM.h:354:9`!
1808 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (pitchCeiling > pitchFloor,
1809 U"Your pitch ceiling should be greater than your pitch floor.");
1810 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1811 autoPointProcesscxx . . $ autoPointProcess# result = Sound_to_PointProcess_periodic_cccxx . . $ Sound_to_PointProcess_periodic_cc(ba11ba6b6def1c3b). (me, pitchFloor, pitchCeiling);
1812 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1813 }
1814
1815 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_PointProcess_periodic_peaks, U"Sound: To PointProcess (periodic, peaks)", U"Sound: To PointProcess (periodic, peaks)...") {
1816 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchFloor, U"Pitch floor (Hz)", U"75.0")
1817 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (pitchCeiling, U"Pitch ceiling (Hz)", U"600.0")
1818 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeMaxima, U"Include maxima", true)
1819 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeMinima, U"Include minima", false)
1820 OKcxx . . $ `sys/praatM.h:327:9`!
1821 DOcxx . . $ `sys/praatM.h:354:9`!
1822 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (pitchCeiling > pitchFloor,
1823 U"Your pitch ceiling should be greater than your pitch floor.");
1824 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1825 autoPointProcesscxx . . $ autoPointProcess# result = Sound_to_PointProcess_periodic_peakscxx . . $ Sound_to_PointProcess_periodic_peaks(980d566298bb5008). (me,
1826 pitchFloor, pitchCeiling, includeMaxima, includeMinima);
1827 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1828 }
1829
1830 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_PointProcess_zeroes, U"Get zeroes", nullptr) {
1831 CHANNELcxx . . $ `sys/praatM.h:323:9`! (channel, U"Channel (number, Left, or Right)", U"1")
1832 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeRaisers, U"Include raisers", true)
1833 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (includeFallers, U"Include fallers", false)
1834 OKcxx . . $ `sys/praatM.h:327:9`!
1835 DOcxx . . $ `sys/praatM.h:354:9`!
1836 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1837 autoPointProcesscxx . . $ autoPointProcess# result = Sound_to_PointProcess_zeroescxx . . $ Sound_to_PointProcess_zeroes(6c6d24490c26fe8b). (me, channel > mycxx . . $ `melder/melder.h:44:9`! nycxx . . $ structSampledXY#ny. ? 1 : channel,
1838 includeRaisers, includeFallers);
1839 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1840 }
1841
1842 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Spectrogram, U"Sound: To Spectrogram", U"Sound: To Spectrogram...") {
1843 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (windowLength, U"Window length (s)", U"0.005")
1844 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (maximumFrequency, U"Maximum frequency (Hz)", U"5000.0")
1845 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (timeStep, U"Time step (s)", U"0.002")
1846 POSITIVEcxx . . $ `sys/praatM.h:104:9`! (frequencyStep, U"Frequency step (Hz)", U"20.0")
1847 CHOICE_ENUMcxx . . $ `sys/praatM.h:249:9`! (kSound_to_Spectrogram_windowShape, windowShape,
1848 U"Window shape", kSound_to_Spectrogram_windowShape::DEFAULT)
1849 OKcxx . . $ `sys/praatM.h:327:9`!
1850 DOcxx . . $ `sys/praatM.h:354:9`!
1851 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1852 autoSpectrogramcxx . . $ autoSpectrogram# result = Sound_to_Spectrogram_ecxx . . $ Sound_to_Spectrogram_e(2715189e1964953). (me, windowLength,
1853 maximumFrequency, timeStep, frequencyStep, windowShape, 8.0, 8.0);
1854 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1855 }
1856
1857 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_Spectrum, U"Sound: To Spectrum", U"Sound: To Spectrum...") {
1858 BOOLEANcxx . . $ `sys/praatM.h:130:9`! (fast, U"Fast", true)
1859 OKcxx . . $ `sys/praatM.h:327:9`!
1860 DOcxx . . $ `sys/praatM.h:354:9`!
1861 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1862 autoSpectrumcxx . . $ autoSpectrum# result = Sound_to_Spectrumcxx . . $ Sound_to_Spectrum(e96f4d575d8eeb8c). (me, fast);
1863 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1864 }
1865
1866 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Sound_to_Spectrum_dft) {
1867 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1868 autoSpectrumcxx . . $ autoSpectrum# result = Sound_to_Spectrumcxx . . $ Sound_to_Spectrum(e96f4d575d8eeb8c). (me, false);
1869 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1870 }
1871
1872 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Sound_to_Spectrum_fft) {
1873 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1874 autoSpectrumcxx . . $ autoSpectrum# result = Sound_to_Spectrumcxx . . $ Sound_to_Spectrum(e96f4d575d8eeb8c). (me, true);
1875 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1876 }
1877
1878 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_TextGrid, U"Sound: To TextGrid", U"Sound: To TextGrid...") {
1879 SENTENCEcxx . . $ `sys/praatM.h:126:9`! (allTierNames, U"All tier names", U"Mary John bell")
1880 SENTENCEcxx . . $ `sys/praatM.h:126:9`! (whichOfTheseArePointTiers, U"Which of these are point tiers?", U"bell")
1881 OKcxx . . $ `sys/praatM.h:327:9`!
1882 DOcxx . . $ `sys/praatM.h:354:9`!
1883 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1884 autoTextGridcxx . . $ autoTextGrid# result = TextGrid_createcxx . . $ TextGrid_create(2af4734b8a73c5bc). (mycxx . . $ `melder/melder.h:44:9`! xmincxx . . $ structFunction#xmin., mycxx . . $ `melder/melder.h:44:9`! xmaxcxx . . $ structFunction#xmax., allTierNames, whichOfTheseArePointTiers);
1885 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1886 }
1887
1888 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_EACH_TO_ONE__Sound_to_TextGrid_speechActivity_silero,
1889 U"Sound: To TextGrid (speech activity, Silero)",
1890 U"Sound: To TextGrid (speech activity, Silero)...")
1891 {
1892 NONNEGATIVEcxx . . $ `sys/praatM.h:100:9`! (speechProbabilityThreshold, U"Speech probability threshold (0-1)", VadDefaults::speechThreshold)
1893 NONNEGATIVEcxx . . $ `sys/praatM.h:100:9`! (minNonSpeechDuration, U"Min. gap between speech segments (s)", VadDefaults::minNonSpeechDuration)
1894 NONNEGATIVEcxx . . $ `sys/praatM.h:100:9`! (minSpeechDuration, U"Min. speech segment (s)", VadDefaults::minSpeechDuration)
1895 NONNEGATIVEcxx . . $ `sys/praatM.h:100:9`! (speechPad, U"Padding around speech segments (s)", VadDefaults::speechPad)
1896 WORDcxx . . $ `sys/praatM.h:122:9`! (nonSpeechLabel, U"Non-speech interval label", VadDefaults::nonSpeechLabel)
1897 WORDcxx . . $ `sys/praatM.h:122:9`! (speechLabel, U"Speech interval label", VadDefaults::speechLabel)
1898 OKcxx . . $ `sys/praatM.h:327:9`!
1899 DOcxx . . $ `sys/praatM.h:354:9`!
1900 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1901 autoTextGridcxx . . $ autoTextGrid# result = Sound_to_TextGrid_speechActivity_silerocxx . . $ Sound_to_TextGrid_speechActivity_silero(4740eac195b3caf7). (me, speechProbabilityThreshold,
1902 minNonSpeechDuration, minSpeechDuration, speechPad, nonSpeechLabel, speechLabel);
1903 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1904 }
1905
1906 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_ONE__Sound_to_TextTier) {
1907 CONVERT_EACH_TO_ONEcxx . . $ `sys/praatM.h:1119:9`! (Sound)
1908 autoTextTiercxx . . $ autoTextTier# result = TextTier_createcxx . . $ TextTier_create(2138158d9ac1ba0e). (mycxx . . $ `melder/melder.h:44:9`! xmincxx . . $ structFunction#xmin., mycxx . . $ `melder/melder.h:44:9`! xmaxcxx . . $ structFunction#xmax.);
1909 CONVERT_EACH_TO_ONE_ENDcxx . . $ `sys/praatM.h:1121:9`! (mycxx . . $ `melder/melder.h:44:9`! name.get())
1910 }
1911
1912 FORMcxx . . $ `sys/praatM.h:79:9`! (SETTINGS__SoundRecordingSettings, U"Sound recording settings", U"SoundRecorder") {
1913 NATURALcxx . . $ `sys/praatM.h:120:9`! (bufferSize, U"Buffer size (MB)", U"60")
1914 OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kMelder_inputSoundSystem, inputSoundSystem,
1915 U"Input sound system", kMelder_inputSoundSystem::DEFAULT)
1916 OKcxx . . $ `sys/praatM.h:327:9`!
1917 SET_INTEGERcxx . . $ `sys/praatM.h:335:9`! (bufferSize, SoundRecorder_getBufferSizePref_MB ())
1918 SET_ENUMcxx . . $ `sys/praatM.h:347:9`! (inputSoundSystem, kMelder_inputSoundSystem, MelderAudio_getInputSoundSystem())
1919 DOcxx . . $ `sys/praatM.h:354:9`!
1920 PREFScxx . . $ `sys/praatM.h:1377:9`!
1921 if (bufferSize > 1000)
1922 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Buffer size cannot exceed 1000 megabytes.");
1923 SoundRecorder_setBufferSizePref_MBcxx . . $ SoundRecorder_setBufferSizePref_MB(1624ee8275b10bda). (bufferSize);
1924 MelderAudio_setInputSoundSystemcxx . . $ MelderAudio_setInputSoundSystem(1b219e7f3e764b3b). (inputSoundSystem);
1925 PREFS_ENDcxx . . $ `sys/praatM.h:1378:9`!
1926 }
1927
1928 FORMcxx . . $ `sys/praatM.h:79:9`! (SETTINGS__SoundPlayingSettings, U"Sound playing settings", nullptr) {
1929 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"The following determines how sounds are played.")
1930 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Between parentheses, you find what you can do simultaneously.")
1931 COMMENTcxx . . $ `sys/praatM.h:136:9`! (U"Decrease asynchronicity if sound plays with discontinuities.")
1932 OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kMelder_asynchronicityLevel, maximumAsynchronicity,
1933 U"Maximum asynchronicity", kMelder_asynchronicityLevel::DEFAULT)
1934 REALcxx . . $ `sys/praatM.h:92:9`! (silenceBefore, U"Silence before (s)", U"" stringizecxx . . $ `melder/melder.h:58:9`!(kMelderAudio_outputSilenceBefore_DEFAULTcxx . . $ `melder/melder_audio.h:37:10`!))
1935 REALcxx . . $ `sys/praatM.h:92:9`! (silenceAfter, U"Silence after (s)", U"" stringizecxx . . $ `melder/melder.h:58:9`!(kMelderAudio_outputSilenceAfter_DEFAULTcxx . . $ `melder/melder_audio.h:38:10`!))
1936 OPTIONMENU_ENUMcxx . . $ `sys/praatM.h:262:9`! (kMelder_outputSoundSystem, outputSoundSystem,
1937 U"Output sound system", kMelder_outputSoundSystem::DEFAULT)
1938 OKcxx . . $ `sys/praatM.h:327:9`!
1939 SET_ENUMcxx . . $ `sys/praatM.h:347:9`! (maximumAsynchronicity, kMelder_asynchronicityLevel, MelderAudio_getOutputMaximumAsynchronicity ())
1940 SET_REALcxx . . $ `sys/praatM.h:332:9`! (silenceBefore, MelderAudio_getOutputSilenceBefore ())
1941 SET_REALcxx . . $ `sys/praatM.h:332:9`! (silenceAfter, MelderAudio_getOutputSilenceAfter ())
1942 SET_ENUMcxx . . $ `sys/praatM.h:347:9`! (outputSoundSystem, kMelder_outputSoundSystem, MelderAudio_getOutputSoundSystem())
1943 DOcxx . . $ `sys/praatM.h:354:9`!
1944 PREFScxx . . $ `sys/praatM.h:1377:9`!
1945 MelderAudio_stopPlayingcxx . . $ MelderAudio_stopPlaying(efaadfb7dc14930a). (MelderAudio_IMPLICITcxx . . $ `melder/melder_audio.h:57:9`!);
1946 MelderAudio_setOutputMaximumAsynchronicitycxx . . $ MelderAudio_setOutputMaximumAsynchronicity(b9ec3c4c219f7acd). (maximumAsynchronicity);
1947 MelderAudio_setOutputSilenceBeforecxx . . $ MelderAudio_setOutputSilenceBefore(ba8836b59fb42830). (silenceBefore);
1948 MelderAudio_setOutputSilenceAftercxx . . $ MelderAudio_setOutputSilenceAfter(ba8836b59fb42830). (silenceAfter);
1949 MelderAudio_setOutputSoundSystemcxx . . $ MelderAudio_setOutputSoundSystem(bda361b99daaddf). (outputSoundSystem);
1950 PREFS_ENDcxx . . $ `sys/praatM.h:1378:9`!
1951 }
1952
1953 #ifdef HAVE_PULSEAUDIOcxx . . $ `<built-in>:484:9`!
1954 void pulseAudio_serverReportcxx . . $ pulseAudio_serverReport(49f6e7a06ebc5aa8). ();
1955 DIRECTcxx . . $ `sys/praatM.h:412:9`! (INFO_NONE__Praat_reportSoundServerProperties) {
1956 INFO_NONEcxx . . $ `sys/praatM.h:583:9`!
1957 pulseAudio_serverReportcxx . . $ pulseAudio_serverReport(49f6e7a06ebc5aa8). ();
1958 INFO_NONE_ENDcxx . . $ `sys/praatM.h:584:9`!
1959 }
1960 #endif
1961
1962 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsAifcFile, U"Save as AIFC file", nullptr, U"aifc") {
1963 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected Sound object(s) to the AIFC file")
1964 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_AIFCcxx . . $ `melder/melder_audiofiles.h:25:9`!, 16);
1965 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
1966 }
1967
1968 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsAiffFile, U"Save as AIFF file", nullptr, U"aiff") {
1969 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected Sound object(s) to the AIFF file")
1970 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_AIFFcxx . . $ `melder/melder_audiofiles.h:24:9`!, 16);
1971 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
1972 }
1973
1974 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsFlacFile, U"Save as FLAC file", nullptr, U"flac") {
1975 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected Sound object(s) to the FLAC file")
1976 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_FLACcxx . . $ `melder/melder_audiofiles.h:29:9`!, 16);
1977 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
1978 }
1979
1980 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsKayFile, U"Save as Kay sound file", nullptr, U"kay") {
1981 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the Kay sound file")
1982 Sound_saveAsKayFilecxx . . $ Sound_saveAsKayFile(6683fe382a6f5fcb). (me, file);
1983 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
1984 }
1985
1986 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsNextSunFile, U"Save as NeXT/Sun file", nullptr, U"au") {
1987 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected Sound object(s) to the NeXT/Sun file")
1988 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_NEXT_SUNcxx . . $ `melder/melder_audiofiles.h:27:9`!, 16);
1989 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
1990 }
1991
1992 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsNistFile, U"Save as NIST file", nullptr, U"nist") {
1993 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (SampledXY, SoundAndLongSoundList, U"save the selected Sound object(s) to the NIST file")
1994 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_NISTcxx . . $ `melder/melder_audiofiles.h:28:9`!, 16);
1995 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
1996 }
1997
1998 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsRaw8bitSignedFile, U"Save as raw 8-bit signed sound file", nullptr, U"8sig") {
1999 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the raw 8-bit signed sound file")
2000 Sound_saveAsRawSoundFilecxx . . $ Sound_saveAsRawSoundFile(c265c8f135494a56). (me, file, Melder_LINEAR_8_SIGNEDcxx . . $ `melder/melder_audiofiles.h:34:9`!);
2001 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
2002 }
2003
2004 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsRaw8bitUnsignedFile, U"Save as raw 8-bit unsigned sound file", nullptr, U"8uns") {
2005 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the raw 8-bit unsigned sound file")
2006 Sound_saveAsRawSoundFilecxx . . $ Sound_saveAsRawSoundFile(c265c8f135494a56). (me, file, Melder_LINEAR_8_UNSIGNEDcxx . . $ `melder/melder_audiofiles.h:35:9`!);
2007 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
2008 }
2009
2010 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsRaw16bitBigEndianFile, U"Save as raw 16-bit big-endian sound file", nullptr, U"16be") {
2011 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the raw 16-bit big-endian sound file")
2012 Sound_saveAsRawSoundFilecxx . . $ Sound_saveAsRawSoundFile(c265c8f135494a56). (me, file, Melder_LINEAR_16_BIG_ENDIANcxx . . $ `melder/melder_audiofiles.h:36:9`!);
2013 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
2014 }
2015
2016 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsRaw16bitLittleEndianFile, U"Save as raw 16-bit little-endian sound file", nullptr, U"16le") {
2017 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the raw 16-bit little-endian sound file")
2018 Sound_saveAsRawSoundFilecxx . . $ Sound_saveAsRawSoundFile(c265c8f135494a56). (me, file, Melder_LINEAR_16_LITTLE_ENDIANcxx . . $ `melder/melder_audiofiles.h:37:9`!);
2019 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
2020 }
2021
2022 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsRaw24bitBigEndianFile, U"Save as raw 24-bit big-endian sound file", nullptr, U"24be") {
2023 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the raw 24-bit big-endian sound file")
2024 Sound_saveAsRawSoundFilecxx . . $ Sound_saveAsRawSoundFile(c265c8f135494a56). (me, file, Melder_LINEAR_24_BIG_ENDIANcxx . . $ `melder/melder_audiofiles.h:38:9`!);
2025 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
2026 }
2027
2028 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsRaw24bitLittleEndianFile, U"Save as raw 24-bit little-endian sound file", nullptr, U"24le") {
2029 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the raw 24-bit little-endian sound file")
2030 Sound_saveAsRawSoundFilecxx . . $ Sound_saveAsRawSoundFile(c265c8f135494a56). (me, file, Melder_LINEAR_24_LITTLE_ENDIANcxx . . $ `melder/melder_audiofiles.h:39:9`!);
2031 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
2032 }
2033
2034 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsRaw32bitBigEndianFile, U"Save as raw 32-bit big-endian sound file", nullptr, U"32be") {
2035 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the raw 32-bit big-endian sound file")
2036 Sound_saveAsRawSoundFilecxx . . $ Sound_saveAsRawSoundFile(c265c8f135494a56). (me, file, Melder_LINEAR_32_BIG_ENDIANcxx . . $ `melder/melder_audiofiles.h:40:9`!);
2037 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
2038 }
2039
2040 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsRaw32bitLittleEndianFile, U"Save as raw 32-bit little-endian sound file", nullptr, U"32le") {
2041 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the raw 32-bit little-endian sound file")
2042 Sound_saveAsRawSoundFilecxx . . $ Sound_saveAsRawSoundFile(c265c8f135494a56). (me, file, Melder_LINEAR_32_LITTLE_ENDIANcxx . . $ `melder/melder_audiofiles.h:41:9`!);
2043 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
2044 }
2045
2046 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ONE__Sound_saveAsSesamFile, U"Save as Sesam file", nullptr, U"sdf") {
2047 SAVE_ONEcxx . . $ `sys/praatM.h:1276:9`! (Sound, U"save the selected Sound object to the Sesam file")
2048 Sound_saveAsSesamFilecxx . . $ Sound_saveAsSesamFile(6683fe382a6f5fcb). (me, file);
2049 SAVE_ONE_ENDcxx . . $ `sys/praatM.h:1279:9`!
2050 }
2051
2052 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsStereoAifcFile, U"Save as stereo AIFC file", nullptr, U"aifc") {
2053 SAVE_ALLcxx . . $ `sys/praatM.h:1296:9`! (Sound, U"save the selected Sound objects to the stereo AIFC file")
2054 autoSoundcxx . . $ autoSound# stereo = Sounds_combineToStereocxx . . $ Sounds_combineToStereo(1972390e3e72148d). (& list);
2055 Sound_saveAsAudioFilecxx . . $ Sound_saveAsAudioFile(5caabbbba2b52333). (stereo.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_AIFCcxx . . $ `melder/melder_audiofiles.h:25:9`!, 16);
2056 SAVE_ALL_ENDcxx . . $ `sys/praatM.h:1299:9`!
2057 }
2058
2059 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsStereoAiffFile, U"Save as stereo AIFF file", nullptr, U"aiff") {
2060 SAVE_ALLcxx . . $ `sys/praatM.h:1296:9`! (Sound, U"save the selected Sound objects to the stereo AIFF file")
2061 autoSoundcxx . . $ autoSound# stereo = Sounds_combineToStereocxx . . $ Sounds_combineToStereo(1972390e3e72148d). (& list);
2062 Sound_saveAsAudioFilecxx . . $ Sound_saveAsAudioFile(5caabbbba2b52333). (stereo.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_AIFFcxx . . $ `melder/melder_audiofiles.h:24:9`!, 16);
2063 SAVE_ALL_ENDcxx . . $ `sys/praatM.h:1299:9`!
2064 }
2065
2066 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsStereoNextSunFile, U"Save as stereo NeXT/Sun file", nullptr, U"au") {
2067 SAVE_ALLcxx . . $ `sys/praatM.h:1296:9`! (Sound, U"save the selected Sound objects to the stereo NeXT/Sun file")
2068 autoSoundcxx . . $ autoSound# stereo = Sounds_combineToStereocxx . . $ Sounds_combineToStereo(1972390e3e72148d). (& list);
2069 Sound_saveAsAudioFilecxx . . $ Sound_saveAsAudioFile(5caabbbba2b52333). (stereo.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_NEXT_SUNcxx . . $ `melder/melder_audiofiles.h:27:9`!, 16);
2070 SAVE_ALL_ENDcxx . . $ `sys/praatM.h:1299:9`!
2071 }
2072
2073 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsStereoNistFile, U"Save as stereo NIST file", nullptr, U"nist") {
2074 SAVE_ALLcxx . . $ `sys/praatM.h:1296:9`! (Sound, U"save the selected Sound objects to the stereo NIST file")
2075 autoSoundcxx . . $ autoSound# stereo = Sounds_combineToStereocxx . . $ Sounds_combineToStereo(1972390e3e72148d). (& list);
2076 Sound_saveAsAudioFilecxx . . $ Sound_saveAsAudioFile(5caabbbba2b52333). (stereo.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_NISTcxx . . $ `melder/melder_audiofiles.h:28:9`!, 16);
2077 SAVE_ALL_ENDcxx . . $ `sys/praatM.h:1299:9`!
2078 }
2079
2080 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsStereoFlacFile, U"Save as stereo FLAC file", nullptr, U"flac") {
2081 SAVE_ALLcxx . . $ `sys/praatM.h:1296:9`! (Sound, U"save the selected Sound objects to the stereo FLAC file")
2082 autoSoundcxx . . $ autoSound# stereo = Sounds_combineToStereocxx . . $ Sounds_combineToStereo(1972390e3e72148d). (& list);
2083 Sound_saveAsAudioFilecxx . . $ Sound_saveAsAudioFile(5caabbbba2b52333). (stereo.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_FLACcxx . . $ `melder/melder_audiofiles.h:29:9`!, 16);
2084 SAVE_ALL_ENDcxx . . $ `sys/praatM.h:1299:9`!
2085 }
2086
2087 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsStereoWavFile, U"Save as stereo WAV file", nullptr, U"wav") {
2088 SAVE_ALLcxx . . $ `sys/praatM.h:1296:9`! (Sound, U"save the selected Sound objects to the stereo WAV file")
2089 autoSoundcxx . . $ autoSound# stereo = Sounds_combineToStereocxx . . $ Sounds_combineToStereo(1972390e3e72148d). (& list);
2090 Sound_saveAsAudioFilecxx . . $ Sound_saveAsAudioFile(5caabbbba2b52333). (stereo.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_WAVcxx . . $ `melder/melder_audiofiles.h:26:9`!, 16);
2091 SAVE_ALL_ENDcxx . . $ `sys/praatM.h:1299:9`!
2092 }
2093
2094 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsSunAudioFile, U"Save as NeXT/Sun file", nullptr, U"au") {
2095 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (Sound, SoundAndLongSoundList, U"save the selected Sound object(s) to the NeXT/Sun file")
2096 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_NEXT_SUNcxx . . $ `melder/melder_audiofiles.h:27:9`!, 16);
2097 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
2098 }
2099
2100 FORM_SAVEcxx . . $ `sys/praatM.h:449:9`! (SAVE_ALL__Sound_saveAsWavFile, U"Save as WAV file", nullptr, U"wav") {
2101 SAVE_ALL_LISTEDcxx . . $ `sys/praatM.h:1302:9`! (Sound, SoundAndLongSoundList, U"save the selected Sound object(s) to the WAV file")
2102 LongSound_concatenatecxx . . $ LongSound_concatenate(a82c96a37173ed04). (list.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file, Melder_WAVcxx . . $ `melder/melder_audiofiles.h:26:9`!, 16);
2103 SAVE_ALL_LISTED_ENDcxx . . $ `sys/praatM.h:1305:9`!
2104 }
2105
2106 /***** SOUNDLIST *****/
2107
2108 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_MULTIPLE__SoundList_extractAllSounds) {
2109 CONVERT_EACH_TO_MULTIPLEcxx . . $ `sys/praatM.h:1112:9`! (SoundList)
2110 autoSoundListcxx . . $ autoSoundList# result = Data_copycxx . . $ Data_copy(97a542a26794c80e). (me);
2111 result ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). classInfocxx . . $ structThing#classInfo. = classCollectioncxx . . $ classCollection.; // YUCK, in order to force automatic unpacking
2112 praat_newcxx . . $ praat_new(1e9b2ae553a98dd1). (resultcxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).(), U"dummy"cxx . . $ MelderArg#MelderArg(ff00d524ab0355ec).);
2113 CONVERT_EACH_TO_MULTIPLE_ENDcxx . . $ `sys/praatM.h:1114:9`!
2114 }
2115
2116 /***** SOUNDSET *****/
2117
2118 DIRECTcxx . . $ `sys/praatM.h:412:9`! (CONVERT_EACH_TO_MULTIPLE__SoundSet_extractAllSounds) {
2119 CONVERT_EACH_TO_MULTIPLEcxx . . $ `sys/praatM.h:1112:9`! (SoundSet)
2120 autoSoundSetcxx . . $ autoSoundSet# result = Data_copycxx . . $ Data_copy(97a542a26794c80e). (me);
2121 result ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). classInfocxx . . $ structThing#classInfo. = classCollectioncxx . . $ classCollection.; // YUCK, in order to force automatic unpacking
2122 praat_newcxx . . $ praat_new(1e9b2ae553a98dd1). (resultcxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).(), U"dummy"cxx . . $ MelderArg#MelderArg(ff00d524ab0355ec).);
2123 CONVERT_EACH_TO_MULTIPLE_ENDcxx . . $ `sys/praatM.h:1114:9`!
2124 }
2125
2126 FORMcxx . . $ `sys/praatM.h:79:9`! (CONVERT_ONE_AND_ONE_TO_MULTIPLE__SoundSet_Table_getRandomizedPatterns, U"SoundSet & Table: Get randomized patterns", nullptr) {
2127 SENTENCEcxx . . $ `sys/praatM.h:126:9`! (columnName, U"Column name", U"")
2128 NATURALcxx . . $ `sys/praatM.h:120:9`! (numberOfPatterns, U"Number of patterns", U"1000")
2129 NATURALcxx . . $ `sys/praatM.h:120:9`! (inputSize, U"Input size (number of samples)", U"8000")
2130 NATURALcxx . . $ `sys/praatM.h:120:9`! (outputSize, U"Output size (number of classes)", U"5")
2131 OKcxx . . $ `sys/praatM.h:327:9`!
2132 DOcxx . . $ `sys/praatM.h:354:9`!
2133 CONVERT_ONE_AND_ONE_TO_MULTIPLEcxx . . $ `sys/praatM.h:1171:9`! (SoundSet, Table)
2134 autoPatternListcxx . . $ autoPatternList# inputscxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8)., outputscxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8).;
2135 SoundSet_Table_getRandomizedPatternscxx . . $ SoundSet_Table_getRandomizedPatterns(9d2d3aa9e2aa8a40). (me, you, columnName, numberOfPatterns, inputSize, outputSize,
2136 & inputs, & outputs);
2137 praat_newcxx . . $ praat_new(1e9b2ae553a98dd1). (inputscxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).(), U"inputs"cxx . . $ MelderArg#MelderArg(ff00d524ab0355ec).);
2138 praat_newcxx . . $ praat_new(1e9b2ae553a98dd1). (outputscxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).(), U"outputs"cxx . . $ MelderArg#MelderArg(ff00d524ab0355ec).);
2139 CONVERT_ONE_AND_ONE_TO_MULTIPLE_ENDcxx . . $ `sys/praatM.h:1173:9`!
2140 }
2141
2142 /***** STOP *****/
2143
2144 DIRECTcxx . . $ `sys/praatM.h:412:9`! (PLAY__stopPlayingSound) {
2145 PLAY_NONEcxx . . $ `sys/praatM.h:646:9`!
2146 MelderAudio_stopPlayingcxx . . $ MelderAudio_stopPlaying(efaadfb7dc14930a). (MelderAudio_IMPLICITcxx . . $ `melder/melder_audio.h:57:9`!);
2147 PLAY_NONE_ENDcxx . . $ `sys/praatM.h:647:9`!
2148 }
2149
2150 /***** Help menus *****/
2151
2152 DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__AnnotationTutorial) {
2153 HELPcxx . . $ `sys/praatM.h:616:9`! (U"Intro 7. Annotation")
2154 }
2155
2156 DIRECTcxx . . $ `sys/praatM.h:412:9`! (HELP__FilteringTutorial) {
2157 HELPcxx . . $ `sys/praatM.h:616:9`! (U"Filtering")
2158 }
2159
2160 /***** file recognizers *****/
2161
2162 static autoDaatacxx . . $ autoDaata# soundFileRecognizercxx . . $ soundFileRecognizer(c32780b24c371669). (integercxx . . $ integer# nread, const char *header, MelderFilecxx . . $ MelderFile# file) {
2163 if (nread < 16)
2164 return autoDaatacxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8). ();
2165 if (strnequcxx . . $ `melder/melder_string32.h:70:9`! (header, "FORM", 4) && strnequcxx . . $ `melder/melder_string32.h:70:9`! (header + 8, "AIF", 3))
2166 return Sound_readFromSoundFilecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21). (file);
2167 if (strnequcxx . . $ `melder/melder_string32.h:70:9`! (header, "RIFF", 4) && (strnequcxx . . $ `melder/melder_string32.h:70:9`! (header + 8, "WAVE", 4) || strnequcxx . . $ `melder/melder_string32.h:70:9`! (header + 8, "CDDA", 4)))
2168 return Sound_readFromSoundFilecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21). (file);
2169 if (strnequcxx . . $ `melder/melder_string32.h:70:9`! (header, ".snd", 4))
2170 return Sound_readFromSoundFilecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21). (file);
2171 if (strnequcxx . . $ `melder/melder_string32.h:70:9`! (header, "NIST_1A", 7))
2172 return Sound_readFromSoundFilecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21). (file);
2173 if (strnequcxx . . $ `melder/melder_string32.h:70:9`! (header, "fLaC", 4))
2174 return Sound_readFromSoundFilecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21). (file); // Erez Volk, March 2007
2175 if ((Melder_endsWith_caseAwarecxx . . $ Melder_endsWith_caseAware(1652f10ed0f82783). (MelderFile_namecxx . . $ MelderFile_name(d9f043369fa9b55b). (file), U".mp3"))
2176 && mp3_recognizecxx . . $ mp3_recognize(95e580389a7cc305). (nread, header))
2177 return Sound_readFromSoundFilecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21). (file); // Erez Volk, May 2007
2178 return autoDaatacxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8). ();
2179 }
2180
2181 static autoDaatacxx . . $ autoDaata# movieFileRecognizercxx . . $ movieFileRecognizer(c32780b24c371669). (integercxx . . $ integer# nread, const char * /* header */, MelderFilecxx . . $ MelderFile# file) {
2182 conststring32cxx . . $ conststring32# fileName = MelderFile_namecxx . . $ MelderFile_name(d9f043369fa9b55b). (file);
2183 if (nread < 512 || (! Melder_endsWith_caseAwarecxx . . $ Melder_endsWith_caseAware(1652f10ed0f82783). (fileName, U".mov") &&
2184 ! Melder_endsWith_caseAwarecxx . . $ Melder_endsWith_caseAware(1652f10ed0f82783). (fileName, U".avi")))
2185 return autoDaatacxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8). ();
2186 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"This Praat version cannot open movie files.");
2187 return autoDaatacxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8). ();
2188 }
2189
2190 static autoDaatacxx . . $ autoDaata# sesamFileRecognizercxx . . $ sesamFileRecognizer(c32780b24c371669). (integercxx . . $ integer# nread, const char * /* header */, MelderFilecxx . . $ MelderFile# file) {
2191 conststring32cxx . . $ conststring32# fileName = MelderFile_namecxx . . $ MelderFile_name(d9f043369fa9b55b). (file);
2192 if (nread < 512 || (! Melder_endsWith_caseAwarecxx . . $ Melder_endsWith_caseAware(1652f10ed0f82783). (fileName, U".sdf")))
2193 return autoDaatacxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8). ();
2194 return Sound_readFromSesamFilecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21). (file);
2195 }
2196
2197 static autoDaatacxx . . $ autoDaata# bellLabsFileRecognizercxx . . $ bellLabsFileRecognizer(c32780b24c371669). (integercxx . . $ integer# nread, const char *header, MelderFilecxx . . $ MelderFile# file) {
2198 if (nread < 16 || ! strnequcxx . . $ `melder/melder_string32.h:70:9`! (& header [0], "SIG\n", 4))
2199 return autoDaatacxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8). ();
2200 return Sound_readFromBellLabsFilecxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21). (file);
2201 }
2202
2203 static autoDaatacxx . . $ autoDaata# kayFileRecognizercxx . . $ kayFileRecognizer(c32780b24c371669). (integercxx . . $ integer# nread, const char *header, MelderFilecxx . . $ MelderFile# file) {
2204 if (nread <= 12 || ! strnequcxx . . $ `melder/melder_string32.h:70:9`! (& header [0], "FORMDS16", 8))
2205 return autoDaatacxx . . $ autoSomeThing#autoSomeThing(49f6e7a06ebc5aa8). ();
2206 return Sound_readFromAnyKayFilecxx . . $ Sound_readFromAnyKayFile(da9ba57d6e09e2a7). (file);
2207 }
2208
2209 /***** override play and record buttons in manuals *****/
2210
2211 static autoSoundcxx . . $ autoSound# melderSoundcxx . . $ melderSound., melderSoundFromFilecxx . . $ melderSoundFromFile.;
2212 static Soundcxx . . $ Sound# lastcxx . . $ last.;
2213 static int recordProccxx . . $ recordProc(620b9ac44d2573a6). (double duration) {
2214 if (lastcxx . . $ last. == melderSoundcxx . . $ melderSound..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).())
2215 lastcxx . . $ last. = nullptr;
2216 MelderAudio_stopPlayingcxx . . $ MelderAudio_stopPlaying(efaadfb7dc14930a). (MelderAudio_IMPLICITcxx . . $ `melder/melder_audio.h:57:9`!);
2217 melderSoundcxx . . $ melderSound. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). Sound_record_fixedTimecxx . . $ Sound_record_fixedTime(6947fa21466ac0c2). (1, 1.0, 0.5, 44100, duration);
2218 if (! melderSoundcxx . . $ melderSound.)
2219 return 0;
2220 lastcxx . . $ last. = melderSoundcxx . . $ melderSound..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
2221 return 1;
2222 }
2223 static int recordFromFileProccxx . . $ recordFromFileProc(a963d4eadbe2a039). (MelderFilecxx . . $ MelderFile# file) {
2224 if (lastcxx . . $ last. == melderSoundFromFilecxx . . $ melderSoundFromFile..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).())
2225 lastcxx . . $ last. = nullptr;
2226 Melder_warningOffcxx . . $ Melder_warningOff(49f6e7a06ebc5aa8). (); // like "missing samples"
2227 melderSoundFromFilecxx . . $ melderSoundFromFile. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). Data_readFromFilecxx . . $ Data_readFromFile(da9ba57d6e09e2a7). (file).static_cast_movecxx . . $ autoSomeThing#static_cast_move(8f979c7064dbabcf). <structSoundcxx . . $ structSound#>();
2228 Melder_warningOncxx . . $ Melder_warningOn(49f6e7a06ebc5aa8). ();
2229 if (! melderSoundFromFilecxx . . $ melderSoundFromFile.)
2230 return 0;
2231 if (! Thing_isacxx . . $ Thing_isa(8cbb12e93d03b2a1). (melderSoundFromFilecxx . . $ melderSoundFromFile..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), classSoundcxx . . $ classSound.)) {
2232 melderSoundFromFilecxx . . $ melderSoundFromFile.. resetcxx . . $ autoSomeThing#reset(ced63f7c635d850d).();
2233 return 0;
2234 }
2235 lastcxx . . $ last. = melderSoundFromFilecxx . . $ melderSoundFromFile..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
2236 Sound_playcxx . . $ Sound_play(8cd75def0156a342). (melderSoundFromFilecxx . . $ melderSoundFromFile..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), nullptrcxx . . $ MelderCallback#MelderCallback(88514059881c9050)., nullptr);
2237 return 1;
2238 }
2239 static void playProccxx . . $ playProc(49f6e7a06ebc5aa8). () {
2240 if (melderSoundcxx . . $ melderSound.) {
2241 Sound_playcxx . . $ Sound_play(8cd75def0156a342). (melderSoundcxx . . $ melderSound..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), nullptrcxx . . $ MelderCallback#MelderCallback(88514059881c9050)., nullptr);
2242 lastcxx . . $ last. = melderSoundcxx . . $ melderSound..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).();
2243 }
2244 }
2245 static void playReverseProccxx . . $ playReverseProc(49f6e7a06ebc5aa8). () {
2246 /*if (melderSound) Sound_playReverse (melderSound);*/
2247 }
2248 static int publishPlayedProccxx . . $ publishPlayedProc(b126dc7c1de90089). () {
2249 if (! lastcxx . . $ last.)
2250 return 0;
2251 autoSoundcxx . . $ autoSound# sound = Data_copycxx . . $ Data_copy(97a542a26794c80e). (lastcxx . . $ last.);
2252 return Data_publishcxx . . $ Data_publish(795020d01765d2fa). (soundcxx . . $ autoSomeThing#autoSomeThing(327dc2ad7b4df21)..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).());
2253 }
2254
2255 /***** buttons *****/
2256
2257 void praat_Sound_initcxx . . $ praat_Sound_init(49f6e7a06ebc5aa8). () {
2258 Thing_recognizeClassesByNamecxx . . $ Thing_recognizeClassesByName(f327490b5edb0dcb). (classSoundcxx . . $ classSound., classLongSoundcxx . . $ classLongSound., classSoundListcxx . . $ classSoundList., classSoundSetcxx . . $ classSoundSet.);
2259
2260 Data_recognizeFileTypecxx . . $ Data_recognizeFileType(7ed4186908013b3d). (soundFileRecognizercxx . . $ soundFileRecognizer(c32780b24c371669).);
2261 Data_recognizeFileTypecxx . . $ Data_recognizeFileType(7ed4186908013b3d). (movieFileRecognizercxx . . $ movieFileRecognizer(c32780b24c371669).);
2262 Data_recognizeFileTypecxx . . $ Data_recognizeFileType(7ed4186908013b3d). (sesamFileRecognizercxx . . $ sesamFileRecognizer(c32780b24c371669).);
2263 Data_recognizeFileTypecxx . . $ Data_recognizeFileType(7ed4186908013b3d). (bellLabsFileRecognizercxx . . $ bellLabsFileRecognizer(c32780b24c371669).);
2264 Data_recognizeFileTypecxx . . $ Data_recognizeFileType(7ed4186908013b3d). (kayFileRecognizercxx . . $ kayFileRecognizer(c32780b24c371669).);
2265
2266 structSoundAreacxx . . $ structSoundArea# :: f_preferencescxx . . $ structSoundArea#f_preferences(49f6e7a06ebc5aa8). ();
2267 structSoundAnalysisAreacxx . . $ structSoundAnalysisArea# :: f_preferencescxx . . $ structSoundAnalysisArea#f_preferences(49f6e7a06ebc5aa8). ();
2268
2269 SoundRecorder_preferencescxx . . $ SoundRecorder_preferences(49f6e7a06ebc5aa8). ();
2270 structSoundRecordercxx . . $ structSoundRecorder# :: f_preferencescxx . . $ structSoundRecorder#f_preferences(49f6e7a06ebc5aa8). ();
2271 structFunctionEditorcxx . . $ structFunctionEditor# :: f_preferencescxx . . $ structFunctionEditor#f_preferences(49f6e7a06ebc5aa8). ();
2272 LongSound_preferencescxx . . $ LongSound_preferences(49f6e7a06ebc5aa8). ();
2273
2274 Melder_setRecordProccxx . . $ Melder_setRecordProc(121202e7f306f80f). (recordProccxx . . $ recordProc(620b9ac44d2573a6).);
2275 Melder_setRecordFromFileProccxx . . $ Melder_setRecordFromFileProc(c7c905eaf0249da4). (recordFromFileProccxx . . $ recordFromFileProc(a963d4eadbe2a039).);
2276 Melder_setPlayProccxx . . $ Melder_setPlayProc(964b12a25712bdc3). (playProccxx . . $ playProc(49f6e7a06ebc5aa8).);
2277 Melder_setPlayReverseProccxx . . $ Melder_setPlayReverseProc(964b12a25712bdc3). (playReverseProccxx . . $ playReverseProc(49f6e7a06ebc5aa8).);
2278 Melder_setPublishPlayedProccxx . . $ Melder_setPublishPlayedProc(231822f2a2a10318). (publishPlayedProccxx . . $ publishPlayedProc(b126dc7c1de90089).);
2279
2280 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Record mono Sound...", nullptr, GuiMenu_ATTRACTIVEcxx . . $ `sys/Gui.h:855:9`! | 'R' | GuiMenu_NO_APIcxx . . $ `sys/Gui.h:871:9`!,
2281 SINGLETON_CREATION_WINDOW__Sound_recordMono);
2282 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Record stereo Sound...", nullptr, GuiMenu_NO_APIcxx . . $ `sys/Gui.h:871:9`!,
2283 SINGLETON_CREATION_WINDOW__Sound_recordStereo);
2284 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Record Sound (fixed time)...", nullptr, GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`! | GuiMenu_FORCE_APIcxx . . $ `sys/Gui.h:872:9`!,
2285 RECORD_ONE__Sound_record_fixedTime);
2286 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Sound", nullptr, 0, nullptr);
2287 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create Sound as pure tone...", nullptr, 1,
2288 CREATE_ONE__Sound_createAsPureTone);
2289 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create Sound from formula...", nullptr, 1,
2290 CREATE_ONE__Sound_createFromFormula);
2291 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create Sound...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2007cxx . . $ `sys/Gui.h:877:9`!,
2292 CREATE_ONE__Sound_create); // replace with Create Sound from formula: arg1, 1, arg2, arg3, arg4, arg5
2293 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"-- create sound advanced --", nullptr, 1, nullptr);
2294 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"New", U"Create Sound as tone complex... || Create Sound from tone complex...", nullptr, 1,
2295 CREATE_ONE__Sound_createAsToneComplex); // alternative COMPATIBILITY <= 2013
2296
2297 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Open", U"-- read sound --", nullptr, 0, nullptr);
2298 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Open", U"Open long sound file...", nullptr, 'L', READ_ONE__LongSound_open);
2299 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Open", U"Read separate channels from sound file... || Read two Sounds from stereo file...", nullptr, 0,
2300 READ_MULTIPLE__Sound_readSeparateChannelsFromSoundFile); // alternative COMPATIBILITY <= 2010
2301 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Open", U"Read from special sound file", nullptr, 0, nullptr);
2302 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Open", U"Read Sound from raw Alaw file...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`!, READ_ONE__Sound_readFromRawAlawFile);
2303
2304 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Goodies", U"-- sound goodies --", nullptr, 0, nullptr);
2305 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Goodies", U"Stop playing sound", nullptr, GuiMenu_ESCAPEcxx . . $ `sys/Gui.h:836:9`!,
2306 PLAY__stopPlayingSound);
2307 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Settings", U"-- sound settings --", nullptr, 0, nullptr);
2308 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Settings", U"Sound recording settings... || Sound recording preferences...", nullptr, 0,
2309 SETTINGS__SoundRecordingSettings); // alternative GuiMenu_DEPRECATED_2023
2310 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Settings", U"Sound playing settings... || Sound playing preferences...", nullptr, 0,
2311 SETTINGS__SoundPlayingSettings); // alternative GuiMenu_DEPRECATED_2023
2312 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Settings", U"LongSound settings... || LongSound preferences...", nullptr, 0,
2313 SETTINGS__LongSoundSettings); // alternative GuiMenu_DEPRECATED_2023
2314 #ifdef HAVE_PULSEAUDIOcxx . . $ `<built-in>:484:9`!
2315 praat_addMenuCommandcxx . . $ `sys/praat.h:116:9`! (U"Objects", U"Technical", U"Report sound server properties", U"Report system properties", 0,
2316 INFO_NONE__Praat_reportSoundServerProperties);
2317 #endif
2318
2319 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"LongSound help", nullptr, 0,
2320 HELP__LongSound_help);
2321 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"View || Open", nullptr, GuiMenu_ATTRACTIVEcxx . . $ `sys/Gui.h:855:9`!,
2322 EDITOR_ONE__LongSound_view); // alternative COMPATIBILITY <= 2011
2323 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Play part...", nullptr, 0, PLAY_LongSound_playPart);
2324 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Query -", nullptr, 0, nullptr);
2325 praat_TimeFunction_query_initcxx . . $ praat_TimeFunction_query_init(b2b8400651464df9). (classLongSoundcxx . . $ classLongSound.);
2326 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Sampling", nullptr, 1, nullptr);
2327 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Get number of samples", nullptr, 2, INTEGER_LongSound_getNumberOfSamples);
2328 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Get sampling period || Get sample duration || Get sample period",
2329 nullptr, 2, REAL_LongSound_getSamplePeriod); // alternatives COMPATIBILITY <= 2004
2330 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Get sampling frequency || Get sample rate",
2331 nullptr, 2, REAL_LongSound_getSampleRate); // alternative COMPATIBILITY <= 2004
2332 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"-- get time discretization --", nullptr, 2, nullptr);
2333 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Get time from sample number... || Get time from index...",
2334 nullptr, 2, REAL_LongSound_getTimeFromIndex); // alternative COMPATIBILITY <= 2004
2335 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Get sample number from time... || Get index from time...",
2336 nullptr, 2, REAL_LongSound_getIndexFromTime); // alternative COMPATIBILITY <= 2004
2337 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Annotate -", nullptr, 0, nullptr);
2338 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Annotation tutorial", nullptr, 1,
2339 HELP__AnnotationTutorial);
2340 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"-- to text grid --", nullptr, 1, nullptr);
2341 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"To TextGrid...", nullptr, 1, NEW_LongSound_to_TextGrid);
2342 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Convert to Sound", nullptr, 0, nullptr);
2343 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Extract part...", nullptr, 0, NEW_LongSound_extractPart);
2344 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Concatenate?", nullptr, 0,
2345 INFO_NONE__LongSound_concatenate);
2346 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Save as WAV file... || Write to WAV file...",
2347 nullptr, 0, SAVE_ALL__LongSound_saveAsWavFile); // alternative COMPATIBILITY <= 2011
2348 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Save as AIFF file... || Write to AIFF file...",
2349 nullptr, 0, SAVE_ALL__LongSound_saveAsAiffFile);
2350 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Save as AIFC file... || Write to AIFC file...",
2351 nullptr, 0, SAVE_ALL__LongSound_saveAsAifcFile);
2352 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Save as NeXT/Sun file... || Write to NeXT/Sun file...",
2353 nullptr, 0, SAVE_ALL__LongSound_saveAsNextSunFile);
2354 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Save as NIST file... || Write to NIST file...",
2355 nullptr, 0, SAVE_ALL__LongSound_saveAsNistFile);
2356 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 0, U"Save as FLAC file... || Write to FLAC file...",
2357 nullptr, 0, SAVE_ALL__LongSound_saveAsFlacFile);
2358 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save left channel as WAV file... || Write left channel to WAV file...",
2359 nullptr, 0, SAVE_ONE__LongSound_saveLeftChannelAsWavFile);
2360 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save left channel as AIFF file... || Write left channel to AIFF file...",
2361 nullptr, 0, SAVE_ONE__LongSound_saveLeftChannelAsAiffFile);
2362 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save left channel as AIFC file... || Write left channel to AIFC file...",
2363 nullptr, 0, SAVE_ONE__LongSound_saveLeftChannelAsAifcFile);
2364 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save left channel as NeXT/Sun file... || Write left channel to NeXT/Sun file...",
2365 nullptr, 0, SAVE_ONE__LongSound_saveLeftChannelAsNextSunFile);
2366 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save left channel as NIST file... || Write left channel to NIST file...",
2367 nullptr, 0, SAVE_ONE__LongSound_saveLeftChannelAsNistFile);
2368 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save left channel as FLAC file... || Write left channel to FLAC file...",
2369 nullptr, 0, SAVE_ONE__LongSound_saveLeftChannelAsFlacFile);
2370 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save right channel as WAV file... || Write right channel to WAV file...",
2371 nullptr, 0, SAVE_ONE__LongSound_saveRightChannelAsWavFile);
2372 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save right channel as AIFF file... || Write right channel to AIFF file...",
2373 nullptr, 0, SAVE_ONE__LongSound_saveRightChannelAsAiffFile);
2374 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save right channel as AIFC file... || Write right channel to AIFC file...",
2375 nullptr, 0, SAVE_ONE__LongSound_saveRightChannelAsAifcFile);
2376 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save right channel as NeXT/Sun file... || Write right channel to NeXT/Sun file...",
2377 nullptr, 0, SAVE_ONE__LongSound_saveRightChannelAsNextSunFile);
2378 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save right channel as NIST file... || Write right channel to NIST file...",
2379 nullptr, 0, SAVE_ONE__LongSound_saveRightChannelAsNistFile);
2380 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save right channel as FLAC file... || Write right channel to FLAC file...",
2381 nullptr, 0, SAVE_ONE__LongSound_saveRightChannelAsFlacFile);
2382 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classLongSound, 1, U"Save part as audio file... || Write part to audio file...",
2383 nullptr, 0, SAVE_ONE__LongSound_savePartAsAudioFile);
2384
2385 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Save as WAV file... || Write to WAV file...",
2386 nullptr, 0, SAVE_ALL__Sound_saveAsWavFile); // alternative COMPATIBILITY <= 2011
2387 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Save as AIFF file... || Write to AIFF file...",
2388 nullptr, 0, SAVE_ALL__Sound_saveAsAiffFile);
2389 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Save as AIFC file... || Write to AIFC file...",
2390 nullptr, 0, SAVE_ALL__Sound_saveAsAifcFile);
2391 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Save as NeXT/Sun file... || Write to NeXT/Sun file...",
2392 nullptr, 0, SAVE_ALL__Sound_saveAsNextSunFile);
2393 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Save as Sun audio file... || Write to Sun audio file...",
2394 nullptr, GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, SAVE_ALL__Sound_saveAsSunAudioFile);
2395 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Save as NIST file... || Write to NIST file...",
2396 nullptr, 0, SAVE_ALL__Sound_saveAsNistFile);
2397 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Save as FLAC file... || Write to FLAC file...",
2398 nullptr, 0, SAVE_ALL__Sound_saveAsFlacFile);
2399 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as Kay sound file... || Write to Kay sound file...",
2400 nullptr, 0, SAVE_ONE__Sound_saveAsKayFile);
2401 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as Sesam file... || Write to Sesam file...",
2402 nullptr, GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!, SAVE_ONE__Sound_saveAsSesamFile);
2403 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Save as 24-bit WAV file...", nullptr, 0,
2404 SAVE_ALL__Sound_saveAs24BitWavFile);
2405 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Save as 32-bit WAV file...", nullptr, 0,
2406 SAVE_ALL__Sound_saveAs32BitWavFile);
2407 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"Write to stereo WAV file...", nullptr, GuiMenu_DEPRECATED_2007cxx . . $ `sys/Gui.h:877:9`!,
2408 SAVE_ALL__Sound_saveAsStereoWavFile); // replace with "Combine to stereo" and "Save to WAV file..."
2409 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"Write to stereo AIFF file...", nullptr, GuiMenu_DEPRECATED_2007cxx . . $ `sys/Gui.h:877:9`!,
2410 SAVE_ALL__Sound_saveAsStereoAiffFile); // replace with "Combine to stereo" and "Save to AIFF file..."
2411 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"Write to stereo AIFC file...", nullptr, GuiMenu_DEPRECATED_2007cxx . . $ `sys/Gui.h:877:9`!,
2412 SAVE_ALL__Sound_saveAsStereoAifcFile); // replace with "Combine to stereo" and "Save to AIFC file..."
2413 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"Write to stereo NeXT/Sun file...", nullptr, GuiMenu_DEPRECATED_2007cxx . . $ `sys/Gui.h:877:9`!,
2414 SAVE_ALL__Sound_saveAsStereoNextSunFile); // replace with "Combine to stereo" and "Save to NeXT/Sun file..."
2415 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"Write to stereo NIST file...", nullptr, GuiMenu_DEPRECATED_2007cxx . . $ `sys/Gui.h:877:9`!,
2416 SAVE_ALL__Sound_saveAsStereoNistFile); // replace with "Combine to stereo" and "Save to NIST file..."
2417 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"Write to stereo FLAC file...", nullptr, GuiMenu_DEPRECATED_2007cxx . . $ `sys/Gui.h:877:9`!,
2418 SAVE_ALL__Sound_saveAsStereoFlacFile); // replace with "Combine to stereo" and "Save to FLAC file..."
2419 //praat_addAction1 (classSound, 1, U"Save as raw sound file", nullptr, 0, nullptr);
2420 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as raw 8-bit signed file... || Write to raw 8-bit signed file...",
2421 nullptr, 0, SAVE_ONE__Sound_saveAsRaw8bitSignedFile);
2422 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as raw 8-bit unsigned file... || Write to raw 8-bit unsigned file...",
2423 nullptr, 0, SAVE_ONE__Sound_saveAsRaw8bitUnsignedFile);
2424 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as raw 16-bit big-endian file...", nullptr, 0,
2425 SAVE_ONE__Sound_saveAsRaw16bitBigEndianFile);
2426 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as raw 16-bit little-endian file...", nullptr, 0,
2427 SAVE_ONE__Sound_saveAsRaw16bitLittleEndianFile);
2428 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as raw 24-bit big-endian file...", nullptr, 0,
2429 SAVE_ONE__Sound_saveAsRaw24bitBigEndianFile);
2430 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as raw 24-bit little-endian file...", nullptr, 0,
2431 SAVE_ONE__Sound_saveAsRaw24bitLittleEndianFile);
2432 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as raw 32-bit big-endian file...", nullptr, 0,
2433 SAVE_ONE__Sound_saveAsRaw32bitBigEndianFile);
2434 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Save as raw 32-bit little-endian file...", nullptr, 0,
2435 SAVE_ONE__Sound_saveAsRaw32bitLittleEndianFile);
2436 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Sound help", nullptr, 0,
2437 HELP__Sound_help);
2438 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"View & Edit || Edit || Open",
2439 nullptr, GuiMenu_ATTRACTIVEcxx . . $ `sys/Gui.h:855:9`! | GuiMenu_NO_APIcxx . . $ `sys/Gui.h:871:9`!, EDITOR_ONE__Sound_viewAndEdit);
2440 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Play", nullptr, 0,
2441 PLAY_EACH__Sound_play);
2442 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Draw -", nullptr, 0, nullptr);
2443 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Draw...", nullptr, 1,
2444 GRAPHICS_EACH__Sound_draw);
2445 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Query -", nullptr, 0, nullptr);
2446 praat_TimeFunction_query_initcxx . . $ praat_TimeFunction_query_init(b2b8400651464df9). (classSoundcxx . . $ classSound.);
2447 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get number of channels", nullptr, 1,
2448 QUERY_ONE_FOR_INTEGER__Sound_getNumberOfChannels);
2449 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Query time sampling", nullptr, 1, nullptr);
2450 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get number of samples", nullptr, 2,
2451 QUERY_ONE_FOR_INTEGER__Sound_getNumberOfSamples);
2452 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get sampling period || Get sample duration || Get sample period",
2453 nullptr, 2, QUERY_ONE_FOR_REAL__Sound_getSamplePeriod); // alternatives COMPATIBILITY <= 2004
2454 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get sampling frequency || Get sample rate",
2455 nullptr, 2, QUERY_ONE_FOR_REAL__Sound_getSampleRate); // alternative COMPATIBILITY <= 2004
2456 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"-- get time discretization --", nullptr, 2, nullptr);
2457 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get time from sample number... || Get time from index...",
2458 nullptr, 2, QUERY_ONE_FOR_REAL__Sound_getTimeFromIndex); // alternative COMPATIBILITY <= 2004
2459 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"List all sample times || Get sample times",
2460 nullptr, 2, NUMVEC_Sound_listAllSampleTimes); // alternative GuiMenu_DEPRECATED_2004
2461 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get sample number from time... || Get index from time...",
2462 nullptr, 2, QUERY_ONE_FOR_REAL__Sound_getIndexFromTime); // alternative COMPATIBILITY <= 2004
2463 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"-- get content --", nullptr, 1, nullptr);
2464 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get value at time...", nullptr, 1,
2465 QUERY_ONE_FOR_REAL__Sound_getValueAtTime);
2466 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get value at sample number... || Get value at index...",
2467 nullptr, 1, QUERY_ONE_FOR_REAL__Sound_getValueAtIndex); // alternative COMPATIBILITY <= 2004
2468 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"-- get shape --", nullptr, 1, nullptr);
2469 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get minimum...", nullptr, 1,
2470 QUERY_ONE_FOR_REAL__Sound_getMinimum);
2471 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get time of minimum...", nullptr, 1,
2472 QUERY_ONE_FOR_REAL__Sound_getTimeOfMinimum);
2473 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get maximum...", nullptr, 1,
2474 QUERY_ONE_FOR_REAL__Sound_getMaximum);
2475 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get time of maximum...", nullptr, 1,
2476 QUERY_ONE_FOR_REAL__Sound_getTimeOfMaximum);
2477 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get absolute extremum...", nullptr, 1,
2478 QUERY_ONE_FOR_REAL__Sound_getAbsoluteExtremum);
2479 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get nearest zero crossing...", nullptr, 1,
2480 QUERY_ONE_FOR_REAL__Sound_getNearestZeroCrossing);
2481 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"-- get statistics --", nullptr, 1, nullptr);
2482 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get mean...", nullptr, 1,
2483 QUERY_ONE_FOR_REAL__Sound_getMean);
2484 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get root-mean-square...", nullptr, 1,
2485 QUERY_ONE_FOR_REAL__Sound_getRootMeanSquare);
2486 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get standard deviation...", nullptr, 1,
2487 QUERY_ONE_FOR_REAL__Sound_getStandardDeviation);
2488 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"-- get energy --", nullptr, 1, nullptr);
2489 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get energy...", nullptr, 1,
2490 QUERY_ONE_FOR_REAL__Sound_getEnergy);
2491 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get power...", nullptr, 1,
2492 QUERY_ONE_FOR_REAL__Sound_getPower);
2493 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"-- get energy in air --", nullptr, 1, nullptr);
2494 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get energy in air", nullptr, 1,
2495 QUERY_ONE_FOR_REAL__Sound_getEnergyInAir);
2496 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get power in air", nullptr, 1,
2497 QUERY_ONE_FOR_REAL__Sound_getPowerInAir);
2498 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 1, U"Get intensity (dB)", nullptr, 1,
2499 QUERY_ONE_FOR_REAL__Sound_getIntensity_dB);
2500 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Modify -", nullptr, 0, nullptr);
2501 praat_TimeFunction_modify_initcxx . . $ praat_TimeFunction_modify_init(b2b8400651464df9). (classSoundcxx . . $ classSound.);
2502 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- modify generic --", nullptr, 1, nullptr);
2503 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Reverse", nullptr, 1, MODIFY_Sound_reverse);
2504 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Formula...", nullptr, 1, MODIFY_Sound_formula);
2505 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Formula (part)...", nullptr, 1, MODIFY_Sound_formula_part);
2506 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- add & mul --", nullptr, 1, nullptr);
2507 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Add...", nullptr, 1, MODIFY_Sound_add);
2508 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Shift times to between zero and physical duration", U"Shift times to...", 3, MODIFY_Sound_shiftTimesToBetweenZeroAndPhysicalDuration);
2509 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Subtract mean", nullptr, 1, MODIFY_Sound_subtractMean);
2510 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Multiply...", nullptr, 1, MODIFY_Sound_multiply);
2511 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Multiply by window...", nullptr, 1, MODIFY_Sound_multiplyByWindow);
2512 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Scale peak... || Scale...",
2513 nullptr, 1, MODIFY_Sound_scalePeak); // alternative COMPATIBILITY <= 2004
2514 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Scale intensity...", nullptr, 1, MODIFY_Sound_scaleIntensity);
2515 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- set --", nullptr, 1, nullptr);
2516 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Set value at sample number... || Set value at index...",
2517 nullptr, 1, MODIFY_Sound_setValueAtIndex); // alternative COMPATIBILITY <= 2004
2518 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Set part to zero...", nullptr, 1, MODIFY_Sound_setPartToZero);
2519 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- modify hack --", nullptr, 1, nullptr);
2520 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Override sampling frequency... || Override sample rate...",
2521 nullptr, 1, MODIFY_Sound_overrideSamplingFrequency); // alternative COMPATIBILITY <= 2004
2522 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- in-place filters --", nullptr, 1, nullptr);
2523 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"In-place filters", nullptr, 1, nullptr);
2524 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Filter with one formant (in-place)... || Filter with one formant (in-line)...",
2525 nullptr, 2, MODIFY_Sound_filterWithOneFormantInplace); // alternative COMPATIBILITY <= 2017
2526 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Pre-emphasize (in-place)... || Pre-emphasize (in-line)...",
2527 nullptr, 2, MODIFY_Sound_preemphasizeInplace);
2528 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"De-emphasize (in-place)... || De-emphasize (in-line)...",
2529 nullptr, 2, MODIFY_Sound_deemphasizeInplace);
2530 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Annotate -", nullptr, 0, nullptr);
2531 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Annotation tutorial", nullptr, 1,
2532 HELP__AnnotationTutorial);
2533 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- to text grid --", nullptr, 1, nullptr);
2534 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To TextGrid...", nullptr, 1,
2535 CONVERT_EACH_TO_ONE__Sound_to_TextGrid);
2536 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To TextGrid (speech activity, Silero)...", nullptr, 1,
2537 CONVERT_EACH_TO_ONE__Sound_to_TextGrid_speechActivity_silero);
2538 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To TextTier", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!,
2539 CONVERT_EACH_TO_ONE__Sound_to_TextTier);
2540 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To IntervalTier", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!,
2541 CONVERT_EACH_TO_ONE__Sound_to_IntervalTier);
2542 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Analyse periodicity -", nullptr, 0, nullptr);
2543 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"How to choose a pitch analysis method", nullptr, 1,
2544 HELP__How_to_choose_a_pitch_analysis_method);
2545 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- pitch --", nullptr, 1, nullptr);
2546 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Pitch...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!,
2547 CONVERT_EACH_TO_ONE__Sound_to_Pitch);
2548 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Pitch (filtered autocorrelation)... || To Pitch (filtered ac)...", nullptr, 1,
2549 CONVERT_EACH_TO_ONE__Sound_to_Pitch_filteredAutocorrelation);
2550 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Pitch (raw cross-correlation)... || To Pitch (raw cc)...", nullptr, 1,
2551 CONVERT_EACH_TO_ONE__Sound_to_Pitch_rawCrossCorrelation);
2552 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Pitch (raw autocorrelation)... || To Pitch (raw ac)...", nullptr, 1,
2553 CONVERT_EACH_TO_ONE__Sound_to_Pitch_rawAutocorrelation);
2554 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Pitch (filtered cross-correlation)... || To Pitch (filtered cc)...", nullptr, 1,
2555 CONVERT_EACH_TO_ONE__Sound_to_Pitch_filteredCrossCorrelation);
2556 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Pitch (ac)...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!,
2557 CONVERT_EACH_TO_ONE__Sound_to_Pitch_ac);
2558 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Pitch (cc)...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!,
2559 CONVERT_EACH_TO_ONE__Sound_to_Pitch_cc);
2560
2561 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To PointProcess (periodic, cc)...", nullptr, 1,
2562 CONVERT_EACH_TO_ONE__Sound_to_PointProcess_periodic_cc);
2563 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To PointProcess (periodic, peaks)...", nullptr, 1,
2564 CONVERT_EACH_TO_ONE__Sound_to_PointProcess_periodic_peaks);
2565 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- points --", nullptr, 1, nullptr);
2566 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To PointProcess (extrema)...", nullptr, 1,
2567 CONVERT_EACH_TO_ONE__Sound_to_PointProcess_extrema);
2568 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To PointProcess (zeroes)...", nullptr, 1,
2569 CONVERT_EACH_TO_ONE__Sound_to_PointProcess_zeroes);
2570 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- hnr --", nullptr, 1, nullptr);
2571 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Harmonicity (cc)...", nullptr, 1,
2572 CONVERT_EACH_TO_ONE__Sound_to_Harmonicity_cc);
2573 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Harmonicity (ac)...", nullptr, 1,
2574 CONVERT_EACH_TO_ONE__Sound_to_Harmonicity_ac);
2575 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Harmonicity (gne)...", nullptr, 1,
2576 CONVERT_EACH_TO_ONE__Sound_to_Harmonicity_gne);
2577 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- autocorrelation --", nullptr, 1, nullptr);
2578 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Autocorrelate...", nullptr, 1,
2579 CONVERT_EACH_TO_ONE__Sound_autoCorrelate);
2580 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Analyse spectrum -", nullptr, 0, nullptr);
2581 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Spectrum...", nullptr, 1,
2582 CONVERT_EACH_TO_ONE__Sound_to_Spectrum);
2583 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Spectrum (fft)", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2004cxx . . $ `sys/Gui.h:874:9`!,
2584 CONVERT_EACH_TO_ONE__Sound_to_Spectrum_fft); // replace with To Spectrum: 1
2585 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Spectrum", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2004cxx . . $ `sys/Gui.h:874:9`!,
2586 CONVERT_EACH_TO_ONE__Sound_to_Spectrum_fft); // replace with To Spectrum: 1
2587 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Spectrum (dft)", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2004cxx . . $ `sys/Gui.h:874:9`!,
2588 CONVERT_EACH_TO_ONE__Sound_to_Spectrum_dft); // replace with To Spectrum: 0
2589 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Ltas...", nullptr, 1,
2590 CONVERT_EACH_TO_ONE__Sound_to_Ltas);
2591 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Ltas (pitch-corrected)...", nullptr, 1,
2592 CONVERT_EACH_TO_ONE__Sound_to_Ltas_pitchCorrected);
2593 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- spectrotemporal --", nullptr, 1, nullptr);
2594 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Spectrogram...", nullptr, 1,
2595 CONVERT_EACH_TO_ONE__Sound_to_Spectrogram);
2596 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Cochleagram...", nullptr, 1,
2597 CONVERT_EACH_TO_ONE__Sound_to_Cochleagram);
2598 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Cochleagram (edb)...", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!,
2599 CONVERT_EACH_TO_ONE__Sound_to_Cochleagram_edb);
2600 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- formants --", nullptr, 1, nullptr);
2601 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Formant (burg)...", nullptr, 1,
2602 CONVERT_EACH_TO_ONE__Sound_to_Formant_burg);
2603 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Formant (hack)", nullptr, 1, nullptr);
2604 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Formant (keep all)...", nullptr, 2,
2605 CONVERT_EACH_TO_ONE__Sound_to_Formant_keepAll);
2606 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Formant (sl)...", nullptr, 2,
2607 CONVERT_EACH_TO_ONE__Sound_to_Formant_willems);
2608 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Intensity...", nullptr, 0,
2609 CONVERT_EACH_TO_ONE__Sound_to_Intensity);
2610 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To IntensityTier...", nullptr, GuiMenu_HIDDENcxx . . $ `sys/Gui.h:869:9`!,
2611 CONVERT_EACH_TO_ONE__Sound_to_IntensityTier);
2612 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Manipulate -", nullptr, 0, nullptr);
2613 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"To Manipulation...", nullptr, 1,
2614 CONVERT_EACH_TO_ONE__Sound_to_Manipulation);
2615 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Convert -", nullptr, 0, nullptr);
2616 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Convert to mono", nullptr, 1,
2617 CONVERT_EACH_TO_ONE__Sound_convertToMono);
2618 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Convert to stereo", nullptr, 1,
2619 CONVERT_EACH_TO_ONE__Sound_convertToStereo);
2620 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Extract all channels", nullptr, 1,
2621 CONVERT_ONE_TO_MULTIPLE__Sound_extractAllChannels);
2622 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Extract one channel...", nullptr, 1,
2623 CONVERT_EACH_TO_ONE__Sound_extractChannel);
2624 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Extract left channel", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2010cxx . . $ `sys/Gui.h:880:9`!,
2625 CONVERT_EACH_TO_ONE__Sound_extractLeftChannel); // replace with Extract one channel: 1
2626 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Extract right channel", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2010cxx . . $ `sys/Gui.h:880:9`!,
2627 CONVERT_EACH_TO_ONE__Sound_extractRightChannel); // replace with Extract one channel: 2
2628 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Extract channels...", nullptr, 1,
2629 CONVERT_EACH_TO_ONE__Sound_extractChannels);
2630 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Extract part...", nullptr, 1,
2631 CONVERT_EACH_TO_ONE__Sound_extractPart);
2632 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Extract part for overlap...", nullptr, 1,
2633 CONVERT_EACH_TO_ONE__Sound_extractPartForOverlap);
2634 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Resample...", nullptr, 1,
2635 CONVERT_EACH_TO_ONE__Sound_resample);
2636 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- enhance --", nullptr, 1, nullptr);
2637 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Lengthen (overlap-add)... || Lengthen (PSOLA)...", nullptr, 1,
2638 CONVERT_EACH_TO_ONE__Sound_lengthen_overlapAdd); // alternative COMPATIBILITY <= 2007
2639 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Deepen band modulation...", nullptr, 1,
2640 CONVERT_EACH_TO_ONE__Sound_deepenBandModulation);
2641 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- cast --", nullptr, 1, nullptr);
2642 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Down to Matrix", nullptr, 1,
2643 CONVERT_EACH_TO_ONE__Sound_downto_Matrix);
2644 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Filter -", nullptr, 0, nullptr);
2645 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Filtering tutorial", nullptr, 1,
2646 HELP__FilteringTutorial);
2647 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- frequency-domain filter --", nullptr, 1, nullptr);
2648 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Filter (pass Hann band)...", nullptr, 1,
2649 CONVERT_EACH_TO_ONE__Sound_filter_passHannBand);
2650 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Filter (stop Hann band)...", nullptr, 1,
2651 CONVERT_EACH_TO_ONE__Sound_filter_stopHannBand);
2652 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Filter (formula)...", nullptr, 1,
2653 CONVERT_EACH_TO_ONE__Sound_filter_formula);
2654 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"-- time-domain filter --", nullptr, 1, nullptr);
2655 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Filter (one formant)...", nullptr, 1,
2656 CONVERT_EACH_TO_ONE__Sound_filter_oneFormant);
2657 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Filter (pre-emphasis)...", nullptr, 1,
2658 CONVERT_EACH_TO_ONE__Sound_filter_preemphasis);
2659 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Filter (de-emphasis)...", nullptr, 1,
2660 CONVERT_EACH_TO_ONE__Sound_filter_deemphasis);
2661 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Combine -", nullptr, 0, nullptr);
2662 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Combine to stereo", nullptr, 1,
2663 COMBINE_ALL_TO_ONE__Sounds_combineToStereo);
2664 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Combine into SoundList", nullptr, 1,
2665 COMBINE_ALL_TO_ONE__Sounds_combineIntoSoundList);
2666 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Combine into SoundSet", nullptr, 1,
2667 COMBINE_ALL_TO_ONE__Sounds_combineIntoSoundSet);
2668 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Concatenate", nullptr, 1,
2669 COMBINE_ALL_TO_ONE__Sounds_concatenate);
2670 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Concatenate recoverably", nullptr, 1,
2671 CONVERT_ALL_TO_MULTIPLE__Sounds_concatenateRecoverably);
2672 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 0, U"Concatenate with overlap...", nullptr, 1,
2673 COMBINE_ALL_TO_ONE__Sounds_concatenateWithOverlap);
2674 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"Convolve...", nullptr, 1,
2675 CONVERT_TWO_TO_ONE__Sounds_convolve);
2676 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"Convolve", nullptr, GuiMenu_DEPTH_1cxx . . $ `sys/Gui.h:862:9`! | GuiMenu_DEPRECATED_2010cxx . . $ `sys/Gui.h:880:9`!,
2677 CONVERT_TWO_TO_ONE__Sounds_convolve_old); // replace with Convolve: "sum", "zero"
2678 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"Cross-correlate...", nullptr, 1,
2679 CONVERT_TWO_TO_ONE__Sounds_crossCorrelate);
2680 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSound, 2, U"To ParamCurve", nullptr, 1,
2681 CONVERT_TWO_TO_ONE__Sounds_to_ParamCurve);
2682
2683 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classLongSound, 0, classSound, 0, U"Save as WAV file... || Write to WAV file...",
2684 nullptr, 0, SAVE_ALL__LongSound_Sound_saveAsWavFile); // alternative COMPATIBILITY <= 2011
2685 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classLongSound, 0, classSound, 0, U"Save as AIFF file... || Write to AIFF file...",
2686 nullptr, 0, SAVE_ALL__LongSound_Sound_saveAsAiffFile);
2687 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classLongSound, 0, classSound, 0, U"Save as AIFC file... || Write to AIFC file...",
2688 nullptr, 0, SAVE_ALL__LongSound_Sound_saveAsAifcFile);
2689 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classLongSound, 0, classSound, 0, U"Save as NeXT/Sun file... || Write to NeXT/Sun file...",
2690 nullptr, 0, SAVE_ALL__LongSound_Sound_saveAsNextSunFile);
2691 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classLongSound, 0, classSound, 0, U"Save as NIST file... || Write to NIST file...",
2692 nullptr, 0, SAVE_ALL__LongSound_Sound_saveAsNistFile);
2693 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classLongSound, 0, classSound, 0, U"Save as FLAC file... || Write to FLAC file...",
2694 nullptr, 0, SAVE_ALL__LongSound_Sound_saveAsFlacFile);
2695
2696 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSoundList, 1, U"Extract all Sounds", nullptr, 0,
2697 CONVERT_EACH_TO_MULTIPLE__SoundList_extractAllSounds);
2698
2699 praat_addAction1cxx . . $ `sys/praat.h:72:9`! (classSoundSet, 1, U"Extract all Sounds", nullptr, 0,
2700 CONVERT_EACH_TO_MULTIPLE__SoundSet_extractAllSounds);
2701 praat_addAction2cxx . . $ `sys/praat.h:73:9`! (classSoundSet, 1, classTable, 1, U"Get randomized patterns...", nullptr, 0,
2702 CONVERT_ONE_AND_ONE_TO_MULTIPLE__SoundSet_Table_getRandomizedPatterns);
2703 }
2704
2705 /* End of file praat_Sound.cpp */