MPMusicPlayerController can't crossfade between items

Originator:rob
Number:rdar://29313495 Date Originated:17-Nov-2016 10:19 AM
Status:Open Resolved:
Product:iOS SDK Product Version:10.1.1
Classification:Enhancement Reproducible:Always
 
Summary:
Using MPMusicPlayerController, it's not possible to crossfade playing music when transitioning between items. This functionality is desirable when the application wants to smoothly transition between songs (e.g. in the context of a wedding or party).

Steps to Reproduce:
1. Attempt to fade between items using MPMusicPlayerController programatically

Expected Results:
An API should be available for crossfading between items. Possibly something like `skipToNextItem(crossfadeDuration:)`, `skipToPreviousItem(crossfadeDuration:)`, `setNowPlayingItem(item:crossfadeDuration:)` etc.

Actual Results:
There is no way to crossfade between items in a MPMusicPlayerController queue.

Regression:
This API doesn't exist as of iOS 10.1.1

Notes:
This functionality is desired in our applications WeddingDJ and PartyMonster.

Using AVPlayer/AVAudioPlayer APIs is not a valid workaround because not all MPMediaItems can be played back with those APIs (e.g. Apple Music items)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!