skillfed

praat-parselmouth

Praat in Python, the Pythonic way

praat-parselmouth v0.4.7 400.9K downloads/30d#6,933 on PyPI1,279
Copyleft license GPLv3 Active released

What it is and what it does

Parselmouth is a Python binding to Praat, a widely-used speech analysis software. Rather than wrapping Praat's scripting language or reimplementing its algorithms, Parselmouth directly calls Praat's internal C/C++ code, ensuring that results are identical to Praat's native output while presenting a standard Python API. This makes it suitable for researchers and developers who need Praat's proven phonetic and acoustic analysis algorithms—pitch detection, formant extraction, spectral analysis—without leaving the Python ecosystem.

The package depends on numpy and is distributed as prebuilt wheels for Python 2.7 through 3.11 across macOS, Linux, and Windows. It is actively maintained, with a stable API and no known security vulnerabilities. The GPLv3 copyleft license means code using it must also be open-source, which is typical in academic speech research but may constrain commercial applications.

Use it for:

  • Extract pitch contours and formant frequencies from speech recordings for phonetic research or analysis.
  • Automate batch processing of audio files using Praat's algorithms within a Python pipeline.
  • Build speech processing applications that leverage Praat's proven signal-processing implementations.
  • Analyze acoustic properties of speech for linguistics, speech pathology, or voice quality assessment.
  • Integrate Praat-based analysis into machine learning workflows for speech feature extraction.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Parselmouth provides a Pythonic interface to Praat's speech analysis algorithms by directly binding to Praat's C/C++ code, enabling phonetic and acoustic analysis without reimplementation.

Yes, if you need Praat's speech analysis algorithms in Python and can accept the GPLv3 copyleft constraint. The package is actively maintained, has no known vulnerabilities, and provides direct access to Praat's C/C++ code with a Pythonic interface. Install friction is moderate due to compiled bindings, but prebuilt wheels cover most common platforms and Python versions. Not recommended if you require Python 3.12+ without building from source or if your project cannot use GPLv3-licensed code.

Install

praat-parselmouth on PyPI

pip

pip install praat-parselmouth

uv

uv add praat-parselmouth

poetry

poetry add praat-parselmouth

Installing praat-parselmouth

Before you install

Medium install friction due to compiled C++ bindings; wheels are provided for Python 2.7 through 3.11 on macOS, Linux, and Windows, but the package requires numpy and relies on prebuilt binaries rather than pure Python installation.

License in practice

GPLv3 copyleft license means any derivative work or modification must also be released under GPLv3; acceptable for research and open-source projects but may restrict commercial or proprietary use.

Quickstart

import parselmouth
sound = parselmouth.Sound("audio.wav")
pitch = sound.to_pitch()
formants = sound.to_formant_burg()

Requires numpy; prebuilt wheels available for Python 2.7–3.11 on major platforms, but older or uncommon Python versions may lack wheels and require compilation.

Verify before relying

  • Whether Praat must be installed separately on the system or if Parselmouth bundles Praat's runtime.
  • Performance characteristics and typical latency for common phonetic analyses on large audio files.
  • Compatibility status with Python 3.12 and 3.13 given the most recent wheel is cp311.

Package facts

License GPLv3 (copyleft)
Python support supports the current Python release (!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7)
Install friction medium — platform-specific wheel
Runtime dependencies 1 — numpy
Maintenance actively maintained — 260 days since the last release
Last repo commit
First released
Downloads 400,864/month — #6,933 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: praat_parselmouth-0.4.7-cp27-cp27m-macosx_10_9_x86_64.whl; praat_parselmouth-0.4.7-cp27-cp27m-manylinux2010_i686.whl; praat_parselmouth-0.4.7-cp27-cp27m-manylinux2010_x86_64.whl; praat_parselmouth-0.4.7-cp27-cp27mu-manylinux2010_i686.whl; praat_parselmouth-0.4.7-cp27-cp27mu-manylinux2010_x86_64.whl; praat_parselmouth-0.4.7-cp27-cp27m-win32.whl; praat_parselmouth-0.4.7-cp27-cp27m-win_amd64.whl; praat_parselmouth-0.4.7-cp310-cp310-macosx_10_9_universal2.whl; praat_parselmouth-0.4.7-cp310-cp310-macosx_10_9_x86_64.whl; praat_parselmouth-0.4.7-cp310-cp310-macosx_11_0_arm64.whl; praat_parselmouth-0.4.7-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl; praat_parselmouth-0.4.7-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl; praat_parselmouth-0.4.7-cp310-cp310-win32.whl; praat_parselmouth-0.4.7-cp310-cp310-win_amd64.whl; praat_parselmouth-0.4.7-cp311-cp311-macosx_10_9_universal2.whl; praat_parselmouth-0.4.7-cp311-cp311-macosx_10_9_x86_64.whl; praat_parselmouth-0.4.7-cp311-cp311-macosx_11_0_arm64.whl; praat_parselmouth-0.4.7-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl; praat_parselmouth-0.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; praat_parselmouth-0.4.7-cp311-cp311-win32.whl

Keywords: praat, speech, signal processing, phonetics

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Operating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: C++Programming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Software Development :: Libraries :: Python Modules

Tags

praat python interfacespeech analysis phoneticsacoustic signal processingpraat bindingsphonetic analysis libraryspeech signal processing pythonpraat wrapper
speech-analysisphoneticssignal-processing

More Scientific/Engineering packages