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

[pull] master from katspaugh:master #39

Open
wants to merge 133 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Apr 23, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Apr 23, 2021
thijstriemstra and others added 28 commits May 3, 2021 13:14
* bump version: 5.0.0

* use default username
* add test

* add fix

* add changelog entry
* add upgrade instructions for 5.0

Ref: a262e69#commitcomment-50513905

* add upgrade instructions for 4.0

Ref: #2265 (review)
* added support for custom marker images

* renamed img to markerElement since it should already work with a generic html element

* added example of marker with html element being displayed

* Added documentation for the markerElement parameter

* Update changelog

Co-authored-by: Benjamin Knower <bknower@cogitocorp.com>
* handle cursor orientation bug fix

* Update CHANGES.md
* feat: markers plugins's click event

* chore: add changelog

* document `marker-click` event
…tyles, setFonts) (#2299)

* Prevent accessing canvas attributes on null values in timeline and spectrogram plugins

* Guard remaining getContext calls

* Add to Changelog

* Fix variable scope error
… line (#2298)

* markerElements are now centered over the line that displays on the wavesurfer

* added image example to showcase changes and updated changelog

* Added image for marker example

Co-authored-by: Benjamin Knower <ben.knower@gmail.com>
…2311)

* fix: Cannot read property 'decodeArrayBuffer' of null error

* fix: Failed to execute 'stop' on 'AudioScheduledSourceNode' error

* docs: Add changelog entry and better comment
* add workaround

* move workaround to silence-mode module

* doc update

* add changelog entry

Co-authored-by: Thijs Triemstra <info@collab.nl>
* Fix null is not an object in fillText

* add changelog entry

Co-authored-by: Thijs Triemstra <info@collab.nl>
* update changelog

* bump version: 5.2.0

* disable globalObject due to build issue

* update dev dependencies
…ogressColor parameters (#2345)

* add additional type to waveColor and progressColor parameters to support linear gradients

* extract repeat code block in setFillStyles to GetFillStyle method

* add version marker for 5.3.0 to getFillStyle method

Co-authored-by: Kenneth Caple <kennethcaple@gmail.com>
SishaarRao and others added 25 commits March 11, 2023 11:04
Co-authored-by: Sishaar Rao <sishaar@nooks.in>
* regions new features: editableContent, removeButton
with example how it works

* fix #2521 request changes

* add removeEventListener to each addEventListener

---------

Co-authored-by: Thijs Triemstra <info@collab.nl>
* [FIX] respect mute state when changing volume during mute

@see #2502

* change unreleased version from to 6.2.0

---------

Co-authored-by: Thijs Triemstra <info@collab.nl>
Co-authored-by: katspaugh <381895+katspaugh@users.noreply.github.com>
* release: 6.5.0

* Rm duplicates in the changelog

* Add a better description for funding.yml

* Spelling
* Fix: github repo URL

* Restore branch name
…ams (#2646)

* Used setTimeout() method to require a minimum time period passes before
redrawing/recalculating to reduce CPU requirements while zooming in on
waveforms.
Currently displaying a waveform image in example/zoom which will be used
to hide the lack of wave drawing while zooming.

* Implemented a backimage mimicking the wave to display zoom level faster
TO DO:
Hide the real wave while zooming
Hide the backimage after zooming
Zoom in on current timestamp while zooming on backimage
FUTURE:
Split or crop backimage for longer waves
Re-render backimage to match the colour style of the wave with selected
timestamp

* Added hiding/showing of elements while zooming
Since the coloured section of the wave is also handled by canvas objects
within a wave I am going to move the backimage functionality into the
canvasentry.js file so that each canvas handles it's own image, which
should resolve the issue as well as segment the image into sections.

* backimages are stored and drawn for each canvas entry. Current issue is
the left offsets of each backimage are not being calculated correctly
and images are overlapping.

* Zooming now correctly handles progress positions.
Creates backimages for progress wave
Left offset of canvas elements are handled correctly.

* Zooming out now works without any issues
Zooming in needs a viewable region boundary implemented so that canvases
don't become too large.
Progress tracking and regions plugin work without any issues now.

* Zoom optimisations have been made
Canvases not in frame are cleared and not rendered
Canvases that become too large are clipped
Progress location is maintained

* Added priority drawing for canvases in view
Currently, changing zoom level before all canvases have been loaded
causes issues, my next goal is to fix this by either improving the
handling of missing canvases or preventing zoom change until all
canvases have loaded.

* Zoom slider locks up if rendering isn't finished
I'll use and hopefully instead of locking up I can return to a backup
render of the wave.

* Allows zooming immediately after release
This is done by cancelling loading and showing only loaded sections

* Improved backup image that can handle large waves
Zooming out on partially loaded waves loads a backup image, this
features works regardless of wave size.

* Optimisation checks if there is a wrapper
With this change the branch now passes the included tests

* Fixed issues with back image generation
Low zoom level previously caused issue with back image generation, the
issue has been resolved.

* Added zooming to spectrogram example
This will allow testing of the intended multicanvas implementation

* Spectrogram successfully split into two canvases
Canvases are equally sized
Calculation is on the whole spectrogram and then converted to seperate
canvases
This is a starting point for scaling up to an adaptive number of
canvases, similar to the multicanvas drawer used for the main wave.
Ideally calculation can be moved such that it is done for each canvas,
this would mean speed could be improved by calcuating visible
spectrogram canvases.
Right now this offers no noticeable speed improvement, but could improve
the ability to display zoomable spectrograms without creating images
too large for browsers.

* Working for arbitrary number of canvases
Image still generated first then split, limiting max size
Committing a working version before attempting fix

* spectrogram sections are generated per-canvas
Currently trying to draw all canvases at once causes failure
Next I'm going to implement staggering of the canvases to hopefully
allowing further zooming even without performance improvements

* Spectrogram can now display at unlimited width
Fixed an issue where resample() was creating full-size arrays instead of
limiting to the canvas size
Fixed an issue where render() was being called twice as a result of an
incorrect event fire in wavesurfer.js
Removed placeholder text in zoom example

* Spectrogram only draws viewable canvases
After this I will implement delays rendering of low-priority canvases

* Rearranged variables to allow for setting delays

* Canvases stretch to zoom

* Zoom now scales correctly against waveform
Fixed issue where progress wasn't accurate during zoom

* Improved zooming functionality for wavesurfer
Removed functions that were no longer necessary
backimages are no longer required, existing canvases are stretched
during zoom.
backup image is no longer required, canvases can continue rendering
during the zooming process.

* Implemented priority rendering for spectrogram
Removed/changed comments referring to the removed backimage/backupimage

* Added timeout clearing to prevent drawing old canvases after zoom level
changes

* Removed unecessary class variables

* Patched in a fix so that original zooming behaviour is preserved
Upon first call of the stretchCanvases() function the drawer will switch
over to the optimised zoom functionality

* Removed unecessary changes to formatting

* Removed more unecessary changes

---------

Co-authored-by: Luke Harrison <s4587520@student.uq.edu.au>
Co-authored-by: GitHub Actions <github@action>
* Chore: automate changelog

* Update the readme wrt releasing

* Fix changelog

* Readme

* Rm production, use master

* Fix commit message

* Fix sed

* List syntax: * -> -

* Exit on error

---------

Co-authored-by: GitHub Actions <github@action>
* Release 6.6.0

* Update CHANGES.md
* Fix: NPM publish in the CI job

* Test on this branch

* Dependencies

* Revert "Test on this branch"

This reverts commit 5d9f92f.

* if success()
* Fix: avoid exit 1 in CI script

* Temp: test on this branch

* Release 6.6.1

* Test release

* Rm temp test
* remove marker by id

* better implementation

* remove extra whitespace
Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](eemeli/yaml@v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](socketio/engine.io@6.4.1...6.4.2)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](socketio/socket.io-parser@4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@katspaugh katspaugh deleted the branch kzantow-audio:master May 28, 2023 12:50
@katspaugh katspaugh deleted the master branch May 28, 2023 12:50
@katspaugh katspaugh restored the master branch May 28, 2023 13:05
@katspaugh katspaugh deleted the branch kzantow-audio:master July 1, 2023 19:26
@katspaugh katspaugh deleted the master branch July 1, 2023 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet