Skip to main content

No project description provided

Project description

Audio timer

Github: https://github.com/ARanch/audiotimer

This small program starts listening for an audio input on the system microphone. When a set audio level threshold is reached, a timer is started. When the audio level is reduced below the threshold, the timer is stopped after a short countdown, and the timespan is logged.

python -m pip install audiotimer

install requirements: pip install -r requirements.txt

run using: python audiotimer

see -h flag for run-time options.

Use case

The program is intended to be used as a way of testing the battery life of battery powered loudspeakers. Set the speaker to play a pink noise at a certain level, and leave a laptop with the speaker to listen for when it dies out.

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

audiotimer-0.3.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

audiotimer-0.3.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file audiotimer-0.3.1.tar.gz.

File metadata

  • Download URL: audiotimer-0.3.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for audiotimer-0.3.1.tar.gz
Algorithm Hash digest
SHA256 8842199d401037ed4cf38fb93dabee283af0af1cceb3f062c108bb6c6fea97a5
MD5 5d1169c9aa1a27542f6f0de576a04590
BLAKE2b-256 d046766d310cf1a57a20469797434da0f249f6282cf0b13ef279373d980b08de

See more details on using hashes here.

File details

Details for the file audiotimer-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: audiotimer-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for audiotimer-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 927343bf33a7f7b848a7cab2ee9cb11b1d771906f4e4f4cd7c21af930fcdafe6
MD5 210d97418e781cf7337ca4b0274458a2
BLAKE2b-256 b5c8e95adbdf067f3ca1fbc00ab68016f7c491753e551c5347c89e3a86201805

See more details on using hashes here.

Supported by

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