Alarmkit custom sound plays once

When setting a custom sound in AlarmKit, the alarm only plays the audio file once. I can understand why push notifications would play a sound only once, but I don’t understand why alarms can only play the sound for less than 30 seconds. We’re already at beta 6, so I’m wondering if Apple still hasn’t fixed this or if they have no intention of fixing it.

Answered by Engineer in 854344022

Custom sound not playing issue is fixed in the latest beta builds. If it is not working for you, and you have made sure your sound file is correct (supported format and less than 30 seconds), please file a bug report

For sounds not looping, please file a Feedback report for consideration.

I’m having the same issue. Until beta 5 or 6 the custom sound file wouldn’t even play and it would only play a system sound. I’m hoping this is still just a bug and they fix these issues but I’m not sure what to expect.

Accepted Answer

Custom sound not playing issue is fixed in the latest beta builds. If it is not working for you, and you have made sure your sound file is correct (supported format and less than 30 seconds), please file a bug report

For sounds not looping, please file a Feedback report for consideration.

I've just checked beta 7:

  • Custom sounds from the App Bundle — play (once, without repeat)
  • Custom sounds from the Library/Sounds directory — do not play

Could anyone play a sound from the Library/Sounds directory?

I'm able to play custom audio and loop it. I have mine set for multiple minutes of looping. The playback is the most stable when a scheduled alarm plays in the main app's view. It's currently flaky at best, when the custom audio plays via live activity widget extension views, and routinely falls back to the single tone audio that plays "once" that others have reported on Reddit [https://www.reddit.com/r/iOSProgramming/comments/1lgam98/setting_custom_sound_in_alarmkit_doesnt_seem_to/]

Something I realized today though. The main app playback works both in simulator and on a physical device. The widget extension playback WILL work in simulator, but almost always falls back to the default single tone audio when testing on a real device.

Alarmkit custom sound plays once
 
 
Q