ArtskydJ / node-sox-bin

:speaker: Get SoX as a binary
10 stars 3 forks source link

sox-bin

Get SoX as a binary

Platform SoX Version Status Notes
Windows 14.4.2 Windows Build Status
macOS 14.4.2 macOS Build Status
FreeBSD 14.4.1-5 Untested Not working on linux. :( Help wanted
Linux 14.4.1-5 Linux Build Status 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"

license

VOL