# osx-system-sounds

> Play system sounds on OSX.

Latest version **0.1.0** (published 2013-06-15) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install osx-system-sounds
pnpm add osx-system-sounds
yarn add osx-system-sounds
bun add osx-system-sounds
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2013-06-15 |
| First published | 2013-06-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Léon van Velzen |
| Maintainers | leonvv |
| Keywords | system sounds, sounds, system, audio, OSX, mac |

## Links

- npm: https://www.npmjs.com/package/osx-system-sounds
- Repository: https://github.com/leon-vv/node-osx-system-sounds
- npm.io page: https://npm.io/package/osx-system-sounds

## Recent versions

- 0.1.0 (latest) — 2013-06-15

## 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: <br />
1. Basso <br />
2. Blow <br />
3. Bottle <br />
4. Frog <br />
5. Funk <br />
6. Hero <br />
7. Morse <br />
8. Ping <br />
9. Pop <br />
10. Purr <br />
11. Sosumi <br />
12. Submarine <br />
13. Tink <br />

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

---
_Source: https://npm.io/package/osx-system-sounds · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
