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

Multi-Way Conventional loudspeakers with crossovers

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 June 2019, 01:16 PM   #41
mabat is offline mabat  Czech Republic
diyAudio Member
 
mabat's Avatar
 
Join Date: Sep 2004
Location: Prague
Quote:
Originally Posted by cowanaudio View Post
It has created the directory D:\Horns\ABEC_project with four files in it.
What does the program print as a "Project path"? There should be the name of the script (without an extension) in this path. It seems like it gets corrupted/lost in your case but I can't understand how this could happen.

If there are only four, probably the *.msh file is missing (which is quite a pity).

It seems like the program argument (the script name as a command line parameter) is not passed correctly.

Last edited by mabat; 7th June 2019 at 01:24 PM.
  Reply With Quote
Old 7th June 2019, 01:34 PM   #42
mabat is offline mabat  Czech Republic
diyAudio Member
 
mabat's Avatar
 
Join Date: Sep 2004
Location: Prague
IMPORTANT:

Please (to all), use the line Out.DestDir = "D:\Horns" in the scripts, only set it to some directory that exists in your environment.
Your output files should then get created under this directory in subdirectories corresponding to script names. This is the standard way how to proceed. Otherwise you may get a mess.

Last edited by mabat; 7th June 2019 at 01:44 PM.
  Reply With Quote
Old 7th June 2019, 03:09 PM   #43
mabat is offline mabat  Czech Republic
diyAudio Member
 
mabat's Avatar
 
Join Date: Sep 2004
Location: Prague
Quote:
Originally Posted by FredrikC View Post
Tried it on my laptop now and the mesh is normal resolution there.
Fredrik, you can look for Gmsh configuration files on your computer and try to find something that may affect the mesh density (or just try to delete them). I just realized that during the initialization of the SDK (gmsh::initialize()), it reads these files by default:

"If 'readConfigFiles' is set, read system Gmsh configuration files (gmshrc and gmsh-options)."

On my PC these files are in C:\Users\Me\AppData\Roaming.
That could be an explanation. I should probably disable this.

Last edited by mabat; 7th June 2019 at 03:29 PM.
  Reply With Quote
Old 7th June 2019, 05:57 PM   #44
Patrick Bateman is offline Patrick Bateman  United States
diyAudio Member
 
Patrick Bateman's Avatar
 
Join Date: Oct 2006
Location: San Diego
Quote:
Originally Posted by cowanaudio View Post
Thankyou. I'm getting closer, I'm now coming up with an error "Unknown output file format" when I try to open oswg.cfg. This error appears just after the width and height of the wg is displayed.

It has created the directory D:\Horns\ABEC_project with four files in it.
Here's a few things to keep in mind:

1) if you run the ath4.exe binary in Windows Explorer, it won't do anything, because it's a command line executable. So it must be run from a DOS window. ("cmd.exe") It might work in Power Shell too, I haven't tried.

2) ath4.exe depends on a configuration file to work. That configuration file is named "[your project name].cfg" For instance, the "ath15" example is named "ath15.cfg"

3) Windows may be configured to use "cfg" files with another application. Because of this, if you double click on the files in Windows Explorer, they may be opened in something else. So you'll want to open those "cfg" files in Windows Notepad, or whatever text editor you prefer. To do so, right click on the "cfg" files in Windows Explorer, and select "open with..." and then choose "Notepad."

If you configure the "cfg" files correctly, then you can run "ath4.exe [your config file].cfg" and ath4 will spit out an ABEC project and it's required files. You can tell if it worked correctly by opening the "project.abec" file in ABEC. If it worked, you will see a wireframe model uder the "Drawing" tab in ABEC.

Hope that helps!
  Reply With Quote
Old 7th June 2019, 06:02 PM   #45
Patrick Bateman is offline Patrick Bateman  United States
diyAudio Member
 
Patrick Bateman's Avatar
 
Join Date: Oct 2006
Location: San Diego
Quote:
Originally Posted by mabat View Post
I could make an option of a dome tweeter instead of a plane wave (which is what it is now) for the throat. At least I believe it would be possible. Only it is not so obvious how to do it. Should I include the surround? How to define the shape? Or does that make any sense at all?

BTW, the wavefront could also by modeled as non-flat. I only don't know if there is anyone who could utilize such feature.
Yes, this would be an awesome feature. One way you might implement it is to add a stanza to the cfg file for the following:

1) diameter of dome

2) diameter of surround

3) height of dome

You might want to set things up so that these parameters would override the "ThroatDiameter" parameter. In other words, if the user selected a 25mm dome with a 5mm surround, that would yield a throat of 35mm. So if the user selected a throat of 25mm or 50mm, that would cause issues with the model. (Because there's a mismatch.) So you might want to have the dome settings "override" the "ThroatDiameter" setting in the config file.
  Reply With Quote
Old 7th June 2019, 06:15 PM   #46
mabat is offline mabat  Czech Republic
diyAudio Member
 
mabat's Avatar
 
Join Date: Sep 2004
Location: Prague
Actually you can rename your script files to any other extension you like, *.txt if you wish. It's really up to you. What is important that you edit them by a plain text editor - Notepad, notepad++ (which I strongly recommend), etc.

I'll try the dome. How much should the surround contribute to the total output? Should it be gradually attenuated? The surrounds don't move along the edge... Does it matter? These are the questions.

Last edited by mabat; 7th June 2019 at 06:27 PM.
  Reply With Quote
Old 10th June 2019, 11:09 PM   #47
maravedis is offline maravedis  United Kingdom
diyAudio Member
 
Join Date: Sep 2009
Mabat,

Huge thanks for this amazing package.

Just say I was interested in simulating 7-sided (or any other odd number) gramophone style horns is there a way of setting Mesh.AngularSegments to do this? At the moment 7 defaults to 8.


thanks!
  Reply With Quote
Old 11th June 2019, 05:26 AM   #48
mabat is offline mabat  Czech Republic
diyAudio Member
 
mabat's Avatar
 
Join Date: Sep 2004
Location: Prague
Right now the number of angular segments is rounded to the nearest multiple of four to be able to export the exact quarter of the horn for ABEC (employing symmetry). I can relax this limitation, then the whole horn will need to be meshed and calculated. But there's a catch. Done this way there will be only 7 segments from throat to mouth. Maybe a better solution would be to add a superformula as an option for the s-curve. I guess you could easily do that shape - Superformula - Wikipedia

Example 10 | Superformula Shape | Super-formula Plotter

Can be done.

Last edited by mabat; 11th June 2019 at 05:32 AM.
  Reply With Quote
Old 11th June 2019, 06:30 AM   #49
mabat is offline mabat  Czech Republic
diyAudio Member
 
mabat's Avatar
 
Join Date: Sep 2004
Location: Prague
In that regard, any curve >>could<< be used as the s-curve (see the Manual for explanation). I just haven't found a way of how to import the curve data. Could be DXF or something - I would need to learn that.
  Reply With Quote
Old 11th June 2019, 09:01 PM   #50
mabat is offline mabat  Czech Republic
diyAudio Member
 
mabat's Avatar
 
Join Date: Sep 2004
Location: Prague
These are just some pictures from the coming functionality - a mold preparation. BTW, the STLs can be imported also to Tinkercad smoothly.

Now I would like to try to make horns myself from A1 acrylic resin: AcrylicOne
Does anybody here have any experience with this material? Maybe not so strong, but seems to be quite "user-friendly".
Attached Images
File Type: png gmsh-wg8.png (75.2 KB, 424 views)
File Type: png gmsh-wg-fa2.png (150.8 KB, 420 views)
File Type: png gmsh-wg-fa4-p2.png (160.2 KB, 419 views)
File Type: png gmsh-wg-fa5.png (86.5 KB, 412 views)
File Type: png kopyto.png (36.5 KB, 397 views)
File Type: jpg TCAD.jpg (124.4 KB, 58 views)
File Type: jpg TCAD_cut.jpg (77.8 KB, 55 views)
File Type: png gmsh-wg-107.png (181.6 KB, 57 views)
File Type: jpg gmsh-wg-108.jpg (197.4 KB, 64 views)
  Reply With Quote

Reply


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
Easy horn (Eazy Horn) still work? Alternatives? Soldermizer Subwoofers 2 4th March 2014 06:01 PM
For sale: Sound easy V18 & Acoustic-dimension stepped attenuator Tazzz Swap Meet 8 3rd November 2012 09:00 AM
easy exponential horn speakers anyone? 12345chris Full Range 9 21st March 2012 12:32 PM
Easy horn, quadrant horn? Hentai Multi-Way 2 29th January 2012 09:50 AM
An easy to build classic horn? dabbler Multi-Way 22 1st September 2011 09:01 AM


New To Site? Need Help?

All times are GMT. The time now is 01:10 AM.


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