Yes, it would be easier to do this in DirectRT but you would need to determine the length of the sound files in advance. This can be done easily and with a high degree of precision using a freeware program like Audacity (e.g., see download.com).