Package Exports
- audio-converter
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (audio-converter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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 soxUsage
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
oggQuality, -O <n>
OGG quality argument provided to Sox. Default: 6