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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ProChopPy-0.1.2.tar.gz | 8.2 kB | Without provenance | Details for ProChopPy-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ProChopPy-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for ProChopPy-0.1.2-py3-none-any.whl |
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
|
Security for ProChopPy 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.