Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sambellows committed Jun 5, 2024
1 parent a598318 commit 630768f
Show file tree
Hide file tree
Showing 15 changed files with 95 additions and 11 deletions.
4 changes: 2 additions & 2 deletions _pages/animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
layout: page
title: animations
permalink: /animations/
description: acoustics animations
description:
nav: true
nav_order: 3
display_categories: [animations]
display_categories: [acoustics animations, signal processing animations]
horizontal: false
---

Expand Down
24 changes: 21 additions & 3 deletions _projects/5_geometric_acoustics_calibration copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ category: work

Geometric acoustics simulations are used across areas of architectural acoustics for improved sound design. Nonetheless, an important aspect of creating a numerical model is selecting material properties so that measured data agrees with the simulation input. One area of my research is to generate numerical methods to calibrate geometric acoustics models.



Geometric acoustics (GA) models use principles of specular and diffuse reflections to predict the temporal energetic response of a room. Methods can include ray tracing, beam or cone tracing, and image-source methods to determine ray paths between a source and receiver. In modeling sound propagation, random incidence absorption coefficients determine the amount of energy lost at each reflection while random incidence scattering coefficients influence the trajectory at each reflection. The cumulation of many rays and leads to the echogram, an energetic description of the energy decay in the room.


<div class="row">
Expand All @@ -24,6 +23,25 @@ Geometric acoustics simulations are used across areas of architectural acoustics
</div>
</div>
<div class="caption">
Simple geometrical acoustics model.
Simple geometrical acoustics model. The red line indicates a single ray path from the source to the receiver.
</div>


Many room acoustic metrics, including reverberation time and clarity, may be calculated from the echogram, which may be written as follows:

\begin{equation}
E(t) = \sum_{m = 1}^M W_m\left(\prod_{n = 1}^N (1 - \alpha_n)^{p_{nm}}\right)\delta(t - \tau_m)
\end{equation}
with $$M$$ being the number of rays, $$W_m$$ being the amplitude of the $$m$$th ray, $$N$$ being the number of surfaces $$\alpha_n$$ being the absorption coefficient for the $$n$$th surface, and $$\tau_m$$ being the impact time of the $$m$$th ray. The integer $$p_{nm}$$ represents the number of times the $$m$$th ray hit the $$n$$th surface.

Because the echogram is a function of the absorption coefficients, one can calculate its gradient as
\begin{equation}
\frac{\partial E}{\partial \alpha_n} = -\sum_{m = 1}^M \frac{p_{nm}}{(1 - \alpha_n)} W_m\left(\prod_{n = 1}^N (1 - \alpha_n)^{p_{nm}}\right)\delta(t - \tau_m).
\end{equation}
Using this expression, one may use a gradient-descent algorithm to iteratively adjust the absorption coefficients as
\begin{equation}
\alpha_n^{(k+1)} = \alpha_n^{(k)} - \mu (\tilde{C}^{(k)} - C)\frac{\partial}{\partial \alpha_n}\tilde{C}^{(k)}.
\end{equation}
where $$C$$ is some meaasured room acoustics metric, $$\tilde{C}$$ is its simulated value, and $$k$$ is the iteration step.


2 changes: 1 addition & 1 deletion _projects/directivity_animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: source directivity
description:
img: assets/img/animations/point_source_directivity.gif
importance: 4
category: animations
category: acoustics animations
---


Expand Down
20 changes: 20 additions & 0 deletions _projects/geometric_acoustics_animations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: page
title: geometric acoustics
description:
img: assets/img/animations/specular_reflection.gif
importance: 6
category: acoustics animations
---

<div class="row">
<div class= "col-sm">
{% include figure.html path="assets/img/animations/specular_reflection.gif" class="img-fluid rounded z-depth-1" %}
</div>
<div class = "col-sm">
{% include figure.html path="assets/img/animations/diffuse_reflection.gif" class="img-fluid rounded z-depth-1" %}
</div>
</div>
<div class="caption">
Specular and diffuse reflections used in geometric acoustics
</div>
2 changes: 1 addition & 1 deletion _projects/image_method_animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: image source methods
description:
img: assets/img/animations/image_source_intro.gif
importance: 4
category: animations
category: acoustics animations
---


Expand Down
46 changes: 46 additions & 0 deletions _projects/optimization_animations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
layout: page
title: optimization methods
description:
img: assets/img/animations/GradientDescent.gif
importance: 6
category: signal processing animations
---

Optimization algorithms try to minimize a function.

In gradient descent, the iterative update is related to the local gradient of the objective function
\begin{equation}
\mathbf{x}^{(k+1)} = \mathbf{x}^{(k)} - \mu \nabla J(\mathbf{x}^{(k)}).
\end{equation}

<div class="row">
<div class = "col-sm">
</div>
<div class="col-sm">
{% include figure.html path="assets/img/animations/GradientDescent.gif" title="example image" class="img-fluid rounded z-depth-1" %}
</div>
<div class = "col-sm">
</div>
</div>
<div class="caption">
Gradient descent algorithm
</div>

Newton's method uses the Hessian matrix to compute the local curvature. This leads to a more direct descent path. However, computing the Hessian matrix may be difficult for some problems.
\begin{equation}
\mathbf{x}^{(k+1)} = \mathbf{x}^{(k)} - \mathbf{H}^{-1}(\mathbf{x}^{(k)})\nabla J(\mathbf{x}^{(k)}).
\end{equation}

<div class="row">
<div class = "col-sm">
</div>
<div class="col-sm">
{% include figure.html path="assets/img/animations/NewtonsMethod.gif" title="example image" class="img-fluid rounded z-depth-1" %}
</div>
<div class = "col-sm">
</div>
</div>
<div class="caption">
Newton's method
</div>
2 changes: 1 addition & 1 deletion _projects/plate_animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: membrane vibrations
description:
img: assets/img/animations/circular_plate_22.gif
importance: 4
category: animations
category: acoustics animations
---


Expand Down
2 changes: 1 addition & 1 deletion _projects/polyhedra_animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: rpl directivity patterns
description:
img: assets/img/animations/dodec_directivity.gif
importance: 4
category: animations
category: acoustics animations
---

Regular polyhedral loudspeakers are special loudspeakers with several drivers
Expand Down
2 changes: 1 addition & 1 deletion _projects/rod_animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: rod bending modes
description:
img: assets/img/animations/rod_demo.gif
importance: 4
category: animations
category: acoustics animations
---

A "rod" is an elastic solid whose cross-sectional area is very small relative to its length. A vibrational model constrained to one dimension serves as a good approximation to its motion.
Expand Down
2 changes: 1 addition & 1 deletion _projects/sphere_animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: radiation from spheres
description:
img: assets/img/animations/point_source.gif
importance: 4
category: animations
category: acoustics animations
---


Expand Down
Binary file added assets/img/animations/GradientDescent.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/animations/NewtonsMethod.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/animations/diffuse_reflection.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/animations/specular_reflection.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pdf/2023_April_CV.pdf
Binary file not shown.

0 comments on commit 630768f

Please sign in to comment.