Computer Science Canada How can i fork two audio files at the same time? |
Author: | AFG34 [ Mon Jun 18, 2007 9:01 am ] |
Post subject: | How can i fork two audio files at the same time? |
^^ |
Author: | Albrecd [ Mon Jun 18, 2007 10:35 am ] |
Post subject: | Re: How can i fork two audio files at the same time? |
Put each in a process and then fork both processes. |
Author: | AFG34 [ Mon Jun 18, 2007 1:52 pm ] |
Post subject: | Re: How can i fork two audio files at the same time? |
thats what i was doing in the first place, but once the second process is forked, the first one stops. |
Author: | HeavenAgain [ Mon Jun 18, 2007 4:17 pm ] |
Post subject: | RE:How can i fork two audio files at the same time? |
just put 1 in a process and other one just run? so fork music_one while the music_two is running like a normal program |
Author: | Cervantes [ Mon Jun 18, 2007 4:29 pm ] |
Post subject: | RE:How can i fork two audio files at the same time? |
Chances are you're doing everything correctly except for one minor but all important issue: Turing doesn't allow you to play audio files of the same type at any given time. I don't know why. So you can't play two .mp3's at the same time. It's probably best to make background music a .mp3 and sound effects .wav or one of the other ones (.midi, I think). |
Author: | AFG34 [ Mon Jun 18, 2007 5:46 pm ] |
Post subject: | Re: RE:How can i fork two audio files at the same time? |
Cervantes @ Mon Jun 18, 2007 4:29 pm wrote: Chances are you're doing everything correctly except for one minor but all important issue: Turing doesn't allow you to play audio files of the same type at any given time. I don't know why. So you can't play two .mp3's at the same time. It's probably best to make background music a .mp3 and sound effects .wav or one of the other ones (.midi, I think).
ah, thank you very much ![]() |
Author: | rahzab [ Tue Sep 11, 2007 5:40 pm ] |
Post subject: | Re: How can i fork two audio files at the same time? |
Can't you fork a wav while a mp3 is playing in the background? Im new to this but just an idea. |
Author: | Clayton [ Tue Sep 11, 2007 5:45 pm ] |
Post subject: | Re: RE:How can i fork two audio files at the same time? |
Cervantes @ Mon Jun 18, 2007 4:29 pm wrote: Chances are you're doing everything correctly except for one minor but all important issue: Turing doesn't allow you to play audio files of the same type at any given time. I don't know why. So you can't play two .mp3's at the same time. It's probably best to make background music a .mp3 and sound effects .wav or one of the other ones (.midi, I think).
![]() |