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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for qdigitalmeter-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abcaa253813d484746967c25c72a19ab460d5b7a5bd92e9b99cd9b1559933012 |
|
MD5 | 7e3accd336d44d73c688fac842c7dc60 |
|
BLAKE2b-256 | eaef114a8720ee05915a611bed317fe5c3fdb4c6f5aa0f9f522a288491c6f850 |