wavesurfer-async-processing-plugin

LIB

-

Asynchronous waveform rendering for WaveSurfer.js

The wavesurfer-async-processing-plugin enhances WaveSurfer.js by introducing asynchronous waveform rendering. This approach prevents the main browser thread from freezing during the analysis of long or high-resolution audio files.

By modifying the internal drawBuffer method and introducing an asynchronous getPeeksAsync function, the plugin processes audio data in a non-blocking manner. This ensures that the user interface remains responsive, even when handling large audio buffers.

Note: This plugin is designed for use with the WebAudio backend of WaveSurfer.js.