Skip to main content

Acoustic Oscillations Viewer

Project description

# Acoustic Modes Viewer (v0.1 alpha)

This program is a simple viewer of power spectral density of sound.
The package provides a module and a program to trace Fourier acoustic modes and resonance frequencies of excited bodies.

## Use cases
* estimate length of an excited metal bar, guitar string, or
* measure frequency of flute tones,
* identify resonance frequencies and through provided sound speed the corresponding length scales of mechanical components that generate unwanted resonances (e.g. in a car as a function of speed cs)
* test 1/f noise and microphonic effects in electrical devices the program runs on.


## Features
* Analysis of sound from microphone or from a file (WAV format)
* To analyze transient signals it keeps track of maximal peaks in processed spectra
* Saves recorded and processed data to files for further analysis
* Outputs list of peak frequencies (f) and corresponding wavelengths (l=cs/f)

### Features that will be implemented
* Save animations of PSD response for video files (not implemented yet)

## Installation
`pip install acomod`

## Screenshots

![Screenshot](screenshot.png)

## Troubleshooting
* acoustic\_mode\_viewer givens core dump when running in virtual environment<br>
When you pip install acomod in virtual environment Qt platform plugin may fail to be properly
initialized due to incorrect configuration of LD_LIBRARY_PATH environment variable (under linux) pointing
location of Qt libraries most likely somewhere in the system directories. If version of those is not the one
required by the PyQt5 the program will fail with<br>
`"This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem."`, <br>
a message that typically is not even printed out to the terminal.<br><br><br>
Solution:

export LD\_LIBRARY\_PATH=/path/to/venv/lib/python3.6/site-packages/PyQt5/Qt/lib:$LD\_LIBRARY\_PATH



## Authors
Bartosz Lew (bartosz.lew@protonmail.com)


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for acomod, version 0.1.8
Filename, size File type Python version Upload date Hashes
Filename, size acomod-0.1.8-py3-none-any.whl (40.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size acomod-0.1.8.tar.gz (38.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page