Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/menzenski/decibel-reader
Read data from a USB sound level meter and output JSON data
https://github.com/menzenski/decibel-reader
Last synced: 18 days ago
JSON representation
Read data from a USB sound level meter and output JSON data
- Host: GitHub
- URL: https://github.com/menzenski/decibel-reader
- Owner: menzenski
- License: other
- Created: 2015-05-03T17:14:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-21T18:02:18.000Z (about 9 years ago)
- Last Synced: 2023-08-11T14:13:29.990Z (over 1 year ago)
- Language: Python
- Size: 260 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# decibel-reader
This repository contains Python code which reads decibel levels from
a connected USB sound level meter, displays them graphically, and saves
each reading and its timestamp to disk as a JSON file. The goal is to use
this code to measure decibels in an indoor athletic arena and send
measurements to an FTP server where they can be located and displayed as
a live stat in the team's official app and on the team's official web site.The current iteration of the decibel reader widget looks like this:
![dB reader screenshot](img/decibelviz.gif "Screenshot of the decibel reader")
The longer-term goal is to use the data from this reader to trigger some sort
of alert (perhaps a push notification in the app) when the sound level in the
arena exceeds some as-yet-undetermined threshold, or remains above some
threshold for some as-yet-undetermined length of time, so that fans would know
that the game's getting exciting, or so that highlight moments might be chosen
automatically. It's still unclear how this might be accomplished.## Hardware
This script was written for a **Wensn WS1361 Digital Sound Level Meter**
with a range of 30 to 130 dB.## Notes
This script is run during games on a Windows XP netbook, so care has been
taken to ensure that it uses only code present in the standard library in
Python 2.7.9.