| 1 | # Praat: doing phonetics by computer |
| 2 | |
| 3 | Welcome to Praat! Praat is a speech analysis tool used for doing phonetics by computer. |
| 4 | Praat can analyse, synthesize, and manipulate speech, and create high-quality pictures for your publications. |
| 5 | Praat was created by Paul Boersma and David Weenink of the Institute of Phonetics Sciences of the University of Amsterdam. |
| 6 | |
| 7 | Some of Praat’s most prominent features are: |
| 8 | |
| 9 | #### Speech analysis |
| 10 | |
| 11 | Praat allows you to analyze different aspects of speech including pitch, formant, intensity, and voice quality. |
| 12 | You have access to spectrograms (a visual representation of sound changing over time) |
| 13 | and cochleagrams (a specific type of spectrogram more closely resembling how the inner ear receives sound). |
| 14 | |
| 15 | #### Speech synthesis |
| 16 | |
| 17 | Praat allows you to generate speech from a pitch curve and filters that you create (acoustic synthesis), |
| 18 | or from muscle activities (articulatory synthesis). |
| 19 | |
| 20 | #### Speech manipulation |
| 21 | |
| 22 | Praat gives you the ability to modify existing speech utterances. You can alter pitch, intensity, and duration of speech. |
| 23 | |
| 24 | #### Speech labelling |
| 25 | |
| 26 | Praat allows you to custom-label your samples using the IPA (International Phonetics Alphabet), |
| 27 | and annotate your sound segments based on the particular variables you are seeking to analyze. |
| 28 | Multi-language text-to-speech facilities allow you to segment the sound into words and phonemes. |
| 29 | |
| 30 | #### Grammar models |
| 31 | |
| 32 | With Praat, you can try out Optimality-Theoretic and Harmonic-Grammar learning, |
| 33 | as well as several kinds of neural-network models. |
| 34 | |
| 35 | #### Statistical analysis |
| 36 | |
| 37 | Praat allows you to perform several statistical techniques, among which |
| 38 | multidimensional scaling, principal component analysis, and discriminant analysis. |
| 39 | |
| 40 | For more information, consult the extensive manual in Praat (under Help), |
| 41 | and the website [praat.org](https://praat.org), which has Praat tutorials in several languages. |
| 42 | |
| 43 | ## 1. Binary executables |
| 44 | |
| 45 | While the [Praat website](https://praat.org) contains the latest executable for all platforms that we support |
| 46 | (or used to support), the [releases on GitHub](https://github.com/praat/praat.github.io/releases) contain many older executables as well. |
| 47 | |
| 48 | The meaning of the names of binary files available on GitHub is as follows (editions that currently receive updates are in bold): |
| 49 | |
| 50 | ### 1.1. Windows binaries |
| 51 | - **`praatXXXX_win-x64v3.zip`: zipped executable for Intel64/AMD64(v3) Windows (10 and higher)** |
| 52 | - **`praatXXXX_win-x64v1.zip`: zipped executable for Intel64/AMD64(v1) Windows (10 and higher)** |
| 53 | - **`praatXXXX_win-arm64.zip`: zipped executable for ARM64 Windows (11 and higher)** |
| 54 | - **`praatXXXX_win-intel32.zip`: zipped executable for Intel32 Windows (7 [until 6.4.52] and higher)** |
| 55 | - `praatXXXX_win-intel64.zip`: zipped executable for Intel64/AMD64(v1) Windows (7 [until 6.4.52] and higher) |
| 56 | - `praatXXXX_win64.zip`: zipped executable for Intel64/AMD64 Windows (XP and higher, or 7 and higher) |
| 57 | - `praatXXXX_win32.zip`: zipped executable for Intel32 Windows (XP and higher, or 7 and higher) |
| 58 | - `praatconXXXX_win64.zip`: zipped executable for Intel64/AMD64 Windows, console edition |
| 59 | - `praatconXXXX_win32.zip`: zipped executable for Intel32 Windows, console edition |
| 60 | - `praatconXXXX_win32sit.exe`: self-extracting StuffIt archive with executable for Intel32 Windows, console edition |
| 61 | - `praatXXXX_win98.zip`: zipped executable for Windows 98 |
| 62 | - `praatXXXX_win98sit.exe`: self-extracting StuffIt archive with executable for Windows 98 |
| 63 | |
| 64 | ### 1.2. Mac binaries |
| 65 | - **`praatXXXX_mac.dmg`: disk image with universal executable for (64-bit) Intel and Apple Silicon Macs (Cocoa)** |
| 66 | - **`praatXXXX_xcodeproj.zip`: zipped Xcode project file for the universal (64-bit) edition (Cocoa)** |
| 67 | - `praatXXXX_mac64.dmg`: disk image with executable for 64-bit Intel Macs (Cocoa) |
| 68 | - `praatXXXX_xcodeproj64.zip`: zipped Xcode project file for the 64-bit edition (Cocoa) |
| 69 | - `praatXXXX_mac32.dmg`: disk image with executable for 32-bit Intel Macs (Carbon) |
| 70 | - `praatXXXX_xcodeproj32.zip`: zipped Xcode project file for the 32-bit edition (Carbon) |
| 71 | - `praatXXXX_macU.dmg`: disk image with universal executable for (32-bit) PPC and Intel Macs (Carbon) |
| 72 | - `praatXXXX_macU.sit`: StuffIt archive with universal executable for (32-bit) PPC and Intel Macs (Carbon) |
| 73 | - `praatXXXX_macU.zip`: zipped universal executable for (32-bit) PPC and Intel Macs (Carbon) |
| 74 | - `praatXXXX_macX.zip`: zipped executable for MacOS X (PPC) |
| 75 | - `praatXXXX_mac9.sit`: StuffIt archive with executable for MacOS 9 |
| 76 | - `praatXXXX_mac9.zip`: zipped executable for MacOS 9 |
| 77 | - `praatXXXX_mac7.sit`: StuffIt archive with executable for MacOS 7 |
| 78 | |
| 79 | ### 1.3. Linux binaries |
| 80 | - **`praatXXXX_linux-x64v3-barren.tar.gz`: gzipped tarred executable for Intel64/AMD64(v3) Linux (Ubuntu, Debian...), without GUI, sound and graphics** |
| 81 | - **`praatXXXX_linux-x64v3.tar.gz`: gzipped tarred executable for Intel64/AMD64(v3) Linux (Ubuntu, Debian...) (GTK 3) |
| 82 | - **`praatXXXX_linux-s390x-barren.tar.gz`: gzipped tarred executable for s390x Linux, without GUI, sound and graphics** |
| 83 | - **`praatXXXX_linux-s390x.tar.gz`: gzipped tarred executable for s390x Linux (GTK 3)** |
| 84 | - **`praatXXXX_linux-arm64-barren.tar.gz`: gzipped tarred executable for ARM64 Linux (Ubuntu, Debian...), without GUI, sound and graphics** |
| 85 | - **`praatXXXX_linux-arm64.tar.gz`: gzipped tarred executable for ARM64 Linux (Ubuntu, Debian...) (GTK 3)** |
| 86 | - `praatXXXX_linux-intel64-barren.tar.gz`: gzipped tarred executable for Intel64/AMD64(v1) Linux (Ubuntu, Debian...), without GUI, sound and graphics** |
| 87 | - `praatXXXX_linux-intel64.tar.gz`: gzipped tarred executable for Intel64/AMD64(v1) Linux (Ubuntu, Debian...) (GTK 3) |
| 88 | - `praatXXXX_linux-arm64-nogui.tar.gz`: gzipped tarred executable for ARM64 Linux, without GUI and sound but with graphics (Cairo and Pango) |
| 89 | - `praatXXXX_linux-intel64-nogui.tar.gz`: gzipped tarred executable for Intel64/AMD64 Linux, without GUI and sound but with graphics (Cairo and Pango) |
| 90 | - `praatXXXX_linux64barren.tar.gz`: gzipped tarred executable for Intel64/AMD64 Linux, without GUI, sound and graphics |
| 91 | - `praatXXXX_linux64nogui.tar.gz`: gzipped tarred executable for Intel64/AMD64 Linux, without GUI and sound but with graphics (Cairo and Pango) |
| 92 | - `praatXXXX_linux64.tar.gz`: gzipped tarred executable for Intel64/AMD64 Linux (GTK 2 or 3) |
| 93 | - `praatXXXX_linux32.tar.gz`: gzipped tarred executable for Intel32 Linux (GTK 2) |
| 94 | - `praatXXXX_linux_motif64.tar.gz`: gzipped tarred executable for Intel64/AMD64 Linux (Motif) |
| 95 | - `praatXXXX_linux_motif32.tar.gz`: gzipped tarred executable for Intel32 Linux (Motif) |
| 96 | |
| 97 | ### 1.4. Chromebook binaries |
| 98 | - **`praatXXXX_chrome-x64v1.tar.gz`: gzipped tarred executable for Intel64/AMD64(v1) Linux on Intel64/AMD64 Chromebooks (GTK 3)** |
| 99 | - **`praatXXXX_chrome-arm64.tar.gz`: gzipped tarred executable for Linux on ARM64 Chromebooks (GTK 3)** |
| 100 | - `praatXXXX_chrome-intel64.tar.gz`: gzipped tarred executable for Intel64/AMD64(v1) Linux on Intel64/AMD64 Chromebooks (GTK 3) |
| 101 | - `praatXXXX_chrome64.tar.gz`: gzipped tarred executable for 64-bit Linux on Intel64/AMD64 Chromebooks (GTK 2 or 3) |
| 102 | |
| 103 | ### 1.5. Raspberry Pi binaries |
| 104 | - **`praatXXXX_rpi-armv7.tar.gz`: gzipped tarred executable for (32-bit) ARMv7 Linux on the Raspberry Pi 4B (GTK 3)** |
| 105 | - `praatXXXX_rpi_armv7.tar.gz`: gzipped tarred executable for (32-bit) ARMv7 Linux on the Raspberry Pi 4B (GTK 2 or 3) |
| 106 | |
| 107 | ### 1.6. Other Unix binaries (all obsolete) |
| 108 | - `praatXXXX_solaris.tar.gz`: gzipped tarred executable for Sun Solaris |
| 109 | - `praatXXXX_sgi.tar.gz`: gzipped tarred executable for Silicon Graphics Iris |
| 110 | - `praatXXXX_hpux.tar.gz`: gzipped tarred executable for HP-UX (Hewlett-Packard Unix) |
| 111 | |
| 112 | ## 2. Compiling the source code |
| 113 | |
| 114 | You need the Praat source code only in the following cases: |
| 115 | |
| 116 | 1. you want to extend Praat’s functionality by adding C or C++ code to it; or |
| 117 | 2. you want to understand or reuse Praat’s source code; or |
| 118 | 3. you want to compile Praat for a computer for which we do not provide binary executables, |
| 119 | e.g. Linux for some non-Intel computers, FreeBSD, HP-UX, SGI, or SPARC Solaris. |
| 120 | |
| 121 | Before trying to dive into Praat’s source code, you should be familiar with the working of the Praat program |
| 122 | and with writing Praat scripts. The Praat program can be downloaded from |
| 123 | https://praat.org or https://www.fon.hum.uva.nl/praat. |
| 124 | |
| 125 | ### 2.1. License |
| 126 | |
| 127 | Most of the source code of Praat is distributed on GitHub under the General Public License, |
| 128 | [version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) or later, |
| 129 | or [version 3](https://praat.org/manual/General_Public_License__version_3.html) or later. |
| 130 | However, as Praat includes software written by others, |
| 131 | the whole of Praat is distributed under the General Public License, |
| 132 | [version 3](https://praat.org/manual/General_Public_License__version_3.html) or later. |
| 133 | See [Acknowledgments](https://praat.org/manual/Acknowledgments.html) for details on the licenses |
| 134 | of software libraries by others that are included in Praat. |
| 135 | Of course, any improvements in the Praat source code are welcomed by the authors. |
| 136 | |
| 137 | ### 2.2. Downloading the archive |
| 138 | |
| 139 | To download the latest source code of Praat from GitHub, |
| 140 | click on the *zip* or *tar.gz* archive at the latest release, |
| 141 | or fork ("clone") the praat/praat repository at any later change. |
| 142 | |
| 143 | ### 2.3. Steps to take if you want to extend Praat |
| 144 | |
| 145 | First make sure that the source code can be compiled as is. |
| 146 | Then add your own buttons by editing `main/main_Praat.cpp` or `fon/praat_Fon.cpp`. |
| 147 | Consult the manual page on [Programming](https://praat.org/manual/Programming_with_Praat.html). |
| 148 | |
| 149 | ### 2.4. The programming language |
| 150 | |
| 151 | Most of the source code is written in C++, but some parts are written in C. |
| 152 | The code requires that your compiler supports C99 and C++17. |
| 153 | |
| 154 | ## 3. Developing Praat for one platform |
| 155 | |
| 156 | See [HOW_TO_BUILD_ONE.md](HOW_TO_BUILD_ONE.md). |
| 157 | |
| 158 | ## 4. Developing Praat on all platforms simultaneously |
| 159 | |
| 160 | See [HOW_TO_BUILD_ALL.md](HOW_TO_BUILD_ALL.md). |