Skip to content

Latest commit

 

History

History
executable file
·
16 lines (12 loc) · 491 Bytes

README.md

File metadata and controls

executable file
·
16 lines (12 loc) · 491 Bytes

as-wav

Prepends a wav header in front of a file and save it as a new file e.g. if the input was somefile.png it will generate a new file somefile.png.mono.wav.

Usage:

node as-wav <file or folder>... [--mode mono|stereo]

or

npm run as-wav <file or folder>... -- [--mode mono|stereo]

If not supplied, it will default to mono.

The process for generating a wav header was derived from the code in node-wav package.