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 details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37e1b0be9e0a8ee32dd94751230a37891dda2f5b8c3bd5ca4930fc37eed8e365 |
|
MD5 | a2256b8952a7e63501c4833c22f72753 |
|
BLAKE2b-256 | 438c7e412b685c4613b56b738565522c2567d4d87176c93b277bd944f09e89a5 |
File details
Details for the file qdigitalmeter-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: qdigitalmeter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abcaa253813d484746967c25c72a19ab460d5b7a5bd92e9b99cd9b1559933012 |
|
MD5 | 7e3accd336d44d73c688fac842c7dc60 |
|
BLAKE2b-256 | eaef114a8720ee05915a611bed317fe5c3fdb4c6f5aa0f9f522a288491c6f850 |