Commit 0041ad4
committed
fix(engine): tighten volume-envelope tolerance for preview/render parity
At 1% linear tolerance the simplified envelope drifted up to ~0.9 dB from the
GSAP curve the browser plays in preview (at the loudness JND, in quiet
passages where linear tolerance is perceptually loosest). Tighten to 0.5%,
which holds the render to ~0.2 dB of preview across the audible range while a
full ease-in/out fade still fits in ~25 of the 32-segment budget.1 parent 8278af0 commit 0041ad4
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
| |||
0 commit comments