Copy part of AudioClip to other clip


I have a microphone recorded clip and want copy a part of that to other clip.

anybody have solution?


Use AudioClip.GetData to get an array of the sampled data, trim away what you do not need from the array and use AudioClip.SetData on another new audioclip to save the trimmed sample set.