Skip to content

aivis/nodejs-wav2png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-wav2png

Node.js wrapper for beschulz wav2png (https://github.com/beschulz/wav2png)

Install

npm install wav2png

Usage

var Wav2png   = require('wav2png');

var arguments = ['--foreground-color=ffb400aa', '--background-color=2e4562ff'];
var wav2png   = new Wav2png(arguments);

wav2png.capturePng('test.wav', 'test.png');

wav2png.on('error', function(err, stdErr) {

    console.log(err, stdErr);

});

wav2png.on('done', function() {

    console.log('done');
    
});

About

Node.js wrapper for beschulz wav2png

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published