Play system sounds on OSX.
npm install osx-system-sounds
|2||downloads in the last month|
|Version||0.1.0 last updated 9 months ago|
|Keywords||system sounds, sounds, system, audio, OSX, mac|
System Sounds for Node.js
This module is written for OSX.
This module provides two methods:
Both methods take an integer representing one of the following sounds:
If a program ends before the sound triggered by .play() is finished, the sound will be interrupted. With .playSync() this is not the case, as it blocks the hole program(!) until the sound has finished playing.
Choose wisely :)