Hello. I am writing a game creation utility that supports custom sound. I'm trying to put all the samples into one file, when loading them from different files. Is there a function for adding a sound to the end of another one?
I recommend you use datafiles for this. But if you don't want to do that, you can just use packfiles. You will have separate sound files, but they will be in one physical file, divided up virtually. Check out:
There is no way to save the WAV to the packfile, you will have to open up the wav file and copy every byte into the packfile yourself. Easy to do, just ask.
I found functions for starting and stopping sounds at certain times, and I think I know how save samples, but what about adding the sounds together WITHIN the program?
So you mean playing two sounds at the same time?
No, I mean playing sounds one after another and having them in a single *SAMPLE object.
Open up sound recorder and paste the sounds one after the other If this is all you want to do, use any audio creator to make the sounds catenated.
OK. Well, thank you for your help!