For example, I have 5 audio files. And, I want to combine these files with C# NAudio.
<------- A.wav -------> <---- B.wav ---->
<---- C.wav ----> <-- D.wav --> <- E.wav ->
I goggled but I can find a solution which apply this situation.
<----- A.wav ----->
<-- B.wav -->
<------ C.wav ------>
How can I combine a lot of audio files with each length and position?
You can do this with the
MixingSampleProviderUse anAudioFileReaderfor each file. Then use theDelayByextension onISampleProviderto insert silence at the start of each file so they begin at the correct position.