Open EZWrighter opened 9 months ago
This is because the waveform data doesn't have enough pixels to fit the canvas width. The easiest solution is to create the waveform with a lower number of samples per pixel. Or we could change Peaks.js to stretch the waveform.
Or we could change Peaks.js to stretch the waveform.
This seems like a more robust way of handling it, although, would that make the visual wonky?
It would have a lower resolution, I guess the more stretching is applied the worse it will look. It's worth trying.
When my data length is under 3.5 seconds the visualization behaves incorrectly. Showing the 3.5 second timeline as a minimum but only showing the waveform as a portion of that. Not displaying it as an overview at 100% of the canvas.