Matlab speaker modelling |
Post Reply | Page 12> |
Author | |
tommysb
Registered User Joined: 24 April 2006 Location: Finland Status: Offline Points: 1036 |
Post Options
Thanks(0)
Posted: 07 August 2008 at 8:24pm |
Anyone tried this, or got advice/suggestions about ways to model speakers in Matlab? I have some thoughts of my own, but going to get proficient in the software before I try anything.....
|
|
odc04r
Old Croc Joined: 12 July 2006 Location: Sarfampton Status: Offline Points: 5482 |
Post Options
Thanks(0)
|
Well I'm fairly handy with Matlab, so feel free to pm me if you get a bit stuck.
I did consider working out horn folds in a given 2D cab size given a bunch of volumes using numerical solvers but never got the time or had the inclination to seriously start. |
|
davey t
Young Croc Joined: 11 March 2004 Location: Bristol UK Status: Offline Points: 1428 |
Post Options
Thanks(0)
|
why not st use akabak?
|
|
Minirig portable soundsystem movement
|
|
Deadbeat
Old Croc Joined: 12 March 2008 Location: Singularity Status: Offline Points: 3167 |
Post Options
Thanks(0)
|
I'd only use MATLAB or another mathematic software for something like room placement of subwoofers (I think some use that instead of software like CARA, etc) etc (or calculating flares when you can't do it on paper, it's useful for OS, jmmic, tractrix flares for comps that you can't draw out on paper).
As davey said, Akabak would be more suitable (I'm slowly learning it...slowly...). |
|
Away on extended leave.
|
|
tommysb
Registered User Joined: 24 April 2006 Location: Finland Status: Offline Points: 1036 |
Post Options
Thanks(0)
|
The overall idea, was that it would be possible to write a program that sort of tuned a box to a particular driver, but would also be able to do the opposite. It was intended as an exercise to help my understanding of acoustics, could be a bit of fun, and is much more configurable. Arriving at an optimum bass horn using genetic algorithms? Gotta be worth a try i think......
|
|
SteveAATW
Young Croc Joined: 04 September 2007 Status: Offline Points: 1173 |
Post Options
Thanks(0)
|
I use Matlab every day...
I hate it more with every day that passes.... |
|
odc04r
Old Croc Joined: 12 July 2006 Location: Sarfampton Status: Offline Points: 5482 |
Post Options
Thanks(0)
|
Eventually you will get to love it, and by that point it will be time to start using C.
|
|
SteveAATW
Young Croc Joined: 04 September 2007 Status: Offline Points: 1173 |
Post Options
Thanks(0)
|
I think my problem is that I learned how to program long before I had to use Matlab....
I'd take assembly over the pain of solving algebraic loop errors in Simulink, and models that take 2 days to simulate 1200s of real time |
|
tommysb
Registered User Joined: 24 April 2006 Location: Finland Status: Offline Points: 1036 |
Post Options
Thanks(0)
|
My other option is to write something in C, which I'm actually fairly comfortable with, I just presumed it would be quicker to start prototyping equations etc in Matlab! (and you could have a nice GUI more easily).
|
|
odc04r
Old Croc Joined: 12 July 2006 Location: Sarfampton Status: Offline Points: 5482 |
Post Options
Thanks(0)
|
Matlab is sheer brilliance for rapid prototyping, if you know what you want it to do and especially if you want pretty graphs afterwards.
Matlab is all about getting data into an enviroment where you can work with it as quick as possible with a mimimum of fuss, proper analysis then is a lot more straightforward. If you can be bothered to do that donkey work yourself then C will be a sh*tload faster and then some. |
|
tommysb
Registered User Joined: 24 April 2006 Location: Finland Status: Offline Points: 1036 |
Post Options
Thanks(0)
|
yeah, I just don't have any experience in GUIs in C. Plus, it depends how well i write the algorithms...
To be honest, I don't think it will be that intensive that the speed will make a difference. Although I may be proved wrong... |
|
odc04r
Old Croc Joined: 12 July 2006 Location: Sarfampton Status: Offline Points: 5482 |
Post Options
Thanks(0)
|
You don't need to worry too much about gui develpment with C unless you want to. Just compile to a console exe and run at the command prompt, then you can print out log files of data and analyse them with excel/matlab/whatever for pretty results perhaps. I have written a lot of stuff this way.
Edited by odc04r - 11 August 2008 at 1:14am |
|
Post Reply | Page 12> |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |