I have a library of different words/phrases, and in order to build sentences at present I add a combination of these phrases into a playlist to make a sentence. Unfortunately if the user is running cpu intensive applications (which most of my users are) there can be a lag of a few seconds mid-sentence (in between phrases).
In order to combat this I was thinking of an approach which will merge the right combination of mp3 files on the fly into an appropriate phrase, save this in the %temp% directory, and then play this 1 mp3 which should overcome the problem I'm experiencing with gaps.
What is the easiest way to do this in c#? Is there an easy way to do this? The files are fairly small, 3-4 seconds long each, and a sentence can consist of 3-20ish phrases.