• Stars
    star
    986
  • Rank 46,429 (Top 1.0 %)
  • Language
    Objective-C
  • License
    Other
  • Created almost 12 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Octave: A free library of UI sounds, handmade for iOS

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 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 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]