adriancooney / node-sfx

Add some sound effects to your node programs.
70 stars 10 forks source link

Windows support #2

Open GMTurbo opened 10 years ago

GMTurbo commented 10 years ago

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
    });
adriancooney commented 10 years ago

I have way to test on Windows so feel free to submit a pull request!

maxwowpow commented 9 years ago

Cannot find module './platform/win32.json

ProbablePrime commented 7 years ago

https://github.com/adriancooney/node-sfx/pull/6 seems to work quite well if you have the VBS requirements, most people should :)

evegreen commented 6 years ago

is project completely abandoned?