I would like to play some songs coming from the iTunes Libray in the form of MPMediaItem by changing their pitch. I already got AVAudioSessions from them and I found an assorted list of references explaing how to how to change the pitch of an AVAudioFile:
http://mhorga.org/2015/07/09/audio-processing-with-avfoundation.html
https://github.com/arielelkin/SwiftyAudio
https://swiftios8dev.wordpress.com/2015/03/05/sound-effects-using-avaudioengine/
http://stackoverflow.com/questions/25333140/using-sound-effects-with-audioengine
Yet I found no information about how to get an AVAudioFile from the AVAudioSessions I have. Have you got any idea about how to do it?