YouTube2Text

John White: Accelerating Iterative Loudspeaker Design with Boundary Lab — Transcript

by Salford Acoustics · 9,853 words · 1,571 segments · language en · Watch on YouTube

Full transcript

  1. 0:00So, we're here at the University of
  2. 0:01Salford in the UK. Um, John White is
  3. 0:05presenting from Chattanooga in
  4. 0:06Tennessee, I believe. So, we've we've
  5. 0:08gone transatlantic here.
  6. 0:09And really nice to have him talk today
  7. 0:11on some of the work he's been doing
  8. 0:12recently on loudspeaker design
  9. 0:15optimization based on his new Boundary
  10. 0:17Lab software which uses the boundary
  11. 0:19element method. My name's Dr. Jonathan
  12. 0:21Hargreaves. I did a PhD in this area. I
  13. 0:23still do quite a lot of research in this
  14. 0:24area too. Um, and just give a bit
  15. 0:27background. So, John has originally come
  16. 0:29from okay, data analysis kind of
  17. 0:31background but got into audio kind of
  18. 0:34through these audio sound system scene.
  19. 0:37So, I do quite a lot of co-entrant horn
  20. 0:38designs which are which are really
  21. 0:40popular. It's obviously like could be
  22. 0:42like Dan Lee been there for a long time
  23. 0:44but
  24. 0:45increasingly
  25. 0:46that's something people do it for
  26. 0:47themselves. Quite a lot of optimization
  27. 0:49required to get those things to work
  28. 0:51nicely. And John's been doing that and
  29. 0:54been looking into more simulation tools
  30. 0:56along with a really vibrant online
  31. 0:58community and has put together this
  32. 1:00fantastic software called Boundary Lab.
  33. 1:02So, he's going to tell us more about
  34. 1:03that now.
  35. 1:04Over to you, John. Thank you very much.
  36. 1:06>> Cool. Yeah, so today we'll kind of cover
  37. 1:10a bit about the the background of the
  38. 1:13software, a little bit of just the
  39. 1:15general numerical methods and
  40. 1:19ways there are to simulate loudspeakers
  41. 1:21and then
  42. 1:24just a little bit of the tool and
  43. 1:25hopefully a demo if it if it cooperates
  44. 1:27today.
  45. 1:28So, a little bit of a background.
  46. 1:31I run JW Sound.
  47. 1:34I got started about four years ago with
  48. 1:37this.
  49. 1:38It's more of like a a personal project
  50. 1:41with this idea of
  51. 1:44kind of getting into my local sound
  52. 1:45system scene and
  53. 1:47kind of documenting that that progress
  54. 1:49along and
  55. 1:51got into kind of making DIY loudspeakers
  56. 1:53and
  57. 1:55eventually kind of
  58. 1:56the popularity of those loudspeakers
  59. 1:59kind of ballooned a bit
  60. 2:01which kind prompted me to start
  61. 2:03releasing plans for them and kind of
  62. 2:07pivoting what JW sound was more from
  63. 2:09like a personal project over to
  64. 2:11um a way to uh make high performance
  65. 2:15loud speakers more accessible for DIY.
  66. 2:17Um so a lot of that really comes down to
  67. 2:19both make making and releasing designs
  68. 2:22uh that you know anybody can download
  69. 2:24the plans for and and construct
  70. 2:25themselves
  71. 2:26um such as like the the J mod, the saw
  72. 2:29mod, the Solana to to name the the three
  73. 2:31that are here visible.
  74. 2:33Um but then also kind of more recently
  75. 2:35focusing on maybe the education side of
  76. 2:38it and and you know getting people
  77. 2:40interested and designing loud speakers
  78. 2:42and um measuring and and tuning and
  79. 2:45system alignments and um all that kind
  80. 2:48of part which is uh which is oftentimes
  81. 2:50is overlooked at least uh in in the
  82. 2:52sound system world.
  83. 2:54Um but to kind of get into just the
  84. 2:58idea of loud speaker modeling and what
  85. 3:00it is we're trying to predict um we can
  86. 3:02start kind of at a basic level is uh
  87. 3:04just defining what a loud speaker does
  88. 3:06is it's got one or more transducers. You
  89. 3:09have an enclosure that they sit inside
  90. 3:11of
  91. 3:12um that basically transforms electrical
  92. 3:14input signals into acoustic output. Um
  93. 3:17that's probably the simplest most
  94. 3:19condensed level you can define it as. Um
  95. 3:21of course it gets very complex from here
  96. 3:24um as you go out. So I'll kind of give a
  97. 3:27perspective of
  98. 3:29as a DIYer um what tools are typically
  99. 3:32available to us. Um
  100. 3:35oftentimes you know these these these
  101. 3:36projects have very little budget so um
  102. 3:39you have to kind of put together
  103. 3:41different answers from multiple
  104. 3:42different tools that are out there um to
  105. 3:44kind of to kind of get the answer you
  106. 3:46need before you start actually cutting
  107. 3:47wood.
  108. 3:48Um but the by far the most the most
  109. 3:51popular method um at least in DIY for
  110. 3:54designing loud speakers is is something
  111. 3:56called uh the lumped element approach.
  112. 3:58So um if you're familiar with tools like
  113. 4:00Hornresp or WinISD or VituixCAD. Um, all
  114. 4:04of these are really popular in the DIY
  115. 4:06space and they're basically a way for
  116. 4:08you to put a number in to define your
  117. 4:11box, your your drivers, and then it kind
  118. 4:13of spits out um some information like
  119. 4:16your your magnitude response, your
  120. 4:18frequency um response, phase, uh things
  121. 4:21like that.
  122. 4:22Um, but acoustically uh these models are
  123. 4:25kind of like this um reduced uh
  124. 4:27condensed version of of what's happening
  125. 4:29at um inside the loudspeaker. So you
  126. 4:32represent each element um of the
  127. 4:35loudspeaker as kind of these parts of an
  128. 4:38acoustic circuit. So those parts can be
  129. 4:39a transducer, it can be a port, can be a
  130. 4:42chamber, can be a horn. Um, this
  131. 4:44screenshot is from Hornresp um kind of
  132. 4:47showing this acoustic circuit diagram um
  133. 4:50where each of those squares represents
  134. 4:52uh a distinct part of of this acoustic
  135. 4:54system. Um, and again, these are these
  136. 4:57are pretty widely used um especially for
  137. 4:59DIY um largely because they're
  138. 5:02accessible, they're fast, they're
  139. 5:04reasonably uh easy to pick up. Um, it
  140. 5:07takes a a few months to learn Hornresp,
  141. 5:09but once you're once you're handy with
  142. 5:11it uh you can iterate pretty quickly on
  143. 5:13designs.
  144. 5:15Um,
  145. 5:16so let's talk a little bit about where
  146. 5:20you can run into limitations with that.
  147. 5:22So um what the kind of design that
  148. 5:26prompted me to uh start working on my
  149. 5:28own tools was this design called the Sol
  150. 5:30Mod, which is a uh a pretty compact
  151. 5:34three-way design. Um, there's one behind
  152. 5:36me actually over there.
  153. 5:38Um,
  154. 5:39but the
  155. 5:40idea with this project was to kind of
  156. 5:42combine different simulation methods
  157. 5:44together uh using DIY software um to
  158. 5:48kind of get me an answer before I
  159. 5:49started cutting wood. So
  160. 5:51I uh I did some of the simulation in
  161. 5:53Hornresp where uh I was simulating like
  162. 5:56the low frequency uh drivers response um
  163. 5:59given that they're kind of in this slot
  164. 6:01loading um band pass arrangement on the
  165. 6:04sides
  166. 6:05um and then a very basic BEM model of
  167. 6:08the of the waveguide using Akabak.
  168. 6:12So the idea with this was that you can
  169. 6:15take different answers from different
  170. 6:17tools and then kind of combine them
  171. 6:19together. You have to rely on a few
  172. 6:20assumptions because you're not getting
  173. 6:22like a total system response. You're
  174. 6:24kind of simulating each part in
  175. 6:25isolation.
  176. 6:27So then you can, for instance, with this
  177. 6:29design,
  178. 6:30take all these different answers and
  179. 6:32combine them together in something like
  180. 6:34like VituixCAD
  181. 6:36to get your predicted response.
  182. 6:38The problem that this design
  183. 6:41that this approach has is that a lot of
  184. 6:43speakers are this sort of
  185. 6:46interdependent system of of different
  186. 6:48components working together.
  187. 6:50So even though you can get a reasonably
  188. 6:53good answer of how one part of the
  189. 6:55system works quite well,
  190. 6:57as soon as you start to combine those
  191. 6:59things together, if you don't account
  192. 7:00for how those physics couple and
  193. 7:02interact with each other, it can give
  194. 7:04you a very different answer from
  195. 7:05reality. So that's kind of showing what
  196. 7:07this polar isobar
  197. 7:09was with the first measurements I took
  198. 7:11versus the first simulation. So the
  199. 7:14simulation, this is the response I
  200. 7:16expected in the top,
  201. 7:17had this sort of dipole pattern
  202. 7:20where you have this side rejection at
  203. 7:22around 300 Hz.
  204. 7:24And we actually point that out. So
  205. 7:26that's kind of represented by these
  206. 7:28blue dips here.
  207. 7:30And then typically with this kind of
  208. 7:33arrangement of drivers with one on
  209. 7:34either side of the enclosure, you get
  210. 7:36the that kind of rearward lobe. So as
  211. 7:38you go back behind the cabinet, that
  212. 7:40energy kind of fills back in.
  213. 7:43And when I actually measured it, I
  214. 7:44didn't get that answer. So that was I
  215. 7:46was very much a puzzling moment of okay,
  216. 7:49well, why did that happen?
  217. 7:51So
  218. 7:53answering the question of why did that
  219. 7:55happen is is actually a little bit more
  220. 7:59involved than than you might think
  221. 8:00sometimes,
  222. 8:01especially if you're relying on methods
  223. 8:04and
  224. 8:05approaches that are available for DIY.
  225. 8:08So, typically for design like this, my
  226. 8:11approach was if something measured not
  227. 8:14in the way I expected it to, if I wanted
  228. 8:16to understand why,
  229. 8:18I could look somewhat in the simulation
  230. 8:19to figure it out, but with the actual
  231. 8:23approach I used for the simulation for
  232. 8:24this design,
  233. 8:26I didn't really have any way to couple
  234. 8:27these models together. So, that pretty
  235. 8:30much meant okay, I got to start breaking
  236. 8:33out the the table saw and and making
  237. 8:35cuts and see what what changes. So,
  238. 8:38with typical kind of what was available
  239. 8:40to me in terms of ground plane and gated
  240. 8:42measurements,
  241. 8:44I could take a a hole saw to the
  242. 8:45cabinet, I could stuff the side force
  243. 8:47with rags, I could move the mics in in
  244. 8:49various positions to kind of try to
  245. 8:51isolate
  246. 8:53what was happening there.
  247. 8:55But ultimately what it comes down to is
  248. 8:59it turned out to be a pretty complex
  249. 9:01interaction between two different
  250. 9:02radiating sources and when you have
  251. 9:05limited resources and tools available to
  252. 9:07actually measure and probe that
  253. 9:10behavior,
  254. 9:12it it kind of creates a little bit of a
  255. 9:14challenge and that's what really
  256. 9:15prompted the
  257. 9:18kind of decision to start digging into
  258. 9:20creating Boundary Lab
  259. 9:22because I don't think it was really a
  260. 9:24good
  261. 9:25design practice to create a design that
  262. 9:28has a favorable effect acoustically that
  263. 9:30I don't didn't really understand.
  264. 9:33So, as far as how you can design a
  265. 9:36software that that does take into this
  266. 9:38kind of coupled physics approach,
  267. 9:42the kind of architecture I settled on
  268. 9:44that I called the physical model is uses
  269. 9:47three different kind of components to
  270. 9:49it.
  271. 9:50So,
  272. 9:52we tie together
  273. 9:54these this first numerical method which
  274. 9:56is BEM which stands for the boundary
  275. 9:58element method and essentially what this
  276. 10:00does is it kind of looks at the exterior
  277. 10:02of the cabinet and how sound behaves in
  278. 10:05terms of scattering and radiation.
  279. 10:07And then we take the uh the finite
  280. 10:10element method or FEM to simulate the
  281. 10:12inside of the cabinet. Um and then both
  282. 10:15of these models are kind of tied
  283. 10:16together by this uh patch here called an
  284. 10:18interface. So
  285. 10:20um that way we can kind of get the same
  286. 10:22answer for two different kind of uh
  287. 10:24representation of of the physics inside
  288. 10:26inside and outside the speaker.
  289. 10:28Um and then lastly you have your uh
  290. 10:31lumped element model for the transducer.
  291. 10:33Um there are more sophisticated ways to
  292. 10:37kind of simulate transducers. Um I kind
  293. 10:39of get into
  294. 10:40the uh the drawbacks and pros and cons
  295. 10:43of that in a later slide.
  296. 10:44Um but for now we can kind of dip just a
  297. 10:47little bit into what we're actually
  298. 10:49doing with with BEM and FEM. Um I won't
  299. 10:52get too deep into the math into in in
  300. 10:54the interest of time and and not getting
  301. 10:56too deep into the weeds, but um
  302. 10:58basically
  303. 11:00uh BEM allows us to discretize
  304. 11:02the exterior of a cabinet. So
  305. 11:05the way we can kind of think of that is
  306. 11:06we have a rigid enclosure
  307. 11:08um and then
  308. 11:10we turn it into a bunch of triangles and
  309. 11:12then we can define a relationship
  310. 11:15between uh every pair of triangles on
  311. 11:19that cabinet. So the way to kind of
  312. 11:21think about that is if I look at um you
  313. 11:24know a a triangle on the front of the
  314. 11:25cabinet here,
  315. 11:26it has an acoustic relationship or it's
  316. 11:29acoustically aware with this triangle
  317. 11:31over here. And we can actually use some
  318. 11:34some cool mathematical formulas to
  319. 11:36define that relationship
  320. 11:38um and how they interact on each other.
  321. 11:40And we can build that for every triangle
  322. 11:43against every other triangle. So that's
  323. 11:45a that kind of a test and trial pair.
  324. 11:47And when we have that kind of um
  325. 11:49relationship built of all these pairs,
  326. 11:52uh we end up with something called a
  327. 11:53dense matrix
  328. 11:55um
  329. 11:55versus uh FEM which has uh is a little
  330. 11:59bit different. So instead of the
  331. 12:00triangles just being kind of flat pizza
  332. 12:02slices, um they're actually
  333. 12:04three-dimensional. So um in this
  334. 12:06instance they're tetrahedra.
  335. 12:08Um and the idea here is that
  336. 12:10um instead of kind of making this
  337. 12:12relationship of of every single one of
  338. 12:14these 3D shapes versus every other in
  339. 12:16the cabinet,
  340. 12:17we only look at its neighboring pairs.
  341. 12:19So, we're able to kind of build these
  342. 12:22formulas out
  343. 12:23for each of these little tetrahedra and
  344. 12:25its neighbors to kind of
  345. 12:27predict how sound's going to propagate
  346. 12:29through that through that medium.
  347. 12:31The cool thing about these kind of two
  348. 12:33methods, even though they're very
  349. 12:34different in how they're structured, BEM
  350. 12:37being a dense matrix, FEM being a sparse
  351. 12:39matrix,
  352. 12:41they kind of work on this this shared
  353. 12:43physics model, which is the linear time
  354. 12:46harmonic acoustics and homogeneous
  355. 12:47fluid, or it's just the the Helmholtz
  356. 12:49equation. So,
  357. 12:51even though we've kind of discretized
  358. 12:54the two different
  359. 12:56domains in very different ways,
  360. 12:59we can still connect them together at
  361. 13:01this interface. So, in this example
  362. 13:03here, we have just a basic
  363. 13:05ported box, and we have this port circle
  364. 13:08here on the BEM model, we have it on the
  365. 13:11FEM model.
  366. 13:13And we can actually calculate the same
  367. 13:15kind of pressures and velocities across
  368. 13:17this interface,
  369. 13:19and then kind of
  370. 13:21when the
  371. 13:22interior and exterior agree on the same
  372. 13:24solution, we can consider that system
  373. 13:26solved. So, that's kind of like how
  374. 13:28those two models get coupled together.
  375. 13:31And then the last part is kind of this
  376. 13:33lumped transducer model.
  377. 13:36It's really not too complicated, but the
  378. 13:39basic idea, and this is a pretty
  379. 13:40[snorts] well-established model,
  380. 13:43is that you can take kind of a
  381. 13:45a simplified moving coil model
  382. 13:49where you have like an electrical domain
  383. 13:52where you would apply voltage from like
  384. 13:54a imaginary like
  385. 13:56perfect amplifier
  386. 13:58which feeds force or BL into a
  387. 14:01mechanical domain.
  388. 14:03And then that in turn feeds the velocity
  389. 14:06into the acoustic domain.
  390. 14:08Now, one really cool thing about this is
  391. 14:11we can actually connect this domain
  392. 14:13directly to our FEM or BEM meshes.
  393. 14:17Um, so these kind of screenshots here
  394. 14:18show show a couple
  395. 14:20designs and boundary labs. So, these
  396. 14:22blue surfaces here are the are the
  397. 14:24driver cones.
  398. 14:25And um we can basically just connect our
  399. 14:28lumped element models to the actual
  400. 14:30triangles on these cones
  401. 14:32um to kind of put the velocity across
  402. 14:35all those elements.
  403. 14:36Um, and the cool thing about this model
  404. 14:38is it can be it can work
  405. 14:40bidirectionally. So, we can use voltage
  406. 14:42to drive the velocity of these of these
  407. 14:45these elements. Um, but then we can
  408. 14:47actually feed back the uh acoustic
  409. 14:50reaction force through the system the
  410. 14:51other way. So, the way that works is,
  411. 14:54you know, say we have like uh like a
  412. 14:56driver operating in free air, um we can
  413. 14:58do we can model some uh like a BEM horn
  414. 15:01around it
  415. 15:03and then um
  416. 15:04kind of predict the the impedance or
  417. 15:06load that places on that transducer and
  418. 15:08feed that back through the system. Um,
  419. 15:11and that can kind of even go back to the
  420. 15:12electrical domain as as back EMF.
  421. 15:15Um, so as far as, you know, this is
  422. 15:18being a pretty simplified model, um
  423. 15:21where does it kind of fall apart?
  424. 15:23Well, uh you have to kind of make a
  425. 15:24trade-off, um I found with uh your model
  426. 15:28fidelity and the speed and and
  427. 15:29complexity. So,
  428. 15:32um as far as predicting what a
  429. 15:34transducer does, especially when the
  430. 15:36physics become a little nonlinear, um
  431. 15:39gets very complicated fast. So, um I
  432. 15:42found that a linear model was a way to
  433. 15:45kind of keep it simple enough so that uh
  434. 15:49a DIYer could both understand it. Um,
  435. 15:51and they weren't going to spend, you
  436. 15:53know, all this time setting up uh a
  437. 15:55multi-physics model um where they're
  438. 15:57actually you know predicting things like
  439. 15:59the magnetic flux or or heat dissipation
  440. 16:02or suspension nonlinearity.
  441. 16:04Um,
  442. 16:05but a few different ways where this kind
  443. 16:07of
  444. 16:08linear model can fall apart. Um,
  445. 16:10one is kind of in predicting ports and
  446. 16:13and resonators um
  447. 16:15where as you increase the input drive
  448. 16:19um on a system um you're
  449. 16:22uh you need more air velocity through
  450. 16:23your ports um and as that air velocity
  451. 16:26starts to increase uh you start to get
  452. 16:29port turbulence with shear and vertical
  453. 16:31motion especially around um corners
  454. 16:34and that's something where it's possible
  455. 16:37to predict there are numerical methods
  456. 16:39um like CFD that that let you do that um
  457. 16:42but the model setup is is considerably
  458. 16:44more expensive in terms of that um and
  459. 16:46then structural FEM so you can predict
  460. 16:49how like the enclosure might vibrate or
  461. 16:51flex in in certain uh regions um you can
  462. 16:55predict how like diaphragms might break
  463. 16:57up on compression drivers but again
  464. 16:59that's kind of um a different layer of
  465. 17:02the physics that I found was
  466. 17:06um really not necessary for what this
  467. 17:08tool was intended for um that's kind of
  468. 17:11a
  469. 17:12more approachable way to to do this type
  470. 17:15of modeling.
  471. 17:17Um so yeah at this point I'll kind of
  472. 17:19dim uh dip into the demo um which let's
  473. 17:22hope it works today um but yeah we'll be
  474. 17:25kind of like looking at the the Saw Mod
  475. 17:27speaker inside Boundary Lab
  476. 17:30um
  477. 17:31so a little bit about what we're looking
  478. 17:33at here so this is the um model as it
  479. 17:36sits in the tool.
  480. 17:38So right now what we're looking at is
  481. 17:39the exterior of the cabinet um with the
  482. 17:42interfaces in green so these kind of
  483. 17:45gray triangles here are just the the
  484. 17:47rigid uh outsides of the box and then
  485. 17:50these green patches are kind of the you
  486. 17:54can think of them as like the window
  487. 17:55into the interior FEM regions um and if
  488. 17:59I actually
  489. 18:01um hide the exterior you can see what's
  490. 18:03modeled in the in these interior FEM
  491. 18:05regions so it's kind of a reduced model
  492. 18:07of it um we don't have this sealed uh
  493. 18:10chamber in the in the middle here um but
  494. 18:12the low frequency drivers occupy uh
  495. 18:14we're just using like a reduced lumped
  496. 18:17element model for that
  497. 18:19but we have these um
  498. 18:21excuse me, side slots here um that the
  499. 18:23tens occupy. So these have a some
  500. 18:25behavior that we want
  501. 18:26to diamond understand.
  502. 18:27And then we have this um central kind of
  503. 18:30wave guide module here that has our two
  504. 18:32mid-range drivers
  505. 18:33and uh and our compression driver.
  506. 18:36So when I hit solve um right now I have
  507. 18:39it set to run 20 to 20,000 Hz which is
  508. 18:42probably a bit ambitious for this mesh
  509. 18:44resolution. But um as I click that it's
  510. 18:48going to run through 200 different
  511. 18:49frequencies um between that range
  512. 18:52and kind of predict the response of the
  513. 18:54system.
  514. 18:55Now currently I have like some crossover
  515. 18:57filters simulated so it's going to give
  516. 18:59me the the full polars
  517. 19:01um and we can kind of check to see how
  518. 19:03that stacks up against the measurements.
  519. 19:06So
  520. 19:07it's almost there.
  521. 19:12And
  522. 19:16let's see.
  523. 19:18Here we go. Um so yeah these two plots
  524. 19:20is kind of showing right away are just
  525. 19:22the the horizontal and and vertical
  526. 19:24polars. Um if I actually go ahead and
  527. 19:26pull up the measurement for the
  528. 19:28horizontal um we can see that there's
  529. 19:31some discrepancy um just because you
  530. 19:34know this is a kind of a reduced
  531. 19:36complexity model. There's always little
  532. 19:38details that you can improve and get
  533. 19:40right but the overall kind of shape and
  534. 19:42especially what we're interested in to
  535. 19:44make like well informed decisions about
  536. 19:46the design is there.
  537. 19:47Um there are some features that that
  538. 19:49we're kind of correctly predicting in
  539. 19:51the model which we would want to see um
  540. 19:53like this kind of flare out at 700 Hz
  541. 19:56um where it's predicting that as well.
  542. 19:58But the kind of main feature that I want
  543. 20:00to focus on
  544. 20:01is this um side and rear rejection. So
  545. 20:05this is something where the model is
  546. 20:07actually predicting here um how that
  547. 20:10kind of that pattern for the dipole is
  548. 20:13actually providing us a little bit of
  549. 20:14rear rejection um which is exactly what
  550. 20:17we do want to see because that's the
  551. 20:18that's the thing that are are kind of
  552. 20:20disjointed separate models didn't give
  553. 20:22us.
  554. 20:23Um and then we can check the the
  555. 20:24vertical as well.
  556. 20:25Um,
  557. 20:26which is I think a little bit closer
  558. 20:28even. Um, with my vertical measurement,
  559. 20:30it was not in an ideal environment, so
  560. 20:33some of the off-axis angles got a little
  561. 20:34noisy. But, um, you know, again, it kind
  562. 20:37of comes down to does this give me an
  563. 20:39enough confidence that I can make an
  564. 20:41actionable decision off of this design?
  565. 20:43And in this case, I think that that
  566. 20:44answer is probably yeah.
  567. 20:47Um, but yeah, like as far as kind of
  568. 20:49investigating what that what that um
  569. 20:52kind of rear rejection mechanism looks
  570. 20:54like. Um,
  571. 20:56first off, obviously we can see it in
  572. 20:58the polar here, so that's kind of like
  573. 20:59the evidence in the far field that that
  574. 21:01we are getting that effect. Um, but we
  575. 21:03can use this thing called an observation
  576. 21:05plane, which is what's in view here to
  577. 21:07actually kind of visualize it and see
  578. 21:09what what's happening there.
  579. 21:11Um, so right now I'm kind of showing
  580. 21:13just uh just like this map of SPL that
  581. 21:16slices through the cabinet.
  582. 21:18Um, so we can see at any given frequency
  583. 21:21what that looks like.
  584. 21:22So I'm going to go ahead and kind of
  585. 21:24roll up to
  586. 21:25uh near the crossover region.
  587. 21:27And what we can see is on this kind of
  588. 21:30heat map here uh
  589. 21:32the there is more energy concentrated
  590. 21:34around the front of the cabinet
  591. 21:35projecting forward. And then we have
  592. 21:37this kind of cancellation developing
  593. 21:39behind the cabinet.
  594. 21:40And you can actually see a little bit
  595. 21:42too as I change frequency
  596. 21:44how that kind of develops um in regards
  597. 21:47to frequency.
  598. 21:48And
  599. 21:50um another way to kind of look at this
  600. 21:52is uh using the pressure maps. So with
  601. 21:55this, we can show uh real or imaginary
  602. 21:58pressure kind of on this plane.
  603. 22:01Um, and we can actually animate that
  604. 22:02through a full cycle
  605. 22:04to
  606. 22:05get an idea of how the sound pressure
  607. 22:08field looks around the cabinet.
  608. 22:09Now, one caveat with this view um it
  609. 22:13might look like kind of at a at a glance
  610. 22:15you're looking at how
  611. 22:17sound is uh propagating over time. And
  612. 22:20while that's sort of the case, what it's
  613. 22:22really doing is just rotating the fit
  614. 22:24acoustic the phase through one cycle. So
  615. 22:27um time domain kind of BEM is is a
  616. 22:29little bit different. Um we're we're
  617. 22:31using frequency domain BEM here. So it's
  618. 22:33kind of solving the the system as it
  619. 22:37kind of settles instead of just actually
  620. 22:39predicting like sound is traveling out
  621. 22:41and then bouncing.
  622. 22:43Um but yeah we can see uh right now if
  623. 22:45we go to actually I'm going to go back
  624. 22:48to the SPL view here. Um right now we're
  625. 22:51looking at the system response. So that
  626. 22:53is like the mids, the lows, the highs,
  627. 22:55everything playing at the crossover.
  628. 22:57Um if I only go to just the mids um we
  629. 23:01can see how that that changes the
  630. 23:03pattern. So
  631. 23:05if I'm only playing the mids which are
  632. 23:06here um we don't really see that that
  633. 23:09projection pattern developing back here.
  634. 23:12Um
  635. 23:13and similarly if we go only show the
  636. 23:16response of the lows um we can see a
  637. 23:18little bit of a pattern but it's not as
  638. 23:21extreme as if we combine the response
  639. 23:23and get this kind of um rear rejection
  640. 23:26pattern here.
  641. 23:27Uh so yeah kind of going back to the the
  642. 23:29pressure view um it's a different way to
  643. 23:32kind of kind of examine that feature. So
  644. 23:34I'm going to start by just looking at
  645. 23:35the um pressure cycle for for the lows
  646. 23:40so we can kind of see how that um
  647. 23:43rear inside pattern is developing there
  648. 23:45um as well as the the forward forward
  649. 23:48lobe as well.
  650. 23:49And then we can do the same for the
  651. 23:50mids.
  652. 23:54And then we can do the same for the
  653. 23:55system response. So the main thing to
  654. 23:58note with the system response is just
  655. 24:00the
  656. 24:01ratio of forward energy to rear energy
  657. 24:03is greater with the combined system um
  658. 24:06because of this kind of interaction that
  659. 24:08these mids are having with these lows
  660. 24:10here to create that um pressure field
  661. 24:12behind the cabinet.
  662. 24:14Um another way that we can kind of use
  663. 24:16this to audit a system um
  664. 24:20is kind of looking at different features
  665. 24:22in the design. So
  666. 24:25I'm going to go ahead and turn off my
  667. 24:27crossover filters
  668. 24:30which is going to look messy for a
  669. 24:31second.
  670. 24:34And we're going to look at the on-axis
  671. 24:37uh response prediction for each set of
  672. 24:39drivers.
  673. 24:40So we're going to focus more on the the
  674. 24:42highs here. So we're using just a very
  675. 24:45basic model of a compression driver. So
  676. 24:47um we're not really getting a
  677. 24:49particularly accurate response,
  678. 24:50especially above 8K, but I want to kind
  679. 24:53of focus on one resonant feature of this
  680. 24:55design, which is this dip right here at
  681. 24:57at around 3.5 K.
  682. 25:00Um
  683. 25:01there's been uh a little bit of research
  684. 25:04in the DIY
  685. 25:05I say research a lot of trial and error
  686. 25:07in the DIY space to figure out why
  687. 25:09multiple entry horns can have these dips
  688. 25:10here.
  689. 25:11Um but ultimately what it came down to
  690. 25:13is um this is the uh wavefront from the
  691. 25:17high frequency compression driver
  692. 25:18exciting the the chambers and the kind
  693. 25:21of uh throat passage that the the mids
  694. 25:23occupy. Um so if I want to actually see
  695. 25:27the um how that mechanism actually
  696. 25:30works, we can take this observation
  697. 25:32plane
  698. 25:33and we can kind of scale it down to
  699. 25:36where we want to look at a little bit
  700. 25:38closer.
  701. 25:41And I'm going to change it to just look
  702. 25:43at the high frequency channel.
  703. 25:45I'm going to increase the
  704. 25:48uh excuse me resolution of the plane to
  705. 25:51kind of get a little bit more of a finer
  706. 25:53view.
  707. 25:54Um and then we're going to kind of
  708. 25:55scroll over to
  709. 25:573.5 K.
  710. 26:00So right now we're looking at SPL.
  711. 26:02Doesn't really show us a whole lot of
  712. 26:03anything useful here. Um what I'm going
  713. 26:06to check now is the pressure.
  714. 26:09Um so we'll kind of look at the one
  715. 26:11acoustic cycle here.
  716. 26:13And I'm going to change the scale so
  717. 26:15it's a little bit easier to see. Um but
  718. 26:17we can actually see as this wavefront
  719. 26:20leaves the compression driver source, it
  720. 26:22is exciting these modes um along these
  721. 26:26kind of side branch chambers here um
  722. 26:28which will actually have an effect on
  723. 26:30the the directivity as it's uh
  724. 26:32creating a less than ideal propagation.
  725. 26:36The other kind of way I like to look at
  726. 26:38this stuff,
  727. 26:39especially is one thing you'll notice if
  728. 26:41you look at the just the pressure field
  729. 26:43alone, is I can go to different
  730. 26:44frequencies and I can kind of see that
  731. 26:46effect to varying degrees,
  732. 26:49but it might not have quite a dramatic
  733. 26:51effect in the far field. It's really
  734. 26:53kind of hard to nail down
  735. 26:56exactly what we're looking at here at
  736. 26:573.5 K. So one view I like to use is
  737. 27:00something called
  738. 27:02acoustic flow arrows, which is really
  739. 27:04just showing the
  740. 27:06intensity,
  741. 27:07acoustic intensity vectors across this
  742. 27:10plane. So it's kind of showing us two
  743. 27:12parts. We have
  744. 27:13a real acoustic flow that we can view as
  745. 27:15kind of arrows, and then we have an
  746. 27:17imaginary or reactive flow that we can
  747. 27:19also view as arrows. So one thing if I
  748. 27:22kind of switch to imaginary, it's a
  749. 27:24really good way to to look for where
  750. 27:26there might be standing waves. So if I
  751. 27:28sweep through the frequency range here,
  752. 27:30we can see that there's not a lot
  753. 27:31happening up to 2 K, 3 K.
  754. 27:35Let me change that to interior.
  755. 27:39And right around there, if I look at 3.5
  756. 27:43K, we can see these kind of side
  757. 27:45branches light up a bit.
  758. 27:47And if I sweep through, you know, from
  759. 27:49the low all the way up to the top end of
  760. 27:51the response, we don't really see that
  761. 27:54light up until it's right there at 3.5
  762. 27:56K. So it really helps us isolate
  763. 27:59something that we're looking at in the
  764. 28:01far field that we kind of see evidence
  765. 28:02of, and we want to understand what
  766. 28:04geometry is causing it. So in here we
  767. 28:06can kind of see how these acoustic flow
  768. 28:09or the imaginary component is has these
  769. 28:11arrows that diverge
  770. 28:14kind of here around these branches,
  771. 28:16which tells us that there's probably
  772. 28:18some kind of standing wave effect here.
  773. 28:20And the other kind of part of this is
  774. 28:22just to confirm it's probably real, we
  775. 28:24can look at the
  776. 28:26the real component,
  777. 28:28and we can see that there's very little
  778. 28:29real acoustic flow through these side
  779. 28:31branches at that frequency. So by
  780. 28:33flipping back and we can kind of like
  781. 28:34inform a decision on maybe there is like
  782. 28:37a standing wave there that we could
  783. 28:38investigate with the geometry.
  784. 28:41And one of the cool things about
  785. 28:42Boundary Lab that is you can kind of use
  786. 28:45it as a tool to rapidly iterate. So, if
  787. 28:48I want to go over
  788. 28:50here to the model that is feeding um
  789. 28:53this in my CAD tool,
  790. 28:55um this is what this looks like. So, um
  791. 28:58we model in kind of quarter symmetry.
  792. 29:01Um it's a way for us to save a little
  793. 29:03bit of computational power, but
  794. 29:04essentially it's just um mirrored out on
  795. 29:07on the X and Y plane so what to send
  796. 29:09Boundary Lab. Um but we can actually
  797. 29:11look at
  798. 29:12our kind of volume here that we've
  799. 29:14modeled for the throat. And then say we
  800. 29:17wanted to
  801. 29:18see what an obstruction would look like
  802. 29:20if we modeled it in the um
  803. 29:22in this side branch. So, we can kind of
  804. 29:24go here
  805. 29:26and we can insert a
  806. 29:30Let's see if that works.
  807. 29:35Here we go. Um so we've kind of added
  808. 29:37this just um spherical obstruction in
  809. 29:40the throat um just to see what effect
  810. 29:42that would have.
  811. 29:43And then I can go ahead and export this
  812. 29:47really quick.
  813. 29:50And as soon as that's done, we'll flip
  814. 29:53back into Boundary Lab and then it
  815. 29:55should pick up the new mesh.
  816. 29:57And then we'll go ahead and solve again.
  817. 30:01And give it about 30 seconds.
  818. 30:04And as soon as it finishes the solve,
  819. 30:06we'll be able to kind of look inside in
  820. 30:07that plane and and see what effect it
  821. 30:09had.
  822. 30:11Um but the first thing we'll kind of
  823. 30:12look at here
  824. 30:13is this um just kind of far-field uh
  825. 30:16on-axis frequency response.
  826. 30:18Uh as it fills in, we can start to see
  827. 30:21that that dip at 3.5 K uh is not
  828. 30:24entirely gone, but it has lessened uh
  829. 30:27quite a bit.
  830. 30:28And once it finishes solving,
  831. 30:33yeah, um we can kind of look at the
  832. 30:35before and then after. And I realized
  833. 30:38now that the before had the crossover
  834. 30:40filters, so we can ignore how the slopes
  835. 30:42change. But this feature right here is
  836. 30:44mainly the main focus where we can see
  837. 30:46how that dip has gone from pretty sharp
  838. 30:48to less.
  839. 30:50And
  840. 30:51obviously there's a lot of things that
  841. 30:53can happen when you when you insert an
  842. 30:55obstruction in a port, but so this is
  843. 30:57mainly just an illustration to show how
  844. 31:00something in that changes the geometry
  845. 31:03can kind of change
  846. 31:04the response and kind of change how that
  847. 31:07mode
  848. 31:09or standing wave
  849. 31:10behaves in in this throat area here. And
  850. 31:12we can actually go ahead and
  851. 31:15change this to
  852. 31:17pressure yeah, where you can actually
  853. 31:18see
  854. 31:19that a little bit better.
  855. 31:21But yeah, it's kind of just changed how
  856. 31:23that wave front is propagating through
  857. 31:25the wave guide just because the
  858. 31:28entrance into this
  859. 31:30side branches here has has kind of
  860. 31:32changed. That's the compression driver
  861. 31:33wave front sees a different impedance.
  862. 31:37And I'm not going to I'm not going to go
  863. 31:38ahead and say it's better or worse, but
  864. 31:40we can kind of observe a change in the
  865. 31:42system and then kind of compare that
  866. 31:44back and forth.
  867. 31:46So
  868. 31:47as far as kind of how to digest and
  869. 31:51interpret that, one thing I found that's
  870. 31:53really kind of helpful is to kind of
  871. 31:55think of it as building a mental model.
  872. 31:58So
  873. 31:59as I kind of build designs, I've found
  874. 32:02that you kind of settle into this loop
  875. 32:04of you form a hypothesis of maybe you
  876. 32:08want to change the chamber geometry,
  877. 32:09maybe you want to like change the way a
  878. 32:11horn shape looks or
  879. 32:14how your port
  880. 32:15is is constructed.
  881. 32:17Then you manipulate that geometry and
  882. 32:20you observe the effects, try to figure
  883. 32:22out what changed, why it changed,
  884. 32:24and then kind of repeat that loop. So as
  885. 32:27you repeat this loop, you start to kind
  886. 32:29of put together this
  887. 32:32kind of internal model of the system
  888. 32:34that you're optimizing. So as you change
  889. 32:36your geometries, as you tweak parameters
  890. 32:38and you watch the data,
  891. 32:40um you start to kind of perceive these
  892. 32:41relationships between these variables.
  893. 32:44Um it's very similar to kind in
  894. 32:45Horn-Resp, as you as you move a slider,
  895. 32:47you can kind of see the effects and um
  896. 32:49you can kind of start to even
  897. 32:51subconsciously build that that
  898. 32:53uh that model of the system. Um
  899. 32:56the cool part about this is
  900. 32:58um if you're using a a physical design
  901. 33:00workflow, this this loop can take often
  902. 33:02pretty long
  903. 33:03um because you're going from creating an
  904. 33:05idea, actually cutting the design,
  905. 33:08assembling it, measuring it, and then
  906. 33:10observing those effects before you can
  907. 33:12repeat that loop. So that cycle can be,
  908. 33:14you know, days, weeks sometimes. Um
  909. 33:17versus what what I want really want to
  910. 33:18do with Boundary Lab was collapse that
  911. 33:20cycle down to just a few seconds.
  912. 33:22Um and this kind of helps us understand
  913. 33:24a system better through observation. So
  914. 33:27um kind of one of the the main things
  915. 33:30that's really helpful to think about,
  916. 33:31I've found, is
  917. 33:33um when you're kind of looking at this
  918. 33:35systems level approach with with all
  919. 33:37these components interacting to create
  920. 33:38this combined um
  921. 33:41response, um the idea is that you can
  922. 33:44interrogate different parts of it to
  923. 33:45build a story of what's happening. So if
  924. 33:47I see an anomaly in the response, um
  925. 33:50let's say I see it in the far field, um
  926. 33:52the idea with Boundary Lab is that um I
  927. 33:54can kind of look at that from different
  928. 33:56perspectives in the physics to
  929. 33:58understand exactly what's happening and
  930. 34:00form a better idea of um you know, is it
  931. 34:03is it a mode that's happening? Is it
  932. 34:05cancellation? Um and then really feel
  933. 34:08good that I've I've formed a
  934. 34:10um a good good understanding of of how
  935. 34:12the problem might have occurred and then
  936. 34:14of course how to address it in the end.
  937. 34:16Um
  938. 34:17and that kind of goes into the role of
  939. 34:19responsive simulations. So um when I
  940. 34:23kind of started doing loudspeaker
  941. 34:24design, um it was a very slow process,
  942. 34:27um especially with the tools available.
  943. 34:29Um so I had to make changes with my
  944. 34:31designs as very deliberately. Um you
  945. 34:34know, because if I wanted to change um
  946. 34:37the geometry of a box, then oftentimes
  947. 34:39that would come down to actually having
  948. 34:41to cut and assemble the box.
  949. 34:43Um so I had to be very kind of
  950. 34:45conservative with those changes.
  951. 34:46Um whereas with Boundary Lab I can be a
  952. 34:48lot more kind of experimental um and
  953. 34:51maybe less constrained just because I
  954. 34:53can get an answer in a few seconds
  955. 34:54rather than having to spend the time and
  956. 34:56money to wait to get an answer. Yeah,
  957. 34:58this is kind of uh an example of of what
  958. 35:01a responsive kind of interaction would
  959. 35:03look like um using one of the plugins in
  960. 35:05Boundary Lab. So this is just a basic
  961. 35:07horn generator where you can kind of
  962. 35:08change these sliders that manipulate the
  963. 35:11geometry and then as soon as you release
  964. 35:13the slider it it kicks off a BEM solve
  965. 35:16and predicts what the the
  966. 35:18the directivity looks like.
  967. 35:20Um and again that kind of goes back to
  968. 35:22as you manipulate these sliders you're
  969. 35:25kind of understanding what variables
  970. 35:27they change, you're watching the
  971. 35:28geometry change and then you're seeing
  972. 35:30how that affects um the actual
  973. 35:33directivity of the system.
  974. 35:34Um
  975. 35:35and of course looking at this you kind
  976. 35:39of the natural segue is all right this
  977. 35:41is very much the um monkey on the
  978. 35:43typewriter approach to optimization
  979. 35:46um where
  980. 35:48you might get a good result based on you
  981. 35:50know some level of understanding or
  982. 35:53expertise um and some you might get a
  983. 35:55result because you're lucky. Um the kind
  984. 35:58of natural segue out of that is of
  985. 36:00course getting into automated
  986. 36:02optimization
  987. 36:03um which unfortunately I don't have a
  988. 36:05ton of time to cover today but um that's
  989. 36:08kind of one of the the the foundations
  990. 36:10that Boundary Lab has kind of allowed
  991. 36:11for is now that you have this um fairly
  992. 36:14fast way to iterate on geometry and and
  993. 36:16predict its behavior. Um we can actually
  994. 36:19just go ahead and automate that whole
  995. 36:20process and instead of me clicking and
  996. 36:23dragging a slider it's a computer um
  997. 36:25dragging that slider a little bit more
  998. 36:26intelligently.
  999. 36:29Um
  1000. 36:30yeah and at that this point that kind of
  1001. 36:32ends the presentation so I will switch
  1002. 36:35it over to Q and A.
  1003. 36:42>> Uh just just before we move on to open Q
  1004. 36:44and A John I was just wondering if you
  1005. 36:45could elaborate briefly on on some of
  1006. 36:47the the role that other open source
  1007. 36:50resources have played in this because I
  1008. 36:52mean, for those of you who either
  1009. 36:54unfamiliar with what John's showing or
  1010. 36:56have come from the research sphere, I
  1011. 36:58mean, you get these sort of plots in
  1012. 37:00commercial software, but you can be
  1013. 37:02expecting to pay tens of thousands of
  1014. 37:04pounds for most of that sort of stuff.
  1015. 37:05And and frankly, your solve times are as
  1016. 37:08quick as anything I've frankly seen in
  1017. 37:09anything. So, you know, there's there's
  1018. 37:11some really impressive
  1019. 37:13deployment and and packaging into the
  1020. 37:15GUI and and the workflows and the solve
  1021. 37:17times are say are really impressive. You
  1022. 37:19know, the idea of moving a fader and a
  1023. 37:20and a BEM simulation update is is pretty
  1024. 37:23much almost unheard of. I mean, I'm
  1025. 37:25still running ones on on one of our
  1026. 37:26workstations downstairs that will sit
  1027. 37:28there and churn away for several hours
  1028. 37:30before doing what what's happening
  1029. 37:32there. So,
  1030. 37:33I don't if you want to just comment on
  1031. 37:35I mean, I
  1032. 37:36I'd like to hear about how some of the
  1033. 37:38because I know you have leveraged
  1034. 37:40some open source things in the past. I
  1035. 37:42think you've now moved to an sort of
  1036. 37:43core solver that you've written, but
  1037. 37:45you're still using good mesh, I think,
  1038. 37:46for meshing. Um
  1039. 37:48and it just be interested how those
  1040. 37:49platforms have have have helped or how
  1041. 37:51they're still being used or anything
  1042. 37:53because there's a lot of
  1043. 37:54>> Well,
  1044. 37:55yeah. I mean, I think it'd be fair to
  1045. 37:56say that this wouldn't be possible if it
  1046. 37:58weren't for open source software. I'm
  1047. 38:00I'm a big proponent of of free open
  1048. 38:02source software. So, when I started
  1049. 38:04building Boundary Lab,
  1050. 38:06I really
  1051. 38:08had to pick up the the numerical methods
  1052. 38:11like BEM, and I was using BEMPP, which
  1053. 38:14is one of those open source libraries.
  1054. 38:16And that really gave me a strong footing
  1055. 38:18like kind of working with that library
  1056. 38:20and kind of implementing that code to
  1057. 38:22give me
  1058. 38:23a good foundation for kind of writing my
  1059. 38:25own solver.
  1060. 38:27And then kind of from the community
  1061. 38:29side, at least on on DIY audio, which is
  1062. 38:32where a lot of this kind of work lives,
  1063. 38:34I've had, you know, different individual
  1064. 38:36contributors and people who are
  1065. 38:38more familiar with various aspects of it
  1066. 38:40kind of contribute to this project. One
  1067. 38:42example is
  1068. 38:44somebody put a lot of time and effort
  1069. 38:47into kind of porting the solver over to
  1070. 38:49Apple metal. So if you have like a Mac,
  1071. 38:52you can use the GPUs on board to solve
  1072. 38:55these just as quick as you can with like
  1073. 38:57a a desktop GPU, which which I think is
  1074. 38:59pretty cool.
  1075. 39:00It's pretty neat to see like a a little
  1076. 39:02laptop run these simulations pretty
  1077. 39:04quickly.
  1078. 39:05But yeah, I mean open source has been
  1079. 39:07been a core part of it and I definitely
  1080. 39:08see that continuing to be the case.
  1081. 39:11>> Cool. Thank you very much.
  1082. 39:13Hi John. Thank you so much. That was
  1083. 39:14fascinating.
  1084. 39:16I wanted to just ask if you could
  1085. 39:17elaborate a tiny bit further on the
  1086. 39:20automated iterative processing,
  1087. 39:21automated design
  1088. 39:23that you worked on. This is built into
  1089. 39:24Boundary Lab.
  1090. 39:25It's all of your
  1091. 39:27>> Um
  1092. 39:27>> variants and Solana variants and what
  1093. 39:29not those are
  1094. 39:31>> Yeah, so the
  1095. 39:34um that's a good question.
  1096. 39:35So I kind of
  1097. 39:38when when I was optimizing the Solana,
  1098. 39:39it did use the underlying solver, like
  1099. 39:42the the kind of back end.
  1100. 39:44But Boundary Lab is more of like a GUI
  1101. 39:45for kind of
  1102. 39:47I guess human driven design workflows.
  1103. 39:50So I didn't actually build it in
  1104. 39:51Boundary Lab.
  1105. 39:52You can build it into plugins, which
  1106. 39:55I've experimented with a bit.
  1107. 39:57But that's kind of
  1108. 39:59the idea with with the optimization is
  1109. 40:00it's
  1110. 40:02more something that's meant to be
  1111. 40:03deployed on like a like a compute node,
  1112. 40:06which I am working to release kind of
  1113. 40:08that code.
  1114. 40:10But basically the idea
  1115. 40:12is that
  1116. 40:13you can use like an evolutionary
  1117. 40:15algorithm, like a like a genetic
  1118. 40:16algorithm or other various types of
  1119. 40:19optimization to
  1120. 40:22kind of change those variables and and
  1121. 40:24iterate.
  1122. 40:25So the the idea is like rather than kind
  1123. 40:26of doing that directly in Boundary Lab
  1124. 40:28where the computer has to render all the
  1125. 40:30GUI, it has to kind of keep this
  1126. 40:32application going,
  1127. 40:33you can make it run much much faster
  1128. 40:37if it's just command line only. So just
  1129. 40:39to give an idea like with the like the
  1130. 40:42latest solver code,
  1131. 40:44if it's just relatively simple geometry
  1132. 40:46like I think like the one in the video,
  1133. 40:48Um, on even just my desktop, I'm able to
  1134. 40:51do about 40,000 iterations a day, which
  1135. 40:53is pretty great throughput because the
  1136. 40:55the more
  1137. 40:57um
  1138. 40:58I guess the the more accelerated you can
  1139. 40:59make the solver, the more that allows
  1140. 41:01you to kind of expand your your um
  1141. 41:04I guess fences that that kind of define
  1142. 41:06your search space. Um, so let's you
  1143. 41:08explore more kind of exotic geometry,
  1144. 41:10maybe um try to add more complex
  1145. 41:13simulations where you're not just
  1146. 41:14simulating one component, but maybe
  1147. 41:15you're actually optimizing two together.
  1148. 41:18Um, so it really does kind of let you uh
  1149. 41:20expand that search space out.
  1150. 41:22>> It's fantastic. I mean, it's like you're
  1151. 41:25you're creating a robotic Robert Lang.
  1152. 41:26It's glorious. I think that it's the
  1153. 41:28future of uh
  1154. 41:30of any enclosure design. So thank you.
  1155. 41:32Appreciate it.
  1156. 41:34>> I'll just I'll just add that I found it
  1157. 41:35quite a nice quote in a in a thesis from
  1158. 41:37a uh
  1159. 41:38So I I won't name them, but the CTO of a
  1160. 41:40certain audio company that makes a
  1161. 41:42remark about um optimization speed and
  1162. 41:45and that even if you're doing the kind
  1163. 41:47of manual sort of monkey controls, the
  1164. 41:49optimization approach you're doing
  1165. 41:50yourself, if it's taking you
  1166. 41:53half a day to wait for that simulation,
  1167. 41:55you can't even remember what you're
  1168. 41:56doing. Like it's um There's just a kind
  1169. 41:59Even if you're not automating it makes a
  1170. 42:00massive massive difference.
  1171. 42:02>> Yep.
  1172. 42:03>> Um
  1173. 42:03Benny, who's one of our technicians uh
  1174. 42:06here has just
  1175. 42:07uh asked have you tried simulating
  1176. 42:08acoustic lenses like high freaky fins or
  1177. 42:11multi-cell horns?
  1178. 42:14>> Uh yes. Um I'd pull up I'd pull up one
  1179. 42:17of those projects if I if I could
  1180. 42:19remember where I saved it. Uh yeah, I
  1181. 42:20did a I did one that was a fun little
  1182. 42:22exercise on um on like a JBL acoustic
  1183. 42:25lens. Um
  1184. 42:27Let me see if actually
  1185. 42:29probably
  1186. 42:30this would be a little bit better than
  1187. 42:31explaining it. Um one of these devices.
  1188. 42:33So the idea with this is to kind of um
  1189. 42:37create this uh varying path links from
  1190. 42:39your the mouth of your horn um that kind
  1191. 42:42of in in effect bend the wave guide to
  1192. 42:44to give it a wider directivity. Um but
  1193. 42:46yeah, I've uh I've simulated that and it
  1194. 42:48works quite well. Um it's probably good
  1195. 42:50to mention that
  1196. 42:52as you do start simulating high
  1197. 42:54frequency devices, it wasn't a huge
  1198. 42:56factor with this, but with certain
  1199. 42:58compression drivers,
  1200. 43:00you have to start incorporating
  1201. 43:02thermoviscous boundary losses,
  1202. 43:04which is was a fun exercise in its own
  1203. 43:07right. But yeah, I found that this kind
  1204. 43:09of
  1205. 43:10reduced complexity model to account for
  1206. 43:13that got me
  1207. 43:14enough accuracy to be to be happy enough
  1208. 43:17for a DIY tool.
  1209. 43:23>> Hi there. Thank you so much for putting
  1210. 43:24this this talk on. It's been really
  1211. 43:26really interesting and really valuable.
  1212. 43:29And I just think the software is
  1213. 43:30incredible. I was going to ask John,
  1214. 43:32have you used boundary lab to optimize
  1215. 43:36like wave wave
  1216. 43:38wavefront shaping devices for like line
  1217. 43:40arrays like let's say a DOS style
  1218. 43:42parallel line style or
  1219. 43:44multi multi track style
  1220. 43:47like high frequency wave shaping
  1221. 43:48devices. Cuz I think the the boundary
  1222. 43:51using those boundaries to separate
  1223. 43:53between
  1224. 43:54the actual wave guide providing you know
  1225. 43:56a lot of the directivity and
  1226. 44:00you know let's say the DOS which
  1227. 44:02controls the wave shape. I feel like
  1228. 44:03this could be a really really valuable
  1229. 44:05tool especially for the DIY community
  1230. 44:08as optimizing those style of complex
  1231. 44:11high frequency wave guides has been out
  1232. 44:13of reach unless you're going to use a
  1233. 44:15very expensive software.
  1234. 44:17>> Yeah.
  1235. 44:19Yeah, I mean
  1236. 44:20I've experimented a little bit with it.
  1237. 44:23The part that gets tricky with that is
  1238. 44:24writing the right objective function
  1239. 44:26because as you mentioned if you're
  1240. 44:28optimizing wavefront shape, you need to
  1241. 44:29kind of establish
  1242. 44:31what shape you're optimizing for and
  1243. 44:33then where you're kind of putting your
  1244. 44:34receiver points and the the pressure
  1245. 44:36pattern you're expecting.
  1246. 44:38But yeah, I mean there's no reason why
  1247. 44:39you couldn't take this
  1248. 44:41and build that out. Like all the pieces
  1249. 44:44are there.
  1250. 44:46The kind of optimization I've done has
  1251. 44:48not been exactly that. I am working on
  1252. 44:51more recently some some kind of wave
  1253. 44:53guide optimizations that that dig into
  1254. 44:55that.
  1255. 44:56Um, yeah, all the pieces are there. And
  1256. 44:58just a little bit of a plug. Um, I'm
  1257. 45:00working on a project through a Dutch
  1258. 45:03program called Stichting FOMS
  1259. 45:05um where we're working on a tool called
  1260. 45:06FERMA. Uh, and I think a couple of
  1261. 45:08people involved in that project have
  1262. 45:10actually just called in here. Um, but
  1263. 45:12that's kind of like this larger project
  1264. 45:14where we're going to try to
  1265. 45:16um make these actual optimization um
  1266. 45:19tools and methods available. Um, and
  1267. 45:21that uses the same kind of underlying
  1268. 45:23physics models that Boundary Lab has.
  1269. 45:27>> Oh, that's really interesting. Thank
  1270. 45:28you.
  1271. 45:29>> Thank you so much, John, for the the
  1272. 45:31presentation and for Boundary Lab. Um,
  1273. 45:35my question is about meshing. Um, so we
  1274. 45:38use GMSH to do all the meshing.
  1275. 45:42Uh, and everybody from the FEA side that
  1276. 45:44I've ever talked to says that meshing
  1277. 45:46[clears throat] is the difficult part.
  1278. 45:48So how do you make sure that GMSH always
  1279. 45:51outputs a mesh that's that converges,
  1280. 45:54whether the solution converges? And then
  1281. 45:56the second half of more or less the same
  1282. 45:58question is what's your meshing strategy
  1283. 46:03uh for kind of multiple entry horn
  1284. 46:05optimization problems?
  1285. 46:07Um, cuz I usually get stuck on that part
  1286. 46:10when I mess around. So yeah, I'm I'm
  1287. 46:12interested in that. Thank you.
  1288. 46:14>> No, it's it's a great point and I I was
  1289. 46:15hoping somebody would ask that. Um, I
  1290. 46:17found out that meshing is the hard part
  1291. 46:19the long way. Um, [laughter]
  1292. 46:21yeah, it was when I first started this
  1293. 46:23project it wasn't something that really
  1294. 46:24came to mind as like oh, that's going to
  1295. 46:26be a challenge. Um,
  1296. 46:28but yeah, like meshing is probably the
  1297. 46:31most important way to control
  1298. 46:34the quality of results you get and then
  1299. 46:36how fast a simulation runs. Um, some of
  1300. 46:40that can come down to rules of thumb.
  1301. 46:42Um, I don't
  1302. 46:43care for them too much because they
  1303. 46:45always have caveats. Like there's a big
  1304. 46:46rule of thumb that's like okay, your BEM
  1305. 46:49element like sizes should be 1/6 the
  1306. 46:52highest wavelength that you're
  1307. 46:53simulating for.
  1308. 46:54Um, but there's like there can be
  1309. 46:57exceptions, especially you do like a
  1310. 46:59like a high frequency wave guide in an
  1311. 47:00enclosure where your elements can get
  1312. 47:01coarser on the back and it can be kind
  1313. 47:03of denser at the mouth and doing that
  1314. 47:05doesn't really degrade the solution
  1315. 47:06quality by much.
  1316. 47:08But as far as finding out about mesh
  1317. 47:10convergence and you know what the right
  1318. 47:13density is,
  1319. 47:15generally kind of I do start with a rule
  1320. 47:17of thumb based on like experience of
  1321. 47:20this is what's probably right and then
  1322. 47:22it's fast enough in boundary lab to
  1323. 47:24where you can just export another mesh
  1324. 47:26pretty quickly. So one thing I've done
  1325. 47:29is
  1326. 47:30in Fusion the CAD tool that I that I use
  1327. 47:33I've created some add-ins that that
  1328. 47:35automate that
  1329. 47:36mesh
  1330. 47:37export. So normally if you've if you've
  1331. 47:40used that program you're used to kind of
  1332. 47:42opening it up, dropping in a step file,
  1333. 47:44tagging your surfaces, setting the
  1334. 47:45export quality which is a very
  1335. 47:47time-consuming effort.
  1336. 47:48But this is basically a way to automate
  1337. 47:51it. So like say I want to export this
  1338. 47:53interior mesh right here,
  1339. 47:56I can select it and then I have my
  1340. 47:59surfaces here so I've selected the mid,
  1341. 48:01I've selected my compression driver
  1342. 48:03surface and I've selected my interface
  1343. 48:06and then it has these kind of sizes here
  1344. 48:08and then when I actually export the mesh
  1345. 48:10it'll export those regions at that
  1346. 48:12density
  1347. 48:13and if I want to say like mesh an area
  1348. 48:16coarser like say my interface I want to
  1349. 48:18mesh at eight,
  1350. 48:19it will actually kind of intelligently
  1351. 48:21blend those element sizes there which is
  1352. 48:23a very helpful thing
  1353. 48:25in terms of meshing. So in that regard
  1354. 48:27like this would export this as like a
  1355. 48:29volumetric FEM mesh
  1356. 48:32and then I can do the same for exterior
  1357. 48:34meshes. So like
  1358. 48:36say I have
  1359. 48:39yeah, so say I have like this exterior
  1360. 48:41face here,
  1361. 48:42I can also go ahead and export it and
  1362. 48:44then here's all those bodies and the the
  1363. 48:46resolution I can export it at. So a lot
  1364. 48:49of work has been kind of put into this
  1365. 48:51plugin that helps out a lot
  1366. 48:54and it makes it easy enough and fast
  1367. 48:56enough to where I can say all right
  1368. 48:58we're going to try a 12 millimeter
  1369. 48:59resolution here. We're going to export
  1370. 49:01it, simulate it, and then I can try
  1371. 49:04eight or I can try 16 on another export
  1372. 49:06and then see what changed. Um and then
  1373. 49:08you'll kind of very quickly find out
  1374. 49:10where that kind of um that balance is
  1375. 49:13between fidelity and like what the the
  1376. 49:15solve results you get are.
  1377. 49:18>> Thank you so much. And once again,
  1378. 49:20thanks for Boundary Lab.
  1379. 49:23>> I'll just add that um yeah, so the
  1380. 49:25lambda over six rules are really useful,
  1381. 49:27but as you probably discovered yourself,
  1382. 49:28John, if you actually in the wave guide,
  1383. 49:30you can get these kind of sub wavelength
  1384. 49:32features that mean that
  1385. 49:34you actually sometimes yeah, so around
  1386. 49:35the back you can get away with being a
  1387. 49:37bit coarse or inside you sometimes have
  1388. 49:38to
  1389. 49:39push it a little bit finer as well,
  1390. 49:40don't you?
  1391. 49:41>> Yeah.
  1392. 49:43>> This is regarding psychoacoustics. So
  1393. 49:45you know how it feels. I'm curious if
  1394. 49:47this if have you have you dug into this
  1395. 49:49realm at all in any sort of uh have you
  1396. 49:52ever uh
  1397. 49:53I'm curious [snorts] with regards to
  1398. 49:54some of the other
  1399. 49:56rather popular boutique speakers that
  1400. 49:57are all over the place. You got uh
  1401. 50:00I don't even know how you pronounce this
  1402. 50:01N N N N N. I don't even know how many
  1403. 50:04Ns. And a variety of other
  1404. 50:07You got all the void stuff, etc.
  1405. 50:09Those are rather
  1406. 50:11exotic looking speakers. I'm not sure if
  1407. 50:13you've ever
  1408. 50:14modeled any of these to see
  1409. 50:17something that uh you know is known by
  1410. 50:19the wide public to be rather exotic.
  1411. 50:23But from a
  1412. 50:24acoustic standpoint, I can never imagine
  1413. 50:26that those necessarily couple the way
  1414. 50:28that we want to in the same regard or
  1415. 50:29the same design goals that you're
  1416. 50:31looking for with your MEHs.
  1417. 50:34>> Yeah, I
  1418. 50:35>> this?
  1419. 50:36>> There's two different things here, I
  1420. 50:37think. Um one is
  1421. 50:41the
  1422. 50:42way a system might look visually and the
  1423. 50:44way that can affect our interpretation
  1424. 50:46of a system. So if I walk into a room
  1425. 50:48and I see a crazy looking sound system,
  1426. 50:50I'm going to form a subconscious opinion
  1427. 50:52about how that's going to sound before
  1428. 50:53I've even listened to it. And that's a
  1429. 50:55real effect that you can take advantage
  1430. 50:57of it as as a designer. I don't think
  1431. 50:58that's like
  1432. 50:59um personally, like ethically, you know,
  1433. 51:02the wrong thing to do, I think it's, you
  1434. 51:03know, in in the spirit of sound systems
  1435. 51:06is like people want to see cool looking
  1436. 51:07speakers.
  1437. 51:09As far as the actual psychoacoustics and
  1438. 51:12what, you know, how our brain interprets
  1439. 51:13what we're hearing,
  1440. 51:16my level of kind of research into that's
  1441. 51:20pretty light. I mean, I've read Floyd
  1442. 51:22Toole's book.
  1443. 51:23I've read a few others and it's a topic
  1444. 51:26I'm very careful around to step around
  1445. 51:29because getting into it can be
  1446. 51:32a very touchy subject.
  1447. 51:34For that reason, I normally kind of
  1448. 51:35focus on
  1449. 51:37more the objective parts of a design is
  1450. 51:39like
  1451. 51:40there are certain things that you can
  1452. 51:41look at as you're developing a design.
  1453. 51:43Like it's better
  1454. 51:45often to have a smoother directivity.
  1455. 51:47It's better to get more sensitivity.
  1456. 51:48It's better to have higher output with
  1457. 51:49lower distortion. And those are very
  1458. 51:51easy to kind of assign objective values
  1459. 51:53to as you design.
  1460. 51:55Optimizing for it sounds good is of
  1461. 51:58course like maybe the ultimate goal if
  1462. 52:00we could say,
  1463. 52:01but doing that in practice is very very
  1464. 52:03very difficult as the research is
  1465. 52:07on one hand very sparse, but also just
  1466. 52:09there's a lot of nuance involved in it.
  1467. 52:12But yeah, like
  1468. 52:14yeah, I would say that's where where my
  1469. 52:15stance is on it.
  1470. 52:18>> I appreciate it. Thank you very much.
  1471. 52:20>> I think that's very true. We we do a lot
  1472. 52:22of psychoacoustics research here on kind
  1473. 52:23of multimodal perception sort of audio
  1474. 52:26visual stuff. I don't think anyone's
  1475. 52:27done sound systems, so maybe that's an
  1476. 52:29opening for
  1477. 52:31an MSC project or PhD or
  1478. 52:34Cool. Or just some Or just some some
  1479. 52:36nice community research.
  1480. 52:38>> Hey John, how's it going? Yeah, thank
  1481. 52:39you for the presentation. Yeah, very
  1482. 52:41cool stuff. So yeah, I just had a quick
  1483. 52:44question. Yeah, I've been following your
  1484. 52:45Instagram and the development of the Sol
  1485. 52:48Mod
  1486. 52:49and I noticed that you posted something.
  1487. 52:53It was like the throat region of the
  1488. 52:54mid-range and you kind of outputted this
  1489. 52:57very organic kind of [snorts] ear canal
  1490. 53:00type structure.
  1491. 53:01So with my current workflow, I kind of
  1492. 53:03have my own standalone wave guide
  1493. 53:05builder that uses either a GA or
  1494. 53:08Bayesian optimization to output the
  1495. 53:10designs, but it's bounded by obviously
  1496. 53:12parameters.
  1497. 53:14Um in the case of that ear canal style
  1498. 53:17um geometry, are you using like a
  1499. 53:19topology style iterative design to kind
  1500. 53:23of form that unique shape or is that
  1501. 53:24still bounded by
  1502. 53:26parameters and formulas?
  1503. 53:28>> Um no, I've had not great luck with
  1504. 53:31topology acoustic topology optimization
  1505. 53:33just yet. I've had a few different
  1506. 53:34experiments where it's kind of ended in
  1507. 53:36like
  1508. 53:37not controlling the right things I
  1509. 53:38wanted. Um it's very hard to get
  1510. 53:40topology optimization to work in a
  1511. 53:41throat. It's not impossible. I think I
  1512. 53:43think it's probably going to happen very
  1513. 53:44soon, but um for that model it's more of
  1514. 53:47a parametric design. So um the way that
  1515. 53:49was built was just a series of like
  1516. 53:52lofted geometry and then those lofts
  1517. 53:55were defined by these um these
  1518. 53:58polynomial lines um that kind of
  1519. 54:00followed that contour. So you can
  1520. 54:02basically give the optimizer like the
  1521. 54:04ability to to kind of drag those those
  1522. 54:06handles um which gives you a decent
  1523. 54:08degree of freedom in terms of like uh
  1524. 54:10the shapes that you're allowed um
  1525. 54:12without like bogging down on hundreds of
  1526. 54:14different um control variables.
  1527. 54:17>> Oh I see. So you just had
  1528. 54:19uh various control points along that
  1529. 54:21pol- okay. I see.
  1530. 54:23>> Yeah, so that way I could get kind of
  1531. 54:24smooth geometry too, which was
  1532. 54:25important. Um the problem that I keep
  1533. 54:27running into with topology optimization
  1534. 54:29is it wants to generate very
  1535. 54:31um abrupt geometry and kind of um jagged
  1536. 54:36uh which isn't great for this kind of
  1537. 54:38stuff. Um there are ways around it, but
  1538. 54:39again it's
  1539. 54:40>> Yeah.
  1540. 54:41>> it gets a little bit complicated.
  1541. 54:42>> Okay.
  1542. 54:43Yeah, I just saw that look very organic,
  1543. 54:45unique, so just had to ask. So thank
  1544. 54:48you. Mhm.
  1545. 54:48>> [clears throat]
  1546. 54:50>> Yeah, I think I think most of the
  1547. 54:51systems I've seen with topology
  1548. 54:52optimization have been based on spline
  1549. 54:54points or formulae of some type. Yes,
  1550. 54:56you got reduced parameter space.
  1551. 54:58Um there was two very similar things
  1552. 54:59actually. Sorry, there's one in Q and A.
  1553. 55:01Apologies, I'd set it up when they'd not
  1554. 55:02been looking at it.
  1555. 55:04It asks if the exterior solver is pure
  1556. 55:06purely BAM while there's no PML? Uh
  1557. 55:08yeah, so so in boundary element method
  1558. 55:10you don't need a PML. It's just if you
  1559. 55:12don't put an outer boundary and it's
  1560. 55:13like the air goes on forever. So I can I
  1561. 55:15can answer that one quickly. That's
  1562. 55:16that's my that's my area. And then
  1563. 55:18asks
  1564. 55:20how are the solve times so fast using
  1565. 55:22COMSOL? It takes a few hours to do BEM
  1566. 55:24simulation 20K, which I can test too as
  1567. 55:26well.
  1568. 55:27>> Oh man, that's a that's fun. Um
  1569. 55:30this uh with this solver what I wanted
  1570. 55:32to do was kind of build it from the
  1571. 55:33ground up for optimized for G

About this transcript

This page contains the full transcript of John White: Accelerating Iterative Loudspeaker Design with Boundary Lab by Salford Acoustics, generated from the public captions YouTube serves with the video. The transcript has 9,853 words across 1,571 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.