A JavaScript function that helpes resample linear arrays. Modifyied version for WaveForms of largest Triangle Three Buckets algorithm ( original code Sveinn Steinarsson ) . Ideal for anyone who wants a responsive waveform in own application.
- Responsive Waveform : https://codepen.io/Alexufo/pen/NNGKGM
- Example of a player with JSON waveform: https://codepen.io/Alexufo/pen/rrjBVx
MIT