Skip to content

audio-waveform 3.1.7

Install from the command line:
Learn more about npm packages
$ npm install @lesjoursfr/audio-waveform@3.1.7
Install via package.json:
"@lesjoursfr/audio-waveform": "3.1.7"

About this version

npm version QC Checks

@lesjoursfr/audio-waveform

Generate waveform from an audio file with a simple API in Node.js.

What is this library?

This library use electron to generate waveform files from an audio file.

Usage

Install the lib and add it as a dependency :

    npm install @lesjoursfr/audio-waveform

Then put this in your code:

    const { AudioAnalyzer } = require("@lesjoursfr/audio-waveform");

    const audioAnalyzer = new AudioAnalyzer(file, options);
    audioAnalyzer.waveform()
        .then(() => {
            console.log("Waveform Generated Successfully!")
        })
        .catch((err) => {
            console.error("Failed to generate Waveform because of ", err)
        });
    );

Parameters

  • file: The audio file
  • options: Optional options to use xvfb for the generation

Details


Assets

  • audio-waveform-3.1.7.tgz

Download activity

  • Total downloads 165
  • Last 30 days 0
  • Last week 0
  • Today 0