> For the complete documentation index, see [llms.txt](https://liri-resources-hub.gitbook.io/svt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://liri-resources-hub.gitbook.io/svt/tool-catalogue/praat-signal-analysis.md).

# Praat Signal Analysis

Some utility scripts that could be useful in signal analysis with Praat.

Download the scripts of this page via [GitHub](https://github.com/liri-uzh/svt/tree/main/praat_signal_analysis).

Check out [Praat script guide](/svt/general-info/praat-script-and-plugin-guide.md#praat-scripts) for the tips of using Praat scripts.

## function\_getPeakRate

<figure><img src="/files/JEOAKhp9a3gCulORYaKA" alt="Demonstration on the usage of this function script: Record a sound object or open a sound object into Praat object window, select this object of interest -> open and run the script -> a &#x27;Praat Info&#x27; window pops out to display the result. " width="563"><figcaption></figcaption></figure>

<figure><img src="/files/QYgZVL0o7sZuxsLlOjVA" alt="" width="563"><figcaption></figcaption></figure>

This script measures speech rate by calculating the number of amplitude envelope peak points per second.

Select a Sound object and run this script. A Praat Info window will pop up showing the result.&#x20;

## function\_measureSpeechRate

<figure><img src="/files/pSpkpnoTvqUuGAX8id3d" alt="Demonstration on the usage of this function script: Record a sound object or open a sound object into Praat object window, select this object of interest -> open and run the script -> a &#x27;Praat Info&#x27; window pops out to display the result. A TextGrid object is also created and can be used to render a detailed result together with the sound object." width="563"><figcaption></figcaption></figure>

This script measures speech rate by calculating the number of amplitude envelope peak points per second. The script is based on `function_createPTPtier.praat` to show the peaks.&#x20;

Select a Sound object containing speech and run the script. A Praat Info window will appear showing the result, and a TextGrid will be created and viewed together with the Sound object to show details of the peaks.&#x20;
