Skip to main content

Speaker design and impedance measuring tool

Project description

Scimpy is an open-source, cross-platform loudspeaker design tool. Features include:

  • Modeling speaker impedance, phase, SPL, and group delay from TS Parameters

  • Measuring speaker impedance using your sound card as a signal generator and data acquisition system

  • Extract TS parameters from measured results and downloaded ZMA files.

  • Loudspeaker cabinet design: the tool will calculate speaker performance (SPL and group delay) for sealed and vented box designs. Will calculate “optimal” cabinet dimensions for traditional speaker alignments (B2 closed box, QB4-B4-C4)

  • A complete book covering speaker design theory

Scimpy is short for “Sound Card Impedance Measurements in PYthon”

General Python Requirements:

Python 2 or 3, scipy, numpy, pyaudio, matplotlib, pandas and either pyqt4 or pyside

Debian/Ubuntu development environment & installation:

sudo apt-get install python3-scipy python3-pyaudio python3-matplotlib python3-pyside python3-pandas
python3 setup.py install

Windows Python Environment & Scimpy Installation:

Full install (LARGE), comes with spyder IDE and many other python packages

install anaconda (https://www.continuum.io/downloads), open anaconda console and then in the anaconda console run “pip install pyaudio”.

If you want more control over the sound card, you can use a version of pyaudio built with more APIs available. Download pyaudio from: http://www.lfd.uci.edu/~gohlke/pythonlibs/ then open the anaconda console and install pyaudio with “pip install PyAudio-0.2.9-cp35-none-win_amd64.whl” replacing PyAudio-0.2.9-cp35-none-win_amd64.whl with the name of the file you downloaded.

Minimal install:

Install miniconda (32bit, even if you have 64 bit - makes things easier) from: http://conda.pydata.org/miniconda.html

Open Windows PowerShell (Start Menu, search for “Windows PowerShell”) and type the following commands:

conda update conda
conda install matplotlib scipy numpy
pip install pyaudio
cd LOCATION_WHERE_SCIMPY_WAS_DOWNLOADED
python run.py

have fun!

How to build Windows binaries

PyInstaller works. First install pyinstaller:

pip install pywin32 pyinstaller
conda install setuptools=19.2

(downgrading setuptools: https://github.com/pyinstaller/pyinstaller/issues/1781)

The run

pyinstaller -F run.py

to get a single executable in dist/

Book

LaTeX (e.g., MiKTeX)

License

Code: GPL3

Book/Documentation: CC-BY-SA 4.0

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

scimpy-0.0.dev1.tar.gz (19.1 kB view hashes)

Uploaded Source

Built Distribution

scimpy-0.0.dev1-py2.py3-none-any.whl (24.1 kB view hashes)

Uploaded Python 2 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