Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Markers plugin #2196

Merged
merged 9 commits into from
Mar 1, 2021
Merged

Add Markers plugin #2196

merged 9 commits into from
Mar 1, 2021

Conversation

osheroff
Copy link
Contributor

This adds a "markers" plugin to wavesurfer, very similar to what Pro Tools gives you. Just a way to easily jump around in a waveform.

Lots more customization options are possible, but I figured I'd wait for the community for ask for it.

Screen Shot 2021-02-24 at 12 38 15 PM

… chrome

This fixes the region plugin as well as the annotations plugin.
This adds pro-tools style markers to a waveform, for easy jumping to
predefined points.
@coveralls
Copy link

coveralls commented Feb 24, 2021

Coverage Status

Coverage remained the same at 82.407% when pulling 2b8d7a2 on markers into 8a4378a on master.

Copy link
Contributor

@thijstriemstra thijstriemstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! can you also add a version marker in the new plugin and a changelog entry?

src/plugin/markers/index.js Outdated Show resolved Hide resolved
@osheroff
Copy link
Contributor Author

thanks! can you also add a version marker in the new plugin and a changelog entry?

can you clarify what you mean by version marker?

@osheroff
Copy link
Contributor Author

I've addressed all other issue besides the version marker

@thijstriemstra
Copy link
Contributor

can you clarify what you mean by version marker?

see https://jsdoc.app/tags-since.html, I would put it in the new plugin class. The version nr can be 4.x.0 where x is current version + 1

@thijstriemstra thijstriemstra changed the title Markers plugin Add Markers plugin Feb 26, 2021
CHANGES.md Outdated Show resolved Hide resolved
@osheroff
Copy link
Contributor Author

issues addressed.

Copy link
Contributor

@thijstriemstra thijstriemstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@thijstriemstra thijstriemstra merged commit 625c65a into master Mar 1, 2021
sandiz pushed a commit to sandiz/wavesurfer.js that referenced this pull request Sep 1, 2021
* change let to var to prevent 'wavesurfer is already defined' error in chrome

This fixes the region plugin as well as the annotations plugin.

* add "markers" plugin

This adds pro-tools style markers to a waveform, for easy jumping to
predefined points.

* remove markers from zoom example

* remove crashy event listener

* clean up event handlers on destroy

* add changelog entry for marker plugin

* add @SInCE tag

* fetch url format

* add PR number
@katspaugh katspaugh deleted the markers branch May 28, 2023 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants