Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qix-/beep-osx
"Hardware speaker" beep for OS X
https://github.com/qix-/beep-osx
Last synced: 26 days ago
JSON representation
"Hardware speaker" beep for OS X
- Host: GitHub
- URL: https://github.com/qix-/beep-osx
- Owner: Qix-
- License: mit
- Created: 2015-12-19T14:03:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-20T01:44:26.000Z (almost 9 years ago)
- Last Synced: 2024-10-05T13:41:15.271Z (about 2 months ago)
- Language: Objective-C
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `beep` for OS X
> Because Apple decided retina screens are more valuable than hardware speakers (_scoff_)
```shell
$ beep # plays a 750Hz beep for 1s
$ beep -f 1000 -l 500 # plays a 1000Hz beep for 500ms
```## Usage
```
usage: beep [-f N] [-l N]Plays an audible sine wave
-h, --help shows this message
-f, --frequency=N beep at N Hz
-l, --length=N beep for N milliseconds
```# Building
Must have [XOpt](https://github.com/Qix-/xopt) built and in your `CFLAGS`
environment variable as header/library include paths (or installed via a package
manager if I ever get around to it...)Then just call `make`.
Example:
```shell
$ CFLAGS="-I /src/xopt -L /src/xopt" make
```# License
Slightly adapted from an answer by [admsyn](http://stackoverflow.com/a/14478420).
Adaptation by Josh Junon.Released under the [MIT License](LICENSE).