sox-bin
v1.1.0
Published
Get SoX as a binary
Readme
sox-bin
Get SoX as a binary
| Platform | SoX Version | Status | Notes |
|----------|-------------|------------|----------|
| Windows | 14.4.2 | | |
| macOS | 14.4.2 |
| |
| FreeBSD | 14.4.1-5 | Untested | Not working on linux. :( Help wanted |
| Linux | 14.4.1-5 |
| Not working on linux. :( Help wanted |
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"