Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed May 28, 2023
1 parent 6d0d37e commit 9931a67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ wavesurfer.js v7 beta is a TypeScript rewrite of wavesurfer.js that brings sever

---

ℹ️ Looking for the old stable version? V6 is here: https://github.com/katspaugh/wavesurfer.js/tree/master
ℹ️ Looking for the old stable version? V6 is here: https://github.com/katspaugh/wavesurfer.js/tree/v6

---

Expand Down Expand Up @@ -87,13 +87,13 @@ You can see which elements you can style in the DOM inspector – they will have

See [this example](https://wavesurfer.pages.dev/examples/#styling.js) for play around with styling.

## Migrating from v6
## Upgrading from v6

Most options, events, and methods are similar to those in previous versions.

### Notable differences
* The `backend` option is removed – HTML5 audio (or video) is the only playback mechanism. However, you can still connect wavesurfer to Web Audio via `MediaElementSourceNode`. See this [example](https://wavesurfer.pages.dev/examples/#webaudio.js).
* The Markers plugin is removed – use the Regions plugin with `startTime` equal to `endTime`.
* The Markers plugin is removed – use the Regions plugin with just a `startTime`.
* No Microphone plugn – superseded by the new Record plugin with more features.
* No Cursor and Playhead plugins yet – to be done.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wavesurfer.js",
"version": "7.0.0-beta.3",
"version": "7.0.0-beta.4",
"license": "BSD-3-Clause",
"author": "katspaugh",
"homepage": "https://wavesurfer-js.org",
Expand Down

0 comments on commit 9931a67

Please sign in to comment.