Skip to content

Commit a1d00cd

Browse files
committed
doc: update
1 parent 5775245 commit a1d00cd

File tree

3 files changed

+44
-29
lines changed

3 files changed

+44
-29
lines changed

CHANGELOG.md

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,52 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
66
## [Future Works]
77
- [Display duration in explorer](https://code.visualstudio.com/api/extension-guides/tree-view#view-actions)
88
- Generate spectrogram faster than real time, depend on Web Audio API?
9-
- Minimize package size --> [blocked that cause by Pug](https://github.com/pugjs/pug/issues/2889#issuecomment-456477196) due to its Uglify.js dependency.
9+
- New icon
1010
- More colors
11-
- Playback time slider
1211
- Real-time input mode/recorder
13-
- Support more audio formats (Depend on vscode)
14-
- Switch back [suspend/resume](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/AudioContext) instead using start/stop --> blocked that cause by Chrome? since Firefox works fine
12+
- Seeker bar slider
13+
- [Support more audio codecs](https://code.visualstudio.com/updates/v1_71#_ffmpeg-codecs-support)
1514
---
1615

16+
## [2.0.0] - September 2022
17+
- Add seeking 5s back and fort buttons
18+
- Reduce extension size with Webpack
19+
- Support flac
20+
- Switch to `main` branch
21+
- Use [Codicons](https://microsoft.github.io/vscode-codicons/dist/codicon.html)
22+
- Use resume/suspend methods
23+
- files, MB, 1.71.0
24+
25+
Notes:
26+
- **Finally! This extension is working normally** 🙌🎊🎉🥳🥂
27+
- It turns out that vscode doesn't ship mp3 codec with its ffmpeg library (it probably got removed in the past since this extension worked before) and recently add it back in v1.71 - [Issue](https://github.com/microsoft/vscode/ssues/48494)
28+
- Put back resume/suspend since the issue got fixed for electron/chromium [Issue1052747](https://bugs.chromium.org/p/chromium/issues/detail?id=1052747) [Issue1018499](https://bugs.chromium.org/p/chromium/issues/detail?id=1018499)
29+
- Reduce extension size - it was funny to see previous version use webpack to minimize the 1 file - `controller.js`
30+
- All previous versions of this extension will not work in any recent vscode versions
31+
1732
## [1.1.0] - December 2019
18-
- Remove Semantic
19-
- Update CSS
2033
- Display duration
2134
- Minor bugfixes
22-
- Switch method suspend/resume --> start/stop
23-
- 3524 files, 4.33MB
35+
- Remove [Semantic](https://semantic-ui.com)
36+
- Switch method suspend/resume -> start/stop
37+
- Update CSS
38+
- 3524 files, 4.33MB, 1.41.0
2439

25-
Note:
26-
- Still, this extension only works in exploration build, tested on 1.41 E7|C78 😥
27-
- Not so sure why it doesn't work in stable/insider build on E6|C76 according to 1.0.1 note 🤔
40+
Notes:
41+
- Still, this extension only works for exploration build, tested on 1.41 E7|C78 😥 - [vscode1.37 - exploration](https://github.com/microsoft/vscode/issues/76069)
42+
- Not sure why it doesn't work for stable/insider build on E6|C76 according to 1.0.1 note 🤔
2843

29-
Reference:
44+
References:
3045
- https://stackoverflow.com/a/37770048/7526434
3146
- https://stackoverflow.com/a/18562855/7526434
3247
---
3348

3449
## [1.0.1] - September 2019
35-
- Fixed path issue for other OS platforms
50+
- Fixed path issue for other OS platforms - tested on MacOS and Ubuntu
3651
- Set VS Code version requirement to 1.40 - Wait for VS Code to update to newer Chrome version
37-
- 6723 files, 10.2MB
52+
- 6723 files, 10.2MB, 1.38.0
3853

39-
Note:
54+
Notes:
4055
- Pumped up the VS Code requirement to 1.40 due to Web Audio API bug, probably from Chrome
4156
- Just right after the 1st release, the Web Audio API stops working on 1.30 to 1.39 of VS code (VS code 1.38 stable build is on Electron 4 | Chrome 69)
4257
- The extension works (except the pause/resume function - API bug again) on VS code exploration build 1.37 with ELectron 6 | Chrome 76
@@ -45,9 +60,9 @@ Note:
4560

4661
## [1.0.0] - May 2019
4762
- Initial release
48-
- 6725 files, 10.2MB
63+
- 6725 files, 10.2MB, 1.30.0
4964

50-
Reference:
65+
References:
5166
- https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API
5267
- https://github.com/mdn/webaudio-examples/blob/master/audiocontext-states/index.html
5368
- https://wbrickner.wordpress.com/2016/09/27/awesome-js-html-spectrogram/

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
# Spectrogram
2-
This is an extension that play and display spectrogram of audio files.
2+
This is an extension that play and display spectrogram of mp3 and flac audio files.
33

4-
![](images/spec-sc2.PNG)
5-
6-
## Known Issues
7-
- Mp3 doesn't work, yet! It's depend when VS Code decided to bundle with mp3 codec.
4+
![](images/spec-sc3.PNG)
85

96
## Release Notes
107

8+
### 2.0.0
9+
- Add `flac` support
10+
- Add 5s seeking buttons
11+
- Extension size greatly reduce
12+
1113
### 1.1.0
1214
- Improve UI
13-
- Fixed pause/resume
14-
- Fixed minor bugs
15+
- Fix pause/resume
16+
- Fix minor bugs
1517
- Refactor code
1618

1719
### 1.0.1
18-
Fixed path issue other OS platforms (tested on MacOS and Ubuntu)
20+
- Fix path issue for MacOS
1921

2022
### 1.0.0
21-
Initial release of Spectrogram
23+
- Initial release of Spectrogram

lab/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
`spec2.html` was for finding a workaround on suspend() and resume() bug from Chrome
22

3-
https://mdn.github.io/fetch-examples/fetch-array-buffer \
4-
https://bugs.chromium.org/p/chromium/issues/detail?id=1052747 \
5-
https://bugs.chromium.org/p/chromium/issues/detail?id=1018499
3+
https://mdn.github.io/fetch-examples/fetch-array-buffer

0 commit comments

Comments
 (0)