Audio Waveform Data Manipulation API – resample, offset and segment waveform data in JavaScript
npm install waveform-data 
waveform-data.js is a JavaScript library for creating zoomable
representations of audio waveforms to enable visualisation of audio content.
waveform-data.js is part of a BBC R&D Browser-based audio waveform visualisation software family:
- audiowaveform: C++ program that generates waveform data files from MP3 or WAV format audio.
- audio_waveform-ruby: A Ruby gem that can read and write waveform data files.
- waveform-data.js: JavaScript library that provides access to precomputed waveform data files, or can generate waveform data using the Web Audio API.
- peaks.js: JavaScript UI component for interacting with waveforms.
We use these projects within the BBC in applications such as the
BBC World Service Radio Archive and browser-based editing and sharing tools for BBC content editors.
!Example of what it helps to build
Use npm to install waveform-data.js, for both Node.js and browser-based
applications:
``bash`
npm install --save waveform-data
waveform-data.js is available as a UMD
module so it can be used from a