How to use the waveform-data/webaudio function in waveform-data

To help you get started, we’ve selected a few waveform-data examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github joshwcomeau / beatmapper / src / middlewares / song.middleware.helpers.js View on Github external
return new Promise((resolve, reject) => {
    webAudioBuilder(audioContext, arrayBuffer, (err, waveform) => {
      if (err) {
        reject(err);
      }

      resolve(waveform);
    });
  });
};
github joshwcomeau / beatmapper / src / helpers / audio.helpers.js View on Github external
.then(buffer => {
        webAudioBuilder(audioContext, buffer, (err, waveform) => {
          if (err) {
            reject(err);
          }

          resolve(waveform);
        });
      });
  });

waveform-data

Audio Waveform Data Manipulation API – resample, offset and segment waveform data in JavaScript

LGPL-3.0
Latest version published 11 months ago

Package Health Score

67 / 100
Full package analysis

Popular waveform-data functions