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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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