Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

Scimpy: open-source speaker design, impedance measurements, & book (Win/Mac/Linux)
Scimpy: open-source speaker design, impedance measurements, & book (Win/Mac/Linux)
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 7th March 2016, 01:39 PM   #21
maqifrnswa is offline maqifrnswa  United States
diyAudio Member
 
Join Date: Mar 2016
Quote:
Originally Posted by planet10 View Post
I may be making some incorrect assumptions from this window, but…

Speaker parameters should be in a separate database. A design file should allow the saving of multiple alignments. I find it useful to take a design file and then load a different driver to make comparisons or to start a new design file.

I hope that descriptions make sense.

dave
Speaker database would be great - for now it is set up so the user can type in the specs from the data sheet or measure them using the impedance tool, then use that to design.

https://github.com/maqifrnswa/scimpy/issues/6

An eventual speaker database would be perfect, any volunteers? ;-) Maybe an open source database somewhere on the web that scimpy or other software can connect to?

Saving designs is needed, just need to eventually get to it
https://github.com/maqifrnswa/scimpy/issues/7
  Reply With Quote
Old 7th March 2016, 01:44 PM   #22
maqifrnswa is offline maqifrnswa  United States
diyAudio Member
 
Join Date: Mar 2016
Quote:
Originally Posted by planet10 View Post
I'll also ask what is an ideal sealed box? It is different for each application. We should be able to input a volume, and a curve with relavent information shown. Or input desired Q and have box volume spit out.

dave
By "Ideal" I mean pure mathematical function.

I'll rename it as "Calculate B2 Closed Box" and drop the word "ideal" since it implies preference, when I just meant that it was a "design that matches an ideal second-order butterworth transfer function"
https://github.com/maqifrnswa/scimpy/issues/8

Quote:
We should be able to input a volume, and a curve with relavent information shown. Or input desired Q and have box volume spit out.
That's how it works! Clicking "calculate" just gives you the starting point for box volume & port length/diameter that the user can accept, modify, or just ignore.
  Reply With Quote
Old 7th March 2016, 01:48 PM   #23
maqifrnswa is offline maqifrnswa  United States
diyAudio Member
 
Join Date: Mar 2016
Quote:
Originally Posted by relder View Post
Submitted
thank you! accepted
  Reply With Quote
Old 7th March 2016, 03:59 PM   #24
Ron E is offline Ron E  United States
diyAudio Member
 
Ron E's Avatar
 
Join Date: Jun 2002
Location: USA, MN
Quote:
Originally Posted by maqifrnswa View Post
An eventual speaker database would be perfect, any volunteers? ;-) Maybe an open source database somewhere on the web that scimpy or other software can connect to?
I think a database of published parameters is pointless. You can find many freeware databases full of useless published information. A way to save measurements and projects to files for sharing is all that is needed.
__________________
Our species needs, and deserves, a citizenry with minds wide awake and a basic understanding of how the world works. --Carl Sagan
Armaments, universal debt, and planned obsolescence--those are the three pillars of Western prosperity. —Aldous Huxley
  Reply With Quote
Old 7th March 2016, 06:13 PM   #25
planet10 is offline planet10  Canada
frugal-phile(tm)
diyAudio Moderator
 
planet10's Avatar
 
Join Date: Oct 2001
Location: Victoria, BC, NA, Sol III
Scimpy: open-source speaker design, impedance measurements, & book (Win/Mac/Linux)
Quote:
Originally Posted by maqifrnswa View Post
for now it is set up so the user can type in the specs from the data sheet or measure them using the impedance tool, then use that to design.
I have no problems with the user making their own database, but there needs to be a database to enter them into … MacSpeakerz came with one, i haven't used a single one of the drivers provided. I have added hundreds of drivers of my own.

dave
__________________
community sites t-linespeakers.org, frugal-horn.com, frugal-phile.com ........ commercial site planet10-HiFi
p10-hifi forum here at diyA
  Reply With Quote
Old 7th March 2016, 09:58 PM   #26
maqifrnswa is offline maqifrnswa  United States
diyAudio Member
 
Join Date: Mar 2016
Quote:
Originally Posted by Ron E View Post
I think a database of published parameters is pointless. You can find many freeware databases full of useless published information. A way to save measurements and projects to files for sharing is all that is needed.
Thank you Ron and Planet.

It looks like a speaker edit tool is needed. You'd enter (or load or measure) your parameters there, then it will be saved in a "speaker database file" which is a json text file. In the Speaker Model tool you select the speaker you want, and then edit the box. The project can be saved in a "design database" (another json text file). The design will also hold all the speaker parameters, in case the user changes or removes a speaker from the database (and also so you can share whole design databases as well as individual designs)

TODO:
  1. Code documentation and clean up
  2. Finish QB3 alignment so there is at least one completed vented box alignment (QB3-B3-C4)
  3. Place all these widgets and figures in to a single application. Right now there are a bunch of separate tools that open individually. I think we'll have to move to a single UI with toolbars and each tool in a dock.

I think there will be a bit of refactoring going on to implement all this. Git is generally good when lots of changes are going on, but still keep a heads up with the changes. If your changes are incompatible just keep working, we can do a git merge to get them all to line up later.

EDIT:
Also, saving/loading FRD/ZMA files is a must

Last edited by maqifrnswa; 7th March 2016 at 10:04 PM.
  Reply With Quote
Old 7th March 2016, 11:12 PM   #27
relder is offline relder  United States
diyAudio Member
 
relder's Avatar
 
Join Date: Jan 2002
Location: Tucson, AZ
Send a message via Yahoo to relder
Quote:
Originally Posted by maqifrnswa View Post
EDIT:
Also, saving/loading FRD/ZMA files is a must
Numpy has helpers for importing data from text:
HTML Code:
file_data = np.genfromtxt(fname, delimiter="   ", usecols=(0,1))
The above imports frd data from SoundEasy files anyway (minus phase, since I didn't care about that, but you could add that back in).
__________________
"That which does not kill us makes us stronger." - Friedrich Nietzsche (who is, BTW, dead)
  Reply With Quote
Old 7th March 2016, 11:29 PM   #28
Ron E is offline Ron E  United States
diyAudio Member
 
Ron E's Avatar
 
Join Date: Jun 2002
Location: USA, MN
If it helps, here's some equations for QB3, C4, SC4 for the single damped (only leakage term) case
These are from an equation solver, so not quite ready for use

/QB3
AA1=0
AA2=0
/QB3
/C4-SC4
Y=(k^4+6*k^2+1)/8
a1=(1-(1-k^2)/(2*sqrt(2)))*a3/sqrt(Y)
a2=(1+k^2*(1+sqrt(2)))/sqrt(Y)
a3=k*sqrt(4+2*sqrt(2))/sqrt(sqrt(Y))
/C4-SC4

H=Fb/Fs
alpha=Vas/Vb
/common equations
a1=(Ql+h*Qts)/(sqrt(h)*Ql*Qts)
a2=(h+(alpha+1+h^2)*Ql*Qts)/(h*Ql*Qts)
a3=(h*Ql+Qts)/(sqrt(h)*Ql*Qts)
AA1=a1^2-2*a2
AA2=a2^2+2-2*a1*a3
AA3=a3^2-2*a2
/common equations
__________________
Our species needs, and deserves, a citizenry with minds wide awake and a basic understanding of how the world works. --Carl Sagan
Armaments, universal debt, and planned obsolescence--those are the three pillars of Western prosperity. —Aldous Huxley
  Reply With Quote
Old 7th March 2016, 11:29 PM   #29
maqifrnswa is offline maqifrnswa  United States
diyAudio Member
 
Join Date: Mar 2016
Quote:
Originally Posted by relder View Post
Numpy has helpers for importing data from text:
HTML Code:
file_data = np.genfromtxt(fname, delimiter="   ", usecols=(0,1))
The above imports frd data from SoundEasy files anyway (minus phase, since I didn't care about that, but you could add that back in).
thank you! that is better than I was going to use, and they have a "comments" argument built in to the function so we can filter out the "*"s. Also ndarray.tofile to save since they are already in numpy arrays.
  Reply With Quote
Old 7th March 2016, 11:42 PM   #30
maqifrnswa is offline maqifrnswa  United States
diyAudio Member
 
Join Date: Mar 2016
Quote:
Originally Posted by Ron E View Post
If it helps, here's some equations for QB3, C4, SC4 for the single damped (only leakage term) case
These are from an equation solver, so not quite ready for use

/QB3
AA1=0
AA2=0
/QB3
/C4-SC4
Y=(k^4+6*k^2+1)/8
a1=(1-(1-k^2)/(2*sqrt(2)))*a3/sqrt(Y)
a2=(1+k^2*(1+sqrt(2)))/sqrt(Y)
a3=k*sqrt(4+2*sqrt(2))/sqrt(sqrt(Y))
/C4-SC4

H=Fb/Fs
alpha=Vas/Vb
/common equations
a1=(Ql+h*Qts)/(sqrt(h)*Ql*Qts)
a2=(h+(alpha+1+h^2)*Ql*Qts)/(h*Ql*Qts)
a3=(h*Ql+Qts)/(sqrt(h)*Ql*Qts)
AA1=a1^2-2*a2
AA2=a2^2+2-2*a1*a3
AA3=a3^2-2*a2
/common equations
Thank you! saves me some time!
  Reply With Quote

Reply


Scimpy: open-source speaker design, impedance measurements, & book (Win/Mac/Linux)Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Design, a new book on innovative and interesting ideas in speaker design. Studio Au Multi-Way 3 8th April 2012 08:46 PM
Linux Philosophy, Open Source Amp Wiki uzernaam Solid State 0 16th October 2010 08:55 AM
How to get started with speaker measurements for Dipole design? (and I have a Mac) santiu Multi-Way 4 12th January 2008 03:56 AM
Open call for suggestions on Open Source DIY Audio Design gfergy Everything Else 1 15th April 2007 07:33 AM
Looking for Linux based (open source) speaker design software Maxxarcade Multi-Way 3 17th January 2007 12:41 PM


New To Site? Need Help?

All times are GMT. The time now is 03:23 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 14.29%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki