|
1 | 1 | # waveform-data.js |
2 | 2 |
|
| 3 | +## v4.2.0 (2021/10/09) |
| 4 | + |
| 5 | + * Updated to use ES module format. Replaced browserify with Rollup |
| 6 | + (@chrisn) |
| 7 | + |
| 8 | + * Fixed `WaveformData.toArrayBuffer()` for 16-bit waveform data (@chrisn) |
| 9 | + |
| 10 | + * To reduce memory usage, waveform data is now stored internally in binary |
| 11 | + format, and converted from JSON format if needed. `WaveformData.resample()` |
| 12 | + now produces binary format data (@chrisn) |
| 13 | + |
| 14 | + * Removed the undocumented partial resampling feature (@chrisn) |
| 15 | + |
| 16 | + * Removed the `WaveformDataArrayBufferAdapter` and `WaveformDataObjectAdapter` |
| 17 | + classes (@chrisn) |
| 18 | + |
| 19 | + * Moved source files from lib to src folder (@chrisn) |
| 20 | + |
3 | 21 | ## v4.1.1 (2021/08/01) |
4 | 22 |
|
5 | 23 | * Fixed handling of 16-bit binary waveform data (@chrisn) |
6 | 24 |
|
7 | 25 | ## v4.1.0 (2021/04/29) |
8 | 26 |
|
9 | | - * Added WaveformData.toArrayBuffer() method (@chrisn) |
| 27 | + * Added `WaveformData.toArrayBuffer()` method (@chrisn) |
| 28 | + |
10 | 29 | * Fixed TypeScript declarations (@wong2) |
11 | 30 |
|
12 | 31 | ## v4.0.0 (2021/04/24) |
13 | 32 |
|
14 | | - * Added disable_worker option to WaveformData.createFromAudio() |
| 33 | + * Added disable_worker option to `WaveformData.createFromAudio()` |
15 | 34 | (@Christilut, @chrisn) |
16 | | - * Added WaveformData.toJSON() method (@chrisn) |
| 35 | + |
| 36 | + * Added `WaveformData.toJSON()` method (@chrisn) |
| 37 | + |
17 | 38 | * Updated TypeScript declarations (@Kangaroux, @chrisn) |
| 39 | + |
18 | 40 | * Added d3.js example, see demo/d3.html (@chrisn) |
| 41 | + |
19 | 42 | * Reworded error messages (@chrisn) |
20 | | - * The WaveformData.resample() method no longer accepts a single number |
| 43 | + |
| 44 | + * The `WaveformData.resample()` method no longer accepts a single number |
21 | 45 | (@chrisn) |
22 | 46 |
|
23 | 47 | ## v3.3.4 (2020/09/07) |
|
27 | 51 | ## v3.3.3 (2020/08/28) |
28 | 52 |
|
29 | 53 | * Clean up Worker and AudioBuffer objects to avoid leaks (@jdelStrother) |
| 54 | + |
30 | 55 | * Added error handling to demo page, also add missing waveform data file |
31 | 56 | (@chrisn) |
| 57 | + |
32 | 58 | * Fixed demo page in Safari (@jdelStrother) |
33 | 59 |
|
34 | 60 | ## v3.3.2 (2020/05/08) |
|
46 | 72 | ## v3.2.0 (2020/02/22) |
47 | 73 |
|
48 | 74 | * (#66) Added TypeScript declarations (@artemkosenko) |
| 75 | + |
49 | 76 | * Improved documentation (@chrisn) |
50 | 77 |
|
51 | 78 | ## v3.1.0 (2019/10/23) |
|
55 | 82 | ## v3.0.0 (2019/08/23) |
56 | 83 |
|
57 | 84 | * Added support for multi-channel waveforms (@chrisn) |
58 | | - * Added fromAudioBuffer() method to create waveform from AudioBuffer |
| 85 | + |
| 86 | + * Added `fromAudioBuffer()` method to create waveform from AudioBuffer |
59 | 87 | (@davidturissini) |
| 88 | + |
60 | 89 | * This release has some breaking API changes, refer to doc/migration-guide.md |
61 | 90 | for details of how to update your code |
62 | 91 |
|
|
67 | 96 | ## v2.1.0 (2018/11/10) |
68 | 97 |
|
69 | 98 | * Move Web Audio based waveform generation to a Web Worker (@semiaddict) |
| 99 | + |
70 | 100 | * Fix audio decode error handling in Safari (@chrisn) |
71 | 101 |
|
72 | 102 | ## v2.0.2 (2016/06/07) |
73 | 103 |
|
74 | 104 | * Allow offset length to be zero (@chrisn) |
| 105 | + |
75 | 106 | * Improved documentation and code examples (@gr2m, @mdesenfants, @chrisn) |
76 | 107 |
|
77 | 108 | ## v2.0.1 (2016/03/14) |
78 | 109 |
|
79 | 110 | * (#42) Fixed multi-channel audio handling in Web Audio builder (@chrisn) |
| 111 | + |
80 | 112 | * Fixed off-by-one error in waveform data generation (@chrisn) |
| 113 | + |
81 | 114 | * Replaced auto-generated ChangeLog (@chrisn) |
| 115 | + |
82 | 116 | * Apply jshint to test code (@chrisn) |
83 | 117 |
|
84 | 118 | ## v2.0.0 (2016/12/10) |
85 | 119 |
|
86 | 120 | * Auto-generate CHANGELOG.md on version bump (@oncletom) |
| 121 | + |
87 | 122 | * (#40) Drop bower support, remove compiled files from git and include them in |
88 | 123 | npm package (#40) (@oncletom) |
| 124 | + |
89 | 125 | * (#39) Replace blanket by nyc for code coverage reporting (@oncletom) |
| 126 | + |
90 | 127 | * Use ES2015 syntax for README examples (@oncletom) |
| 128 | + |
91 | 129 | * (#38) Extracted Web Audio builder from the main package (@oncletom) |
| 130 | + |
92 | 131 | * (#37) Callers must now pass in an AudioContext object (@dodds-cc) |
93 | 132 |
|
94 | 133 | ## v1.5.3 (2016/09/21) |
95 | 134 |
|
96 | 135 | * (#36) Moved the project from github.com/bbcrd to github.com/bbc (@oncletom) |
| 136 | + |
97 | 137 | * Added missing npm dependencies (@oncletom) |
| 138 | + |
98 | 139 | * Deploy to npm from Travis CI (@oncletom) |
| 140 | + |
99 | 141 | * Use working blanket module version (@chrisn) |
100 | 142 |
|
101 | 143 | ## v1.5.2 (2016/08/05) |
|
117 | 159 | ## v1.4.3 (2014/10/09) |
118 | 160 |
|
119 | 161 | * Extracted getAudioDecoder function into a separate module (@oncletom) |
| 162 | + |
120 | 163 | * Added tests for Web Audio builder (@oncletom) |
| 164 | + |
121 | 165 | * Allow the user to specify the scale factor in the Web Audio builder, and |
122 | 166 | changed the default from 512 to 128 (@chainlink) |
123 | 167 |
|
|
0 commit comments