Catch softer transients
Browse files at this commitf096338c3ba679f8de443ad7cef495d608e59c43Parent: e0b760b- fix
- catch softer transients
1 changed file +1 -1
crates/ec-vorbis/src/encode.rsmodified+1 -1
| @@ -139,7 +139,7 @@ const MODE_SHORT: u32 = 0; | |||
| 139 | const MODE_LONG: u32 = 1; | 139 | const MODE_LONG: u32 = 1; |
| 140 | /// A tick energy jump past this multiple of its predecessor is a transient; | 140 | /// A tick energy jump past this multiple of its predecessor is a transient; |
| 141 | /// a near-zero predecessor makes this trip on any onset above the floor. | 141 | /// a near-zero predecessor makes this trip on any onset above the floor. |
| 142 | -const TRANSIENT_RATIO: f64 = 16.0; | 142 | +const TRANSIENT_RATIO: f64 = 14.0; |
| 143 | /// Below this per-sample mean square (-60 dBFS), a tick is not "content" at | 143 | /// Below this per-sample mean square (-60 dBFS), a tick is not "content" at |
| 144 | /// all — the floor that keeps digital silence, dither and fade tails from | 144 | /// all — the floor that keeps digital silence, dither and fade tails from |
| 145 | /// tripping the detector. | 145 | /// tripping the detector. |