TooTallNate / node-speaker

Output PCM audio data to the speakers
648 stars 145 forks source link

Add macos arm64 (m series chip) support. #178

Closed ItsJustMeChris closed 3 months ago

ItsJustMeChris commented 8 months ago

This PR enables compilation on m series chipsets for modern mac systems.

Tested with node examples/sine.js

Issues referencing. https://github.com/TooTallNate/node-speaker/issues/177 https://github.com/TooTallNate/node-speaker/issues/156 https://github.com/TooTallNate/node-speaker/issues/172 https://github.com/TooTallNate/node-speaker/issues/174

shogunsea commented 7 months ago

Can we get this PR shipped 😄

ryan81g commented 6 months ago

Please merge this PR, please, please!

jakew009 commented 6 months ago

Please can someone merge this 🙏

Yankee-by commented 5 months ago

any progress?

shiffman commented 4 months ago

In case anyone is curious I'm able to get this package installed with:

npm install ItsJustMeChris/node-speaker#master

I'm using it inside a VSCode extension. The audio plays but the VSCode extension crashes immediately afterwards. When I run it in a stand-alone test script (outside the extension) I see this in the console.

[1]    40711 trace trap  node testing.js

If anyone has any ideas, let me know! I'm continuing to investigate.