             // necessary for audio processing. This optimization may need to be made conditional if
             // we hit similar issues.
             timePitch.bypass = (rate == kRateCenter)
-            
             
             DispatchQueue.main.async {
                 self.delegate?.playbackRateAdjusted()

public class MusicPlayer: AudioPlayer {
    private var player: MPMusicPlayerController {
        didSet {
            player.repeatMode = .none
            player.shuffleMode = .off
        }
    }
    private var playbackBegun: Bool = false

    }

    deinit {
        player.setQueue(with: MPMediaItemCollection(items: []))
        NotificationCenter.default.removeObserver(self)
        player.endGeneratingPlaybackNotifications()
    }
    
