JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q47329F
  • License GNU

Get audio peak data from a local audio filepath as an Observable in a Node.js environment.

Package Exports

  • node-audio-peaks

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-audio-peaks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Node Audio Peaks

Generate peak audio data from a local filepath in a Node.js environment.

Installation

Use your favorite package manager / npm to install.

npm install node-audio-peaks --save

Usage

Version 4.0.1 Audio peak data is returned as an Observable.

getAudioPeaks(url, samples)

import nodeAudioPeaks from "node-audio-peaks";
let audioPeaks = nodeAudioPeaks.getAudioPeaks("./sampleaudio.mp3");
audioPeaks.subscribe(console.log);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This work is licensed under a GNU General Public User License.

Author

Kenneth Caple