How to concatenate sound files using C

Hi friends,

I have a list of sound files names stored in a text file and I also have the sound files (in wav format) stored the same directory and I need to reproduce them with a interval of time in the middle of them:

sound_file + interval + sound_file + interval + sound_file... = final_sound_file

I guess make a program to reproduce the files with intervals of time it's not a big problem but I don't know how to generate a unique file at the end.

The main characteristics of the program should be:

* Read the names from a text file.
* Specify the interval of time.
* Read the sound files.
* Generate the final sound file.

I was thinking to use the libsndfile sound library.

Anybody have an idea how to do it?

Thanks in advance.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!