Skip to content

Commit 6d1879c

Browse files
authored
Merge pull request #3004 from PaulBoersma/master
-
2 parents 015bf90 + 5e4447e commit 6d1879c

36 files changed

+152
-59
lines changed

docs/manual/Checking_for_updates.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<p>Updates for Praat are available from <code><font size=+1>praat.org</font></code> or <code><font size=+1>www.fon.hum.uva.nl/praat</font></code>.</p>
1515
<p>Your current version (if you are reading this from the manual inside the Praat program, rather than from the website) is:</p>
1616
<code style="color:red">=&gt;</code><br>
17-
<code> 6.4.43, from September 14, 2025<br></code>
17+
<code> 6.4.44, from September 25, 2025<br></code>
1818
<p>Given that we tend to release new Praat versions once or twice a month, you can probably guess whether it would be worth your while to have a look at <code><font size=+1>praat.org</font></code> or <code><font size=+1>www.fon.hum.uva.nl/praat</font></code> to see what is new, and perhaps download a new version.</p>
1919
<p>Praat improves continually, and old features will almost always continue to work, so there should never be a reason to continue to work with older versions.</p>
2020
<h2>Why no automatic update checking?</h2>
-1.75 KB
Loading

docs/manual/Create_TextGrid___.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2>Settings</h2>
2121
<dt><b>Tier names</b>
2222
<dd>a list of the names of the tiers that you want to create, separated by spaces.</dd>
2323
<dt><b>Point tiers</b>
24-
<dd>a list of the names of the tiers that you want to be <i>point tiers</i>; the rest of the tiers will be <i>interval tiers</i>.</dd>
24+
<dd>a list of the names of the tiers that you want to be <i>point tiers</i>; the rest of the tiers will be <i>interval tiers</i>. If you want to create no point tiers, you can leave this setting empty.</dd>
2525
</dl>
2626
<h3>Links to this page</h3>
2727
<ul>

docs/manual/FAQ__How_to_cite_Praat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<p><b>Question</b>: how do I cite Praat in my articles?</p>
1515
<p>Answer: nowadays most journals allow you to cite computer programs and web sites. The style approved by the American Psychological Association, and therefore by many journals, is like the following (change the dates and version number as needed):</p>
1616
<code style="color:red">=&gt;</code><br>
17-
<code> Boersma, Paul & Weenink, David (2025). Praat: doing phonetics by computer [Computer program]. Version 6.4.43, retrieved 14 September 2025 from https://praat.org<br></code>
17+
<code> Boersma, Paul & Weenink, David (2025). Praat: doing phonetics by computer [Computer program]. Version 6.4.44, retrieved 25 September 2025 from https://praat.org<br></code>
1818
<p>If the journal does not allow you to cite a web site, then try:</p>
1919
<p>Boersma, Paul (2001). Praat, a system for doing phonetics by computer. <i>Glot International</i> <b>5:9/10</b>, 341-345.</p>
2020
<p>This paper can be downloaded from Boersma&#8217;s website.</p>

docs/manual/Get_frame_number_from_time___.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h2>Example</h2>
2323
<h2>Scripting</h2>
2424
<p>You can use this command to put the nearest frame centre into a script variable:</p>
2525
<code> selectObject: "Pitch hallo"<br></code>
26-
<code> frame = Get frame from time... 0.1<br></code>
26+
<code> frame = Get frame number from time... 0.1<br></code>
2727
<code> nearestFrame = round (frame)<br></code>
2828
<p>In this case, the value will not be written into the Info window. To round down or up, use</p>
2929
<code> leftFrame = floor (frame)<br></code>

docs/manual/PointProcess__To_TextGrid___.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2>Settings</h2>
1818
<dt><b>Tier names</b>
1919
<dd>a list of the names of the tiers that you want to create, separated by spaces.</dd>
2020
<dt><b>Point tiers</b>
21-
<dd>a list of the names of the tiers that you want to be <i>point tiers</i>; the rest of the tiers will be <i>interval tiers</i>.</dd>
21+
<dd>a list of the names of the tiers that you want to be <i>point tiers</i>; the rest of the tiers will be <i>interval tiers</i>. If you want to create no point tiers, you can leave this setting empty.</dd>
2222
</dl>
2323
<h2>Example</h2>
2424
<p>If <b>Tier names</b> is "a b c", and <b>Point tiers</b> is "b", the resulting TextGrid object will contain an interval tier named "a", a point tier named "b", and another interval tier named "c".</p>

docs/manual/Programming_with_Praat.html

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,36 @@ <h2>3. Building Praat</h2>
2020
<p>Consult the README file on GitHub for directions to compile and link Praat for your platform.</p>
2121
<h2>4. Extending Praat</h2>
2222
<p>To start extending Praat&#8217;s functionality, you can edit <code><font size=+1>main/main_Praat.cpp</font></code>. This example shows you how to create a very simple program with all the functionality of the Praat program, and a single bit more (namely an additional command in the New menu):</p>
23-
<code> #include "praatM.h"<br></code>
23+
<code> #include "praatM.h" // for macros such as DIRECT and INCLUDE_LIBRARY<br></code>
2424
<code> <br></code>
25-
<code> DIRECT (HelloFromJane) {<br></code>
25+
<code> DIRECT (INFO_HelloFromJane) { // a macro to include commands without parameters<br></code>
2626
<code> Melder_information (U"Hello, I am Jane.");<br></code>
2727
<code> }<br></code>
2828
<code> <br></code>
2929
<code> int main (int argc, char **argv) {<br></code>
30-
<code> praat_init (U"Praat_Jane", argc, argv);<br></code>
31-
<code> INCLUDE_LIBRARY (praat_uvafon_init)<br></code>
32-
<code> praat_addMenuCommand (U"Objects", U"New", U"Hello from Jane...", nullptr, 0, DO_HelloFromJane);<br></code>
30+
<code> praat_init (<br></code>
31+
<code> U"Praat_Jane", // the name of your app<br></code>
32+
<code> U"1.2.01", // the version of your app, as a string<br></code>
33+
<code> 1201, // the version of your app, as a number<br></code>
34+
<code> 2025, // the year of your app's version<br></code>
35+
<code> 9, // the month of your app's version (here: September)<br></code>
36+
<code> 18, // the day of your app's version (between 1 and 31)<br></code>
37+
<code> U"jane.doe", // the first part of your contact email address<br></code>
38+
<code> U"univ.edu", // the second part of your contact email address<br></code>
39+
<code> argc, // the number of command line arguments (0 if started from GUI)<br></code>
40+
<code> argv // the command line arguments (empty if started from GUI)<br></code>
41+
<code> );<br></code>
42+
<code> INCLUDE_LIBRARY (praat_uvafon_init) // include all Praat functionality <br></code>
43+
<code> praat_addMenuCommand (<br></code>
44+
<code> U"Objects", // the window in which this command will appear<br></code>
45+
<code> U"New", // the menu under which this command will appear<br></code>
46+
<code> U"Hello from Jane...", // the title of the menu command<br></code>
47+
<code> nullptr, // to insert after another command (unused here)<br></code>
48+
<code> 0, // the depth at which this command will appear (0 for top level)<br></code>
49+
<code> INFO_HelloFromJane // the command defined above<br></code>
50+
<code> );<br></code>
3351
<code> praat_run ();<br></code>
34-
<code> return 0;<br></code>
52+
<code> return 0; // obligatory<br></code>
3553
<code> }<br></code>
3654
<h2>5. Learning how to program</h2>
3755
<p>To see how objects are defined, take a look at <code><font size=+1>sys/Thing.h</font></code>, <code><font size=+1>sys/Daata.h</font></code>, <code><font size=+1>sys/oo.h</font></code>, the <code><font size=+1>XXX_def.h</font></code> files in the <code><font size=+1>fon</font></code> folder, and the corresponding <code><font size=+1>XXX.cpp</font></code> files in the <code><font size=+1>fon</font></code> folder. To see how commands show up on the buttons in the fixed and dynamic menus, take a look at the large interface description file <code><font size=+1>fon/praat_Fon.cpp</font></code>.</p>
@@ -43,7 +61,7 @@ <h3>Links to this page</h3>
4361
</ul>
4462
<hr>
4563
<address>
46-
<p>© Paul Boersma 2023-04-09, 2024</p>
64+
<p>© Paul Boersma 2023-04-09, 2024, 2025</p>
4765
</address>
4866
</body>
4967
</html>

docs/manual/Reporting_a_problem.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
Reporting a problem
1313
</b></font></table></table>
1414
<p>Anything that you consider incorrect behaviour of Praat (a &#8220;bug&#8221;) can be reported to the authors by email (<code><font size=+1>[email protected]</font></code>). This includes any crashes.</p>
15-
<p>Questions about how to use Praat for your specific cases can be posed to the Praat User List (<code><font size=+1>https://groups.io/g/Praat-Users-List</font></code>). This includes any questions on why your self-written Praat script does something unexpected.</p>
15+
<p>Questions about how to use Praat for your specific cases can be posed to the Praat Users List (<code><font size=+1>https://groups.io/g/Praat-Users-List</font></code>). This includes any questions on why your self-written Praat script does something unexpected.</p>
1616
<hr>
1717
<address>
18-
<p>© Paul Boersma 2022</p>
18+
<p>© Paul Boersma 2022,2025</p>
1919
</address>
2020
</body>
2121
</html>

docs/manual/ScriptEditor.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ <h3>Links to this page</h3>
8181
<li><a href="Scripting_7_2__Scripting_an_editor_from_within.html">Scripting 7.2. Scripting an editor from within</a>
8282
<li><a href="What_was_new_in_3_5_.html">What was new in 3.5?</a>
8383
<li><a href="What_was_new_in_3_6_.html">What was new in 3.6?</a>
84+
<li><a href="What_s_new_.html">What's new?</a>
8485
</ul>
8586
<hr>
8687
<address>

docs/manual/Scripting_5_1__Variables.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ <h2>Making numeric variables visible</h2>
5858
<code> The jitter is 0.00002%.<br></code>
5959
<h2>Predefined variables</h2>
6060
<p>All of the variables you saw earlier in this tutorial were defined at the first moment a value was assigned to them. Some variables, however, are already defined implicitly at the start of your script.</p>
61-
<p>Some predefined <b>numeric variables</b> are <code><font size=+1>macintosh</font></code>, <code><font size=+1>windows</font></code>, and <code><font size=+1>unix</font></code>, which are 1 if your edition of Praat was built for the Macintosh, Windows, or Unix platform (respectively), and which are otherwise zero. Likewise, we have <code><font size=+1>praat_32bit</font></code> and <code><font size=+1>praat_64bit</font></code>, of which one is 1 and the other 0, depending on whether your edition of Praat was built for 32-bit or 64-bit computers. More precisely, we have <code><font size=+1>praat_intel32</font></code>, <code><font size=+1>praat_intel64</font></code> and <code><font size=+1>praat_arm64</font></code>, one of which is 1 (and the others 0) depending on whether the type of processor chip that your edition of Praat was made for is 32-bit Intel (= x86, i386, i686), or 64-bit Intel (= AMD64), or ARM64 (= Aarch64). Another predefined numeric variable is <code><font size=+1>praatVersion</font></code>, which is something like 6421.</p>
62-
<p>Some <b>predefined string variables</b> are <code><font size=+1>newline$</font></code>, <code><font size=+1>tab$</font></code>, and <code><font size=+1>shellDirectory$</font></code>. The last one specifies the folder that was the default folder when Praat started up; you can use it in scripts that run from the Unix or Windows command line. Likewise, there exist the predefined string variables <code><font size=+1>homeDirectory$</font></code>, <code><font size=+1>preferencesDirectory$</font></code>, and <code><font size=+1>temporaryDirectory$</font></code>. These three refer to your home folder (which is where you log in), the Praat <a href="preferences_folder.html">preferences folder</a>, and a folder for saving temporary files; if you want to know what they are on your computer, try to write them into a script window. The variable <code><font size=+1>defaultDirectory$</font></code> is available for formulas in scripts; it is the folder that contains the script file. Finally, we have <code><font size=+1>praatVersion$</font></code>, which is something like &#8220;6.4.21&#8221;."</p>
61+
<p>Some predefined <b>numeric variables</b> are <code><font size=+1>macintosh</font></code>, <code><font size=+1>windows</font></code>, and <code><font size=+1>unix</font></code>, which are 1 if your edition of Praat was built for the Macintosh, Windows, or Unix platform (respectively), and which are otherwise zero. Likewise, we have <code><font size=+1>praat_32bit</font></code> and <code><font size=+1>praat_64bit</font></code>, of which one is 1 and the other 0, depending on whether your edition of Praat was built for 32-bit or 64-bit computers. More precisely, we have <code><font size=+1>praat_intel32</font></code>, <code><font size=+1>praat_intel64</font></code>, <code><font size=+1>praat_arm64</font></code>, <code><font size=+1>praat_s390x</font></code>, and <code><font size=+1>praat_armv7</font></code>, one of which is 1 (and the others 0) depending on whether the type of processor chip that your edition of Praat was made for is 32-bit Intel (= x86, i386, i686), or 64-bit Intel (= AMD64), or ARM64 (= Aarch64), or s390x (LinuxONE), or ARMv7 (smaller Raspberry Pi). Another predefined numeric variable is <code><font size=+1>praatVersion</font></code>, which is something like 6443.</p>
62+
<p>Some <b>predefined string variables</b> are <code><font size=+1>newline$</font></code>, <code><font size=+1>tab$</font></code>, and <code><font size=+1>shellDirectory$</font></code>. The last one specifies the folder that was the default folder when Praat started up; you can use it in scripts that run from the Unix or Windows command line. Likewise, there exist the predefined string variables <code><font size=+1>homeDirectory$</font></code>, <code><font size=+1>preferencesDirectory$</font></code>, and <code><font size=+1>temporaryDirectory$</font></code>. These three refer to your home folder (which is where you log in), the Praat <a href="preferences_folder.html">preferences folder</a>, and a folder for saving temporary files; if you want to know what they are on your computer, try to write them into a script window. The variable <code><font size=+1>defaultDirectory$</font></code> is available for formulas in scripts; it is the folder that contains the script file. Finally, we have <code><font size=+1>praatVersion$</font></code>, which is something like &#8220;6.4.43&#8221;."</p>
6363
<p>A disadvantage of predefined variables is that they can be changed, in which case they take on a different meaning. For this reason you are advised to use functions instead (if they exist), because these always have the same meaning:</p>
6464
<dl>
6565
<dd style="position:relative;padding-left:1em;text-indent:-2em">&#8226; <a href="_appVersion_.html"><b><code><font size=+1>appVersion</font></code></b></a>() instead of <code><font size=+1>praatVersion</font></code></dd>
@@ -80,7 +80,7 @@ <h3>Links to this page</h3>
8080
</ul>
8181
<hr>
8282
<address>
83-
<p>© Paul Boersma 2020-12-29,2024</p>
83+
<p>© Paul Boersma 2020-12-29,2024,2025</p>
8484
</address>
8585
</body>
8686
</html>

0 commit comments

Comments
 (0)