Recording File options

Hi I am a new user to Asterisk. I am looking to build a dataplan that would enable me to record files when I call on a certain extension. I need to do some processing on this recorded file and play it back to the user. This much I have implemented. However, I want to reduce the time taken for conversion and the way I want to do this is to extract small portions of the file as it is being recorded and thus, without actually waiting for the recording to finish, I can start processing the sound file as it is getting recorded. At the end, I would concatenate all these small files and play back the transformed file.

Can anyone please help me in identifying the correct way to do this using Asterisk?

Thanks - Harshat