Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How can i fork two audio files at the same time?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
AFG34




PostPosted: Mon Jun 18, 2007 9:01 am   Post subject: How can i fork two audio files at the same time?

^^
Sponsor
Sponsor
Sponsor
sponsor
Albrecd




PostPosted: 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.
AFG34




PostPosted: 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.
HeavenAgain




PostPosted: 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
Cervantes




PostPosted: 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).
AFG34




PostPosted: 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 Very Happy
rahzab




PostPosted: 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.
Clayton




PostPosted: 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).


This thread is locked
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: