问题
I have sound files in my document directory folder and i want to trim that sound file.
How to do that?
回答1:
you can use Extended Audio File Services. have a look at the reference for ExtAudioFileRead & ExtAudioFileWrite (they have sample code) then you can open one audio file read it, trim it and then write the new one.go here http://developer.apple.com/library/ios/#documentation/MusicAudio/Reference/ExtendedAudioFileServicesReference/Reference/reference.html
回答2:
What do you mean by trim ? You want to get chunk for aduio of specific duration from with in main Audio file ?
might be this post could help Serialize Audi File Objective C
来源:https://stackoverflow.com/questions/6303264/how-to-trim-audio-file-in-iphone