Page 1 of 1

How to merge wav files?

Posted: Tue Jun 21, 2011 7:18 am
by doonay21
Hello,

quick thingy:

I would like to play several wav files in exact order, one after the other. What would be the best way to accomplish this? I looked through maxmod Doc. but I could not find any help there. Could anybody help?

Re: How to merge wav files?

Posted: Tue Jun 21, 2011 1:40 pm
by elhobbs
one way would be to use the custom streaming method in maxmod - there may be easier methods though. it gets a little tougher if the files are all at different sampling rates.

Re: How to merge wav files?

Posted: Tue Jun 21, 2011 2:29 pm
by doonay21
Luckily all waves are recorded with the same rate etc. I will look through streaming many thanks or pointing that out! To give You better understanding of what I would like to accomplish here is an example:

I have 15 wave files to use for my application, and user would have to choose 3 of them, and all 3 should be played one after the other with no pause between them.. Well simple yet hard ;) It would be gorgeous if somebody will share some help with me :)

Re: How to merge wav files?

Posted: Thu Jun 23, 2011 5:11 am
by zeromus
you know the lengths of the sounds. schedule them to play based on their lengths and pay very close attention to the time. thats probably the easiest way to get close to what you want.

going the streaming route is probably doable. it should be a straightforward modification to any streaming example that you can find.