Pre-rendered Peaks Don't Work for Bars Rendering on 6.0.0
See original GitHub issueWavesurfer.js version(s): 6.0.0
Browser and operating system version(s): Chrome latest on macOS
Code needed to reproduce the issue:
The following below works on Wavesurfer.js version 5.2.0 but not on 6.0.0,
let wavesurfer = WaveSurfer.create({
container: '#wavesurfer,
backend: 'MediaElement',
barWidth: 5 // Works when this is omitted, so applies only to bar rendering
})
wavesurfer.load('https://example.com/audio.mp3', arrayOfPeaks)
Use behaviour needed to reproduce the issue:
Observe peaks aren’t pre-rendering, and bar rendering is empty/flat/silent. If i omit the barWidth: 5
option, it works as usual with normal a waveform rendering.
Thanks,
David
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (7 by maintainers)
Top Results From Across the Web
How to make RED & YELLOW render bars GREEN ... - YouTube
1:40 how tow render using in/out (and why it's not great) 02:45 How to ... Explaining the work area bar and the in...
Read more >Ryujinx Changelog - GitHub
Fixes an issue that caused Mario Kart 8 Deluxe to not work properly when older DLC was disabled but not removed on the...
Read more >v5.0pre13 - February 15 2015 - Cockos Incorporated Forums
"sws extensions don't work - says the version of reaper is incompatible." here too. Take envelopes: set new envelopes to current FX parameter...
Read more >PATCH NOTES - TETR.IO
I'VE BEEN WORKING HARD, BEHIND THE SCENES. ➔ The entire graphics system has been rewritten and optimized. ➔ The text renderer (TheoryType) has ......
Read more >Preact - Releases
This hook creates stable unique identifiers that are consistent between server-side rendering (using preact-render-to-string) and client-side hydration.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll look into it.
Okay. I’ll make do and experiment with arguments to
audiowaveform
and see if I come up with anything! Regardless, I appreciate the fix. 😸