Skip to main content

A simple digital peak meter for PyQt

Project description

QDigitalMeter

A simple digital peak meter for PyQt


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:

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.0.1.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

qdigitalmeter-0.0.1-py3-none-any.whl (15.4 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