![]() |
|
Adding sounds together |
Kikaru
Member #7,616
August 2006
![]() |
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? |
CGamesPlay
Member #2,559
July 2002
![]() |
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. -- Ryan Patterson - <http://cgamesplay.com/> |
Kikaru
Member #7,616
August 2006
![]() |
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? |
CGamesPlay
Member #2,559
July 2002
![]() |
So you mean playing two sounds at the same time? -- Ryan Patterson - <http://cgamesplay.com/> |
Kikaru
Member #7,616
August 2006
![]() |
No, I mean playing sounds one after another and having them in a single *SAMPLE object. |
CGamesPlay
Member #2,559
July 2002
![]() |
Open up sound recorder and paste the sounds one after the other -- Ryan Patterson - <http://cgamesplay.com/> |
Kikaru
Member #7,616
August 2006
![]() |
OK. Well, thank you for your help! |
|