I have been scratching my head since long now but not getting around to this. I haven\'t found a single example for Audio editing! I want to insert new Audio file in between
I think your best bet would be to use an ExtAudioFileRef to extract the audio samples of each file into buffers.
Then you can freely mix the samples together to and from whatever position you like and save the new mixed file to disk using ExtAudioFileWriteAsync.
For example: Extract sound 1 into buffer A. Extract sound 2 into buffer B.
Create buffer C whose size is A's length plus B's length. Then write that buffer to disk in whatever format you want using ExtAudioFileWriteAsync.
That file should then be playable by AVAudioPlayer.