1.0.13 • Published 9 years ago

audio-converter v1.0.13

Weekly downloads
106
License
ISC
Repository
github
Last release
9 years ago

Audio Converter

A utility tool for batch converting wave files to ogg/mp3. This tool currently depends on SoX.

Install

npm install audio-converter;
apt-get install sox

Usage

Command Line

audio-converter [options] <input-directory> <output-directory>

Node module

var audioConverter = require("audio-converter");
audioConverter("path/to/waves", "path/to/output", {
    progressBar: true
}).then(function() {
    console.log("Done!");
});

Options

chunkSize, -c <i>

The number of files to be converted in parallel. Default: 100

progressBar, -p

Display progress bar

verbose, -v

Print additional information

mp3Only, -m

Only generate MP3s

oggOnly, -o

Only generate OGGs

mp3Quality, -M <n>

MP3 quality argument provided to Sox. Default: 192 Pass false or "false" to use Sox built-in defaults.

oggQuality, -O <n>

OGG quality argument provided to Sox. Default: 6 Pass false or "false" to use Sox built-in defaults.

Testing

Install and run Mocha

npm install -g mocha;
mocha

Bugs & Issues

If you find any problems with this module, feel free to create a new issue on the github page.

Author

James Meyers

GitHub

1.0.13

9 years ago

1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago