1.1.0 • Published 4 years ago

wavedraw v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

wavedraw for node.js

This library currently supports only mono single channel wave files. I haven't tried it with 8 bit wave. I suggest using 16 bit, mono at 44100.

Installation

npm install wavedraw

Usage

const wavedraw = require('wavedraw');
const wd = new wavedraw('test.wav');
const options = {
  width: 600,
  height: 300,
  rms: true,
  maximums: true,
  average: false,
  start: 'START',
  end: 'END',
  colors: {
    maximums: '#0000ff',
    rms: '#659df7',
    background: '#ffffff'
  },
  filename: 'example1.png'
};

wd.drawWave(options);  // outputs wave drawing to example1.png

alt text

Todo

  • [] More unit tests
  • [] Ability to draw mel spectrograms
1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago