Skip to main content

ProChopPy

ProChopPy - Segment audio recordings into separate files based on ProRec annotations.

ProChopPy is a Python replacement for Mark Huckvale's ProChop (part of ProRec), which chops up a recording into separate files, based on an annotation file containing the break points. ProChopPy is designed to work with files recorded using ProRec, the prompt & record program by Mark Huckvale (https://www.phon.ucl.ac.uk/resource/prorec).

Usage

python -m prochoppy [-h] [-I] -a audio.wav -t annotations.txt -o output.dir [-f {WAV,SFS}] [-k] [-s]

Options

Option Parameters Description
-h Show help message and exit.
-I Report version number and exit.
-a audio.wav Specify the audio file to be segmented into separate files. Can be 1 or 2 channels.
-t annotations.txt Specify the annotation text file containing the break points. Each line consists of a time in seconds followed by TAB and a filename label.
-o output.dir Specify the name of the output directory where the separate files are to be placed.
-f {WAV,SFS} Specifies the output file format. Defaults to WAV.
-k Keep duplicate names. What to do if the same filename occurs more than once in the annotation file. If -k is given, duplicates are given a numbered suffix. Default is to overwrite earlier files with later ones.
-s Remove silence. Attempt to identify and remove silence at the start and end of each segment.

Note

As compared to the original ProChop, ProChopPy does not implement export to the proprietary format of the Speech Filing System (SFS). ProChopPy also does not currently support silence detection, which ProChop supports with the -s option.

Metadata

Release files for ProChopPy 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ProChopPy 0.1.2
File Size Uploaded
ProChopPy-0.1.2.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ProChopPy 0.1.2
File Interpreter ABI Platform
ProChopPy-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / ProChopPy-0.1.2.tar.gz

Download URL ProChopPy-0.1.2.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
078cd8e5b06059b83f74764efd7eb917e985e6a6bf33e9e3cf5beab3e734f3d9
BLAKE2b-256 checksum
How to use checksums
996a03384bb92943defa10f9a39f7ddde86aefb500a0f5cc82066816a01a4f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / ProChopPy-0.1.2-py3-none-any.whl

Download URL ProChopPy-0.1.2-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7294cf807fea0437da69b69c089abe9cdb0f54ce2bd19959d15e1673122adcfd
BLAKE2b-256 checksum
How to use checksums
ff269b0f6e5544d2f019a6204ed74558507215cc2d9206d335e4b633df218fc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page