tempo

speech tempo measurement in Praat

https://github.com/hugoquene/tempo

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.5%) to scientific vocabulary

Keywords

praat praat-scripts praatscript prosodic-analysis prosody speech tempo utrecht-university
Last synced: 6 months ago · JSON representation ·

Repository

speech tempo measurement in Praat

Basic Info
  • Host: GitHub
  • Owner: hugoquene
  • License: gpl-3.0
  • Default Branch: main
  • Homepage:
  • Size: 34.2 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Topics
praat praat-scripts praatscript prosodic-analysis prosody speech tempo utrecht-university
Created about 4 years ago · Last pushed over 2 years ago
Metadata Files
Readme License Citation

README.md

tempo

Brief description: script for measuring speech tempo in Praat.

This is a modified version of the script named "Praat Script [for] Syllable Nuclei",
Copyright (C) 2008 Nivja de Jong and Ton Wempe.

The original script was reported in:

De Jong, N.H. & Wempe, T. (2009). Praat script to detect syllable nuclei and measure speech rate automatically. Behavior Research Methods, volume 41, pages 385–390.

The modified script creates an intensity contour of a speech fragment (a Sound must have been selected before calling the script), and then looks for peaks in the intensity contour, which presumably coincide with nuclei of syllables in the speech sound. The syllable nuclei are collected as points in a new "point tier" added at the bottom of the TextGrid (the TextGrid associated with the Sound must also have been selected before calling the script). Tempo is then expressed as the number of syllables per second (syll/s) or as the "average syllable duration" (ASD, s/syll), for each interval of a particular interval tier of the TextGrid.

The version in this repository has been modified by Hugo Quené (h.quene@uu.nl) in several ways: - 2010: arguments are pre-set within the script - 2010: script does not loop over all files in directory, only applies on interactively selected Sound - 2010: several changes in audio measurements - 2022: does not only work on entire file but also reports tempo for each interval of interval tier of associated TextGrid

The script requires a running instance of Praat (www.praat.org).

Sample of output:

This output was produced using intervals on tier 1 (the interval tier was created by choosing Sound: To Textgrid (silences)... with default settings, which however are not optimal for this example speech recording): ```

for entire Sound:

sound, textgrid, nsyll (syll), dur (s), tempo (syll/s), ASD (s/syll)

kh-ckh-20210921-idwt5havx-web-hd, kh-ckh-20210921-idwt5havx-web-hd, 3590, 1273.684, 2.82, 0.355

according to this script, the recording has 3590 syllables in 1274 seconds,

which amounts to 2.82 syll/s, and an average syll duration of 0.355 seconds

for intervals on tier 1 (silences):

sound, textgrid, intervaltier, interval, label, nsyll, dur, tempo (syll/s), ASD (s/syll)

... kh-ckh-20210921-idwt5havx-web-hd, kh-ckh-20210921-idwt5havx-web-hd, 1, 9, silent, 0, 0.950, 0, 0 kh-ckh-20210921-idwt5havx-web-hd, kh-ckh-20210921-idwt5havx-web-hd, 1, 10, sounding, 8, 2.040, 3.92, 0.255 kh-ckh-20210921-idwt5havx-web-hd, kh-ckh-20210921-idwt5havx-web-hd, 1, 11, silent, 0, 1.490, 0, 0 kh-ckh-20210921-idwt5havx-web-hd, kh-ckh-20210921-idwt5havx-web-hd, 1, 12, sounding, 12, 2.100, 5.71, 0.175 kh-ckh-20210921-idwt5havx-web-hd, kh-ckh-20210921-idwt5havx-web-hd, 1, 13, silent, 2, 1.140, 1.75, 0.570 kh-ckh-20210921-idwt5havx-web-hd, kh-ckh-20210921-idwt5havx-web-hd, 1, 14, sounding, 6, 1.540, 3.90, 0.257 ```

Owner

  • Name: Hugo Quené
  • Login: hugoquene
  • Kind: user
  • Location: Utrecht
  • Company: Utrecht University

at Utrecht University: @UiL-OTS, @CentreForDigitalHumanities, Open Science Program

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: tempobyinterval
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Hugo
    family-names: Quené
    email: h.quene@uu.nl
    affiliation: Utrecht University
    orcid: 'https://orcid.org/0000-0001-7988-1346'
identifiers:
  - type: doi
    value: 10.5281/zenodo.7288542
repository-code: 'https://github.com/hugoquene/tempo'
abstract: >+
  Script for measuring speech tempo in Praat
  (www.praat.org).

  This is a modified version of the script named "Praat
  Script [for] Syllable Nuclei" (copyright (C) 2008 Nivja de Jong and Ton Wempe).

keywords:
  - speech rate
  - speaking rate
  - tempo
  - syllable nuclei
  - syllable detector
license: GPL-3.0-or-later
version: 1.2.0
date-released: '2022-11-04'

GitHub Events

Total
Last Year