Skip to main content

A simple digital peak meter for use with PyQt5, PyQt6, PySide2, and PySide6

Project description

QDigitalMeter

A simple digital peak meter for use with PyQt5, PyQt6, PySide2, and PySide6.


Create a meter with default parameters, designed for audio dB values.

from qdigitalmeter import QDigitalMeter

meter = QDigitalMeter()
meter.setStyleSheet("* { background: rgb(30, 30, 30); color: rgb(90, 90, 90); }")
meter.resize(150, 400)
meter.show()

Update displayed values:

meter.plot([-42, -42])

Optionally display decay indicators:

meter.plot([-42, -42], [-21, -21])

See examples/example_01.py for a working example:

python3 examples/example_01.py

# or
QT_API=<api> python3 examples/example_01.py
# where <api> = pyqt5 || pyqt6 || pyside2 || pyside6

capture

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

qdigitalmeter-0.1.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

qdigitalmeter-0.1.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file qdigitalmeter-0.1.0.tar.gz.

File metadata

  • Download URL: qdigitalmeter-0.1.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for qdigitalmeter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 37e1b0be9e0a8ee32dd94751230a37891dda2f5b8c3bd5ca4930fc37eed8e365
MD5 a2256b8952a7e63501c4833c22f72753
BLAKE2b-256 438c7e412b685c4613b56b738565522c2567d4d87176c93b277bd944f09e89a5

See more details on using hashes here.

File details

Details for the file qdigitalmeter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qdigitalmeter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abcaa253813d484746967c25c72a19ab460d5b7a5bd92e9b99cd9b1559933012
MD5 7e3accd336d44d73c688fac842c7dc60
BLAKE2b-256 eaef114a8720ee05915a611bed317fe5c3fdb4c6f5aa0f9f522a288491c6f850

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