This package has been deprecated

Author message:

This package is no longer maintained

osx-system-sounds

0.1.0 • Public • Published

System Sounds for Node.js

This module is written for OSX.

This module provides two methods:

  • .play();
  • .playSync()

Both methods take an integer representing one of the following sounds:

  1. Basso
  2. Blow
  3. Bottle
  4. Frog
  5. Funk
  6. Hero
  7. Morse
  8. Ping
  9. Pop
  10. Purr
  11. Sosumi
  12. Submarine
  13. Tink

Note:

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 :)

Readme

Keywords

none

Package Sidebar

Install

npm i osx-system-sounds

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • leonvv