node-audio-peaks
v4.0.2
Published
Get audio peak data from a local audio filepath as an Observable in a Node.js environment.
Downloads
33
Maintainers
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