Giter Site home page Giter Site logo

sox-bin's Introduction

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

sox-bin's People

Contributors

artskydj avatar tehshrike avatar

Stargazers

 avatar Josh Stuible avatar Michael Schramm avatar  avatar Chris Swithinbank avatar Alexander Elgin avatar gabssnake avatar Mohammad Rajabloo avatar Matt McKegg avatar Jeremy Wentworth avatar

Watchers

James Cloos avatar  avatar  avatar

sox-bin's Issues

SoX is not executable

On OS X, if I npm i sox-bin and try using it as described in the README, I receive a “Permission denied” error.

To make it work, I have to make it executable after installing. For example:

const sox = require('sox-bin')
const cp = require('child_process')

const command = `'chmod +x ${sox}'`

cp.exec(command, err => {
  if (err) throw err
})

Is this the expected behaviour?

Mac OS X M1

👋 What would it take for this sox-bin to work on Mac OSX M1 machines?

The dependency it's crashing npm install for one of my project.

Thanks in advance, and happy to help with a little guidance 😄

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.