No project description provided
Project description
Speaking Clock Detection
This tool can be used to detect on which channel a speaking clock is present. It only works on stereo audio files, where either the left or right channel contain only the speaking clock. This tool has only been tested with the French official Speaking Clock.
Installation
pip3 install speaking-clock-detection
Usage
The help is available with the following command:
speaking_clock_detection --help
options:
-h, --help show this help message and exit
-m MEDIA, --media MEDIA
full path to media to analyze
-t TMPDIR, --tmpdir TMPDIR
Temporary directory used to store intermediate files. Should be a fast access
directory such as Ram Disk or SSD hard drive. Default value: /dev/shm (linux ram
disk)
-o OUTPUT, --output OUTPUT
output file for the result. Default value: /dev/stdout.
-f FFMPEG, --ffmpeg FFMPEG
Full path to ffmpeg binary. If not provided, this will used default binary
installed on the system. This program has been tested with ffmpeg version
2.8.8-0ubuntu0.16.04.1
Example
The tool can be used like this:
speaking_clock_detection \
--media /file/to/detect/speaking_clock.wav
It will output one of the three following values:
SPEAKING_CLOCK_TRACKfollowed by the channel track id (typically 0 or 1)SPEAKING_CLOCK_NONEif no speaking clock has been detectedSPEAKING_CLOCK_MULTIPLEif multiple speaking clocks have been detected (this is usually an error)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file speaking_clock_detection-1.0.3.tar.gz.
File metadata
- Download URL: speaking_clock_detection-1.0.3.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8f4b46bbb51d39f059c4c8535b7656c3df0d3a3249f3226ef8a00a85132d1f7
|
|
| MD5 |
c51dd4e4ccbdb29750c6ac1a4840ec28
|
|
| BLAKE2b-256 |
4558c05b10d898f1fbf41aeb9952d2d35c740d3b2f9e096655e194b629655e47
|
Provenance
The following attestation bundles were made for speaking_clock_detection-1.0.3.tar.gz:
Publisher:
python-publish.yml on ina-foss/speaking-clock-detection
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
speaking_clock_detection-1.0.3.tar.gz -
Subject digest:
b8f4b46bbb51d39f059c4c8535b7656c3df0d3a3249f3226ef8a00a85132d1f7 - Sigstore transparency entry: 469560830
- Sigstore integration time:
-
Permalink:
ina-foss/speaking-clock-detection@7d3571180c8682868c653e6edee54e3ccd4776bb -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/ina-foss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7d3571180c8682868c653e6edee54e3ccd4776bb -
Trigger Event:
release
-
Statement type:
File details
Details for the file speaking_clock_detection-1.0.3-py3-none-any.whl.
File metadata
- Download URL: speaking_clock_detection-1.0.3-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a195098a1cd2a46e2b804d545e7677c74285300d1657c1686cc90d66f51aa9d8
|
|
| MD5 |
b2d2d2c35ecdf3f96c7b896d0a19083a
|
|
| BLAKE2b-256 |
be785bdb25315c36fd2b3b67ca9e89b17b2fda8873762a5d3356ab94eb820d21
|
Provenance
The following attestation bundles were made for speaking_clock_detection-1.0.3-py3-none-any.whl:
Publisher:
python-publish.yml on ina-foss/speaking-clock-detection
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
speaking_clock_detection-1.0.3-py3-none-any.whl -
Subject digest:
a195098a1cd2a46e2b804d545e7677c74285300d1657c1686cc90d66f51aa9d8 - Sigstore transparency entry: 469560842
- Sigstore integration time:
-
Permalink:
ina-foss/speaking-clock-detection@7d3571180c8682868c653e6edee54e3ccd4776bb -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/ina-foss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7d3571180c8682868c653e6edee54e3ccd4776bb -
Trigger Event:
release
-
Statement type: