Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scopegate/octave
Octave: A free library of UI sounds, handmade for iOS
https://github.com/scopegate/octave
Last synced: 3 months ago
JSON representation
Octave: A free library of UI sounds, handmade for iOS
- Host: GitHub
- URL: https://github.com/scopegate/octave
- Owner: scopegate
- License: other
- Created: 2013-01-29T10:40:09.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-11-06T20:08:23.000Z (about 10 years ago)
- Last Synced: 2024-06-24T01:40:37.253Z (5 months ago)
- Language: Objective-C
- Homepage: http://raisedbeaches.com/octave
- Size: 556 KB
- Stars: 988
- Watchers: 41
- Forks: 64
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Octave
======
_A free library of UI sounds, handmade for iOS_
http://www.raisedbeaches.com/octave## Why Octave?
Few mobile apps make use of user interface sounds. Whether through lack of time, expertise or interest, not enough developers make use of it. Good sound can enhance usability and draw people into your app, just like well-considered UI or a beautiful icon.Many developers lack the tools or knowledge to do sound well, and most free sound libraries suck. So we figured we'd make it easy for you, and put together a free pack of beautiful, simple sounds that can be used wherever you like.
## What's included?
- 48 hand-crafted sounds - taps, beeps & slides - designed for user interfaces, and saved as 16 bit, 44.1khz .aifs
- A Sound category for UIControl, that makes the use of UI sounds on iOS as easy as: ```[myControl setSoundNamed:@"mySound.aif" forControlEvent:UIControlEventsTouchUpInside]```
- If you're new to working with sound, it might be worth checking out [our tips](http://www.raisedbeaches.com/octave/tips.html) for some things to think about before you start.## UIControl+Sound
UIControl+Sound declares a category on UIControl that uses the magic of [associative references](http://oleb.net/blog/2011/05/faking-ivars-in-objc-categories-with-associative-references/) to allow you to create an AVAudioPlayer simply by calling:````[myControl setSoundNamed:@"mySound.aif" forControlEvent:UIControlEventTouchUpInside]````
This method is _very_ convenient (no need to deal with instantiating AVAudioPlayers, calling ````addTarget:```` on your audioPlayer's ````play```` method for each sound) for the odd one-off sound, but it's probably a little bit leaky, and it's inefficient if you're playing the same sound on a number of different controls.
## Questions? Problems?
email [email protected]