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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file scimpy-0.0.dev1.tar.gz.

File metadata

  • Download URL: scimpy-0.0.dev1.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scimpy-0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 860ff73344db0c98b5615b90a6d5dec72182e9ae1c65ce9dfdbed5b380f529b0
MD5 15be9249fe7516a0e653e53203e2fe58
BLAKE2b-256 3af7bfe8c6f9d0742a559a9ad04e511c065e66b32f8e986f73f262cd3a21175b

See more details on using hashes here.

File details

Details for the file scimpy-0.0.dev1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for scimpy-0.0.dev1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9b1306832d166967fb06f144765e4bf73c8998fbe2dbdf64391f11c2dcd1ff1b
MD5 f1f2a513d9652d6347eaf659b677969c
BLAKE2b-256 afc8632a2f9626487cba86068db738f957901484613fffbd1825329d31f60476

See more details on using hashes here.

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