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