commit 6bdb5e079c6e3fabb5f667e42f4eced3bfc4d7b8
parent 785a780798483f8f086a47e7ce48d905b2612b7b
Author: minerva-jupiter <ryouturn@gmail.com>
Date: Wed, 17 Jun 2026 22:28:09 +0900
docs: remove redundant markdown block and code comment
Clean up README formatting by removing unnecessary markdown fencing and delete an outdated code comment in src/lib.rs.
Diffstat:
2 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
@@ -21,7 +21,6 @@ This parts play a role of generating sounds like the reed on a saxophone or the
<details>
<summary>TL;DR Derivation of the simulation formula</summary>
-```markdown
## Physical Modeling and Discretization Process
This plugin simulates the sound generation mechanism of a reed instrument (or lip-reed instrument) by coupling a continuous-time mechanical oscillator with a non-linear fluid dynamics engine.
@@ -139,7 +138,6 @@ $$|z|^2 = \left| \frac{1 + \frac{T}{2}s}{1 - \frac{T}{2}s} \right|^2 = \frac{(1
Since $\sigma < 0$, $(1 + \frac{T}{2}\sigma)^2 < (1 - \frac{T}{2}\sigma)^2$, mathematically guaranteeing $|z| < 1$.
> **Conclusion:** The system remains **unconditionally stable** regardless of real-time sampling rate modifications or aggressive parameter modulation ($m, k, r$ adjustments via bite intensity), eliminating numerical explosion risks common in forward-Euler methods.
-```
</details>
@@ -156,10 +154,6 @@ $$v_f[n] = \frac{-\alpha + \sqrt{\alpha^2 + 4 B[n] \Gamma[n-1]}}{2 B[n]}$$
<details>
<summary>Physical Modeling of Boundary Dissipation in Open-Ended Acoustic Tubes</summary>
-This document provides the theoretical background, mathematical derivation, and discrete-time modeling of the acoustic reflection and energy dissipation at the open end (bell) of a resonant tube. Rather than using an empirical low-pass filter to attenuate high-frequency components, this model derives the high-frequency decay directly from the **physical mechanics of particle motion and nonlinear aerodynamic resistance** at the boundary.
-
----
-
## 1. Physical Phenomenon: Open-End Reflection and Turbulence
When an acoustic wave propagating inside a tube reaches an open end, it transitions from a highly constrained, one-dimensional channel to a free, unconstrained three-dimensional space.
diff --git a/src/lib.rs b/src/lib.rs
@@ -465,7 +465,6 @@ impl Aerothesis {
let b_prev = RHO / (4.0 * (gap_prev * gap_prev));
let c_prev = self.v_breath - b_prev * (self.v_fluid_prev * self.v_fluid_prev);
- // Current gap is also based on x_prev in this discrete model for stability
let gap_curr = (2.0 - self.x_prev).clamp(EPS, 2.0);
let b_curr = RHO / (4.0 * (gap_curr * gap_curr));