Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lesjoursfr/audio-waveform

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lesjoursfr/audio-waveform

A library to generate waveform for audio files.

  • 3.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21
increased by133.33%
Maintainers
0
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 01 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc