Commit ae8883b
committed
Fix pop in exported track due to wrong peak calculation
This difference of one unit would result in the peak being calculated as smaller than it is, so the applied attenuation would be slightly less than necessary, causing the peak value to overflow during the conversion to `int16` and leading to a pop in the exported track.1 parent cc8173c commit ae8883b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments