node-sfx
node-sfx copied to clipboard
Windows support
i noticed you have platform json files. Here's how you run a sound effect in the windows cmd.
exec('powershell -c (New-Object Media.SoundPlayer "notification.wav").PlaySync();', function (error, stdout, stderr) {
// output is in stdout
});
I have way to test on Windows so feel free to submit a pull request!
Cannot find module './platform/win32.json
https://github.com/adriancooney/node-sfx/pull/6 seems to work quite well if you have the VBS requirements, most people should :)
is project completely abandoned?