2

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

Community
  • 1
  • 1
Tejaswi Yerukalapudi
  • 8,987
  • 12
  • 60
  • 101
  • If I were you I would just include the files as resources within your app. Why risk rejection by using undocumented stuff? :) – sudo rm -rf Apr 13 '11 at 03:56

1 Answers1

6

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.

Community
  • 1
  • 1
Anne
  • 26,765
  • 9
  • 65
  • 71
  • Thanks, Do you think I'll have any problems with the AppStore approval process by downloading+including these though? Maybe I should just make some. Default tunes on Pianos are probably good enough. – Tejaswi Yerukalapudi Apr 13 '11 at 03:59
  • 1
    I doubt Apple will accept applications that contain their own copyrighted material. Officially they reject it, but I think it might just slip through. – Anne Apr 13 '11 at 04:03
  • 1
    The above mentioned directories are available on my iPhone 4S, iOS 7.0 without jailbreak. – S1LENT WARRIOR Oct 02 '15 at 07:20