Post

Replies

Boosts

Views

Activity

Comment on MPMediaPlayback.currentPlaybackRate no longer working in iOS 15.4?
Thanks, this makes many many users happy! To make them even happier, could we have (as a compensation for all this trouble!) a pitch change setting? I can hear that the underlying AudioUnit is a "kAudioUnitSubType_NewTimePitch", it has the following setting: kNewTimePitchParam_Rate = 0, // Global, Cents, -2400 -> 2400, 1.0 so it would be simple to add that feature. Users of my app are asking for this feature all the time and I have filed request for this feature several times.
May ’22
Comment on MPMediaPlayback.currentPlaybackRate no longer working in iOS 15.4?
@oneway111 Checking hasProtectedAsset and isCloudItem is not reliable. I have a bunch of purchased DRM protected iTunes Store files on my devices. "isCloudItem" is false and "hasProtectedAsset" is true and changing the playback rate WORKS for those files. Then I have other "Apple Music" files/songs where "isCloudItem" is false and "hasProtectedAsset" is true but changing the playback rate does NOT work. So there is no way to check if rate change will work or not or if a song is "owned by the user".
Apr ’22
Comment on MPMediaPlayback.currentPlaybackRate no longer working in iOS 15.4?
On my iOS devices I have three types of files/songs in the Music Library: 1: Regular files m4a/mp3 files ripped from a CD or audio files added to iTunes. 2: Files purchased from iTunes Store about 10 years ago, they are DRM protected .m4p files. Those are physical files that are synched from iTunes on my Mac over to the iOS device. 3: Streaming "Apple Music" songs. All three types can be played with "MPMusicPlayerController applicationMusicPlayer". With "type 1" files, changing the speed with currentPlaybackRate works. With "type 3" files, currentPlaybackRate does not work. With "type 2" files, currentPlaybackRate works for some of the files but not for all. I believe I "own" all type 2 files (I did pay for them) but Apple thinks not. So checking if a file is DRM protected or not, doesn't tell us if speed change is possible. If speed change isn't going to be possible we at least need to be able to disable the speed change control. As of now there is no reliable way way to find out if speed change will be possible or not.
Mar ’22