maqifrnswa / scimpy Goto Github PK
View Code? Open in Web Editor NEWScimpy Speaker Design Tool
License: GNU General Public License v3.0
Scimpy Speaker Design Tool
License: GNU General Public License v3.0
Please, don't use direct links to Appveyor artifacts when it comes to release builds, Appveyor deletes them, resulting in unavailability of built packages.
There should be a speaker database to easily load/save
matplotlib is compiled against qt5 on anaconda, update dependencies here to qt5
get impedance measurements to work
Does anyone know any horn speaker design software?
right now it just prints - use better logging:
https://docs.python.org/3.6/howto/logging.html
from Ron E:
You will probably want to leave the box and leakage damping terms in. For simplicity just use the same vented box model with Qa(bsorption), Ql(eakage) and Qp(ort), with Qp set to very low value (e.g. 1e-6)
from extracted parameters, easy to find impedance matching circuits. Are they useful?
doesn't seem to
sound card device selection doesn't respect user's selection and only uses the default
Status
Description
Save/load from FRD/ZMA
http://alloy.wishray.com/frd/frdis.htm
http://www.purebits.com/zmaconversion.html
FRD:
* Freq(Hz) SPL(db) Phase(deg)
*
10 21.0963 158.4356
10.1517 21.0967 158.4363
10.3056 21.3305 158.7836
10.4619 21.5644 159.1299
10.6205 21.7983 159.2452
10.7816 22.032 159.3599
...
ZMA:
* Hz Ohms Deg
20.5078 8.6367 17.2747
23.4375 8.5838 17.4326
26.3672 8.5930 18.2126
29.2969 8.6587 19.2752
32.2266 8.7664 20.4470
35.1563 8.9045 21.6664
38.0859 9.0666 22.9222
41.0156 9.2514 24.2251
43.9453 9.4622 25.5941
46.8750 9.7079 27.0363
...
asterisks are comments
possibly accept csv with commas, semicolons, or spaces?
Smart comments: anything not starting with a number is a comment?
In equation 5.12 omega^2 is already taken in right hand part. How deos it still remain in the left hand part
In equation 5.14 and 5.15 when Z_e is expaned where does R_er (electrical equivalent of Radiation) is gone.
qms and qes changes vas, vas changes qms and qes fs, so you end up in a loop where you can't enter in values you need.
don't know yet how to fix this since you need auto-updating for consistency, otherwise you might end up with something that is impossible. maybe have "checkboxes" for "user supplied value" so auto-updater does not update? but then importing from measurements/saved files are annoying...
sound card selector shows all APIs at once, duplicate card entries.
Perhaps have another selector to choose api, then only show devices associated with that API?
Talk about need for passive crossovers impedance matching zobels in docs, and why not needed if output impedance is low (in active crossovers)
Hi, I apt-get installed the packages specified in README on Ubuntu 14.04, cloned the Git repo and performed sudo python3 setup.py install
but it seems something is still missing?
Traceback (most recent call last):
File "/usr/local/bin/scimpy", line 9, in <module>
load_entry_point('scimpy==0.0.dev0', 'gui_scripts', 'scimpy')()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2088, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/local/lib/python3.4/dist-packages/scimpy-0.0.dev0-py3.4.egg/scimpy/scimpyui.py", line 9, in <module>
File "/usr/local/lib/python3.4/dist-packages/scimpy-0.0.dev0-py3.4.egg/scimpy/imptesterui.py", line 9, in <module>
ImportError: cannot import name 'qt_compat'
include shunt resistance of inductor, acoustic loss and dampening/absorption terms (maybe even radiation? but in series with everything else so it might not be able to be measured)
when taking a measurement, catch the exception if a buffer over/under run occurs and tell user to either make buffer bigger or close other programs to free up some CPU bandwidth
Hi, there!
With the latest git-version I can't run the installer. This is what I've done:
As root:
apt-get install python3-scipy python3-pyaudio python3-matplotlib python3-pyqt5 python3-pandas
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-matplotlib is already the newest version (2.0.0+dfsg1-2).
python3-pandas is already the newest version (0.19.2-5).
python3-pyqt5 is already the newest version (5.7+dfsg-5).
python3-pyaudio is already the newest version (0.2.10-1).
python3-scipy is already the newest version (0.18.1-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
As user:
python3 setup.py install
Traceback (most recent call last):
File "setup.py", line 1, in
from setuptools import setup, find_packages
ImportError: No module named 'setuptools'
pip install scimpy
bash: pip: command not found
Have I missed something?
is Vb enclosure two sig figs?
I installed Scimpy using apt and your repository.
But it doesn't start and I get this error massage:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", line 882, in __setitem__
cval = self.validate[key](val)
KeyError: 'axes.autolimit_mode'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/scimpy", line 9, in <module>
load_entry_point('scimpy==0.0.dev1', 'gui_scripts', 'scimpy')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/scimpy/scimpyui.py", line 11, in <module>
import scimpy.imptesterui as imptesterui
File "/usr/lib/python3/dist-packages/scimpy/imptesterui.py", line 9, in <module>
import scimpy.speakertest as speakertest
File "/usr/lib/python3/dist-packages/scimpy/speakertest.py", line 15, in <module>
import scimpy.speakermodel as speakermodel
File "/usr/lib/python3/dist-packages/scimpy/speakermodel.py", line 14, in <module>
matplotlib.rcParams['axes.autolimit_mode'] = 'round_numbers'
File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", line 888, in __setitem__
See rcParams.keys() for a list of valid parameters.' % (key,))
KeyError: 'axes.autolimit_mode is not a valid rc parameter.See rcParams.keys() for a list of valid parameters.'
What can I do?
Do I miss same additional packages?
add end effect (radiation)
just do it numerically? this way it's the same process for everyone?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.