oss

osx-system-sounds

Play system sounds on OSX.

Showing:

Popularity

Downloads/wk

3

Maintenance

No Maintenance Data Available

Package

Dependencies

0

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Deprecated!
This package is no longer maintained

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100