Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X M1 #8

Open
pietrop opened this issue Jul 14, 2021 · 5 comments
Open

Mac OS X M1 #8

pietrop opened this issue Jul 14, 2021 · 5 comments

Comments

@pietrop
Copy link

pietrop commented Jul 14, 2021

馃憢 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 馃槃

@ArtskydJ
Copy link
Owner

This sox-bin library just has some already-compiled binaries. Sox hasn't cut a release since 2015-02-22, so there's no official M1 version.

Maybe you can try compiling it yourself?

@AustinLeath
Copy link

Experiencing this issue now. Did anyone confirm that downloading the source files and compiling them on an M1 works?

@ArtskydJ
Copy link
Owner

I don't have a mac, but it appears that sox can be installed via homebrew?

I don't know if someone could install it on an M1 and then copy the binary to this repo. Sometimes that works, but sometimes not...

@AustinLeath
Copy link

it does indeed work. We have a project where we are using sox and then piping it into pulseaudio. On an M1 there is some sort of issue with audio volume manipulation, when piping sox into pulseaudio you have to pass the --volume flag to paplay in order to get ungarbled audio.

@AustinLeath
Copy link

The command that we are using that got it to work on an M1 is /opt/homebrew/Cellar/sox/14.4.2_3/bin/sox -d -t wav -r 44100 -b 32 -c 2 - | /opt/homebrew/Cellar/pulseaudio/14.2/bin/paplay --latency=10 --volume=28000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants