0.1.0 • Published 13 years ago
plan-transcode v0.1.0
See node-plan.
Backend is node-sox.
input
tempPath- audio to transcodemakeTemp- a function which generates a tempfile and accepts a suffix
output
tempPath- path to the transcoded audio
options
format- destination format, such as 'wav'. defaults to 'mp3'.sampleRate- destination sample rate. defaults to 44100.channelCount- destination channel count. defaults to 2.bitRate- destination bitrate. defaults to 196608 (192kbps)compressionQuality- compression speed vs quality. defaults to 5. seeman soxformatsearch for-Cfor more info
exports
src- info about source audio fileformatsampleRatechannelCountsampleCountdurationbitRate
dest- info about destination audio fileformatsampleRatechannelCountsampleCountdurationbitRate