Feb-07-2019, 02:53 PM
How i do a sound meter using python and extract the data to a database?
|
Sound Meter
|
|
Feb-07-2019, 02:53 PM
How i do a sound meter using python and extract the data to a database?
Feb-07-2019, 03:10 PM
please elaborate
Feb-07-2019, 03:17 PM
Hello,
You see I have to do a project with a raspberry in which it consists of using the raspberry and a microphone to convert it into a sound meter and export the decibels to a database. The problem I have is that my knowledge about python is null. It would be very helpful if you could give me a sample of how it is done. Thanks in advance.
Hey! You can use PyAudio (or sounddevice) to capture audio, compute RMS (root mean square) to get amplitude, convert to decibels (e.g. 20 * log10(rms)) and then push the result into a database (e.g. SQLite, MySQL).
If you tell me which mic setup / OS you’re using (Raspberry Pi, USB mic, etc.), You can also try this tool for free. link removed Larz60+ write Oct-17-2025, 08:39 AM:
clickbait link removed |
|
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Alicat Flow Meter data acquisition | marenr | 0 | 1,394 |
Sep-29-2023, 10:59 PM Last Post: marenr |
|
| error in python script (for energy meter) | br0ken | 9 | 9,628 |
Dec-01-2017, 02:31 PM Last Post: br0ken |
|