Search code examples
iphoneobjective-cringtone

Using iPhone default Alarm sounds in application


Possible Duplicate:
Play alert sound (same as default message ringtone)

Hello all,

Quick question - Is it possible to use one of the default sounds included on the iPhone - Marimba etc. in an iPhone application?

Thanks,
Teja


Solution

  • The actual directories will only be accessible after JailBreak.

    Ringtones (including Marimba):

    /Library/Ringtones/
    

    System sounds:

    /System/Library/Audio/UISounds/
    

    Or use 'AudioServicesPlaySystemSound()' like mentioned by Black Frog.
    Note: This method is undocumented and will cause AppStore rejection.

    Download link for system sounds (comment by clusterfu_k):
    Can I get default audio files of Iphone (marimba, alarm, ascending,...)?
    Note: Possible copyright infringement.