1

Possible Duplicate:
How to reverse an audio file?

Is there any way/library in objective-c to make the audio file in reverse order.

Actually in my application user record his voice and then change the recording in various sounds. Now I have to use the reverse voice.

Please suggest me what should I do.

Thanks

Community
  • 1
  • 1
Shivomkara Chaturvedi
  • 1,697
  • 7
  • 28
  • 42

1 Answers1

0

There is no direct way to achieve such feature on audio file.

My suggestion to do this is to crearte chunks of audio files and merge them in reverse orderin one audio file.

You can use AVMutableComposition,AVMutableCompositionTrack,AVAssetExportSession APIs to achieve this.

You can also get more help from trimming movie file mentioned in Apple documents and same you can do for audio file.

pasawaya
  • 11,515
  • 7
  • 53
  • 92
BornCoder
  • 1,046
  • 8
  • 10