Author |
Message |
Qwertyuiop K
|
Posted: Sat Jan 05, 2013 7:22 pm Post subject: Playing 2 or more music/sound files. |
|
|
What is it you are trying to achieve?
Play 2 or more music files at once. "Forking" a new file causes the old one to disappear.
What is the problem you are having?
Don't know how to do it / Don't know if possible.
Describe what you have tried to solve this problem
N/A
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Using Music.PlayFile
Please specify what version of Turing you are using
4.1.1 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Insectoid
|
Posted: Sat Jan 05, 2013 7:23 pm Post subject: RE:Playing 2 or more music/sound files. |
|
|
iirc, Turing can't play more than one wav file at a time. Switching to MP3s should fix your problem. |
|
|
|
|
|
evildaddy911
|
Posted: Sat Jan 05, 2013 9:19 pm Post subject: RE:Playing 2 or more music/sound files. |
|
|
That didnt work for me insectoid... Maybe if one is WAV and the other is mp3? I may test that out tommorow... |
|
|
|
|
|
Qwertyuiop K
|
Posted: Sat Jan 05, 2013 10:52 pm Post subject: RE:Playing 2 or more music/sound files. |
|
|
I am using all MP3 files, so that isn't the problem . If it won't work, is there a way to resume the preexisting background music? I have a sound effect for collision, bur it cancels the background music. Is there a way for me to make it so that after the sound effect, the background music will resume (preferably from where it left off)? |
|
|
|
|
|
Insectoid
|
Posted: Sat Jan 05, 2013 10:59 pm Post subject: RE:Playing 2 or more music/sound files. |
|
|
Try converting the background music to a .wav file. I remember having to screw around with sound file types all the time when I used Turing. |
|
|
|
|
|
Qwertyuiop K
|
Posted: Sat Jan 05, 2013 11:39 pm Post subject: RE:Playing 2 or more music/sound files. |
|
|
Yep, both of you were correct. Having a .wav and a .mp3 separately will make them overlap each other! Thanks! So I'm assuming you can have up to 3 sounds at once, since Turing only supports .wav, .mp3, and .midi. |
|
|
|
|
|
evildaddy911
|
Posted: Sun Jan 06, 2013 10:34 am Post subject: RE:Playing 2 or more music/sound files. |
|
|
great! i think i might use that in my game |
|
|
|
|
|
|