Skip to main content

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_TRACK followed by the channel track id (typically 0 or 1)
  • SPEAKING_CLOCK_NONE if no speaking clock has been detected
  • SPEAKING_CLOCK_MULTIPLE if 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

speaking_clock_detection-1.0.2.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

speaking_clock_detection-1.0.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file speaking_clock_detection-1.0.2.tar.gz.

File metadata

File hashes

Hashes for speaking_clock_detection-1.0.2.tar.gz
Algorithm Hash digest
SHA256 67c94c48df3826b5314de89200a48b51fab75527fe9aa62d5869903d7b1f1e4b
MD5 e43eea62a5b4f8990b7389d7f6c9488f
BLAKE2b-256 2e40c88c518160eb2b23f2b41bffd80d70268440fd08b36dd90c16d2b4cc58dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for speaking_clock_detection-1.0.2.tar.gz:

Publisher: python-publish.yml on ina-foss/speaking-clock-detection

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file speaking_clock_detection-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for speaking_clock_detection-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 87559d3a178ea534d6c5aff781fa5e515e011e217f88c2f81f3c68992fe8ce0b
MD5 d39c684318f27500da9d1b3c0cc5ee9b
BLAKE2b-256 8757f451dd7dc7561e3ea47d3efcf8eac90d5f854c11b40cb3388174b2c2d83c

See more details on using hashes here.

Provenance

The following attestation bundles were made for speaking_clock_detection-1.0.2-py3-none-any.whl:

Publisher: python-publish.yml on ina-foss/speaking-clock-detection

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page