sox-bin
v1.0.2
Published
Get SoX as a binary
Downloads
169
Readme
sox-bin
Get SoX as a binary
| Platform | SoX Version | Status | |----------|-------------|------------| | Windows | 14.4.2 | | | macOS | 14.4.2 | | | FreeBSD | 14.4.1-5 | Untested | | Linux | 14.4.1-5 | |
example
var soxPath = require('sox-bin')
var cp = require('child_process')
var command = soxPath + ' --version'
cp.exec(command, function (err, stdout) {
if (err) {
throw err
} else {
console.log(stdout.toString())
}
})
api
var soxPath = require('sox-bin')
soxPath
soxPath
is a string of the path to the SoX binary.
console.log(soxPath) // => "C:\Users\Joseph\Github\sox-bin\vendor\windows\sox.exe"