Brotherta / wam-studio

MIT License
16 stars 2 forks source link

Cache waveform pixiJS graphics rendered at different zoom levels for better performance #60

Open micbuffa opened 9 months ago

micbuffa commented 9 months ago

Zoom in/out can be slow when the canvas is large and audio buffer length important. Try to cache rendered waveforms in order to speed up rendering when zooming in/out

micbuffa commented 8 months ago

It should be possible to optimize the zoom to be real-time (just redraw what is on the screen, like in video games with horizontal scrolling). In that case, zoom sliders would be great :-)