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

Username:   Password: 
 RegisterRegister   
 Music.PlayFile (More than just 3 sounds at once?)
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Agner




PostPosted: Wed Apr 01, 2009 4:08 pm   Post subject: Music.PlayFile (More than just 3 sounds at once?)

Quote:
Playing a second music file with the same format as an already playing piece immediately halts the first piece and starts the second. This can be used to stop a single type of music by playing a short silent piece of music.


From the turing reference, so what I can understand is that I can have 3 sounds playing at once: one WAV, one MIDI and one MP3 using Music.PlayFile, but what if I want to have more than just those 3? (Correct me if we can use another file type besides those 3) or am I stuck with using 3 files at once?

If thats the case then what would be the best option for trying to use more than the three above types? Combining sound effects so that I have bullet shooting+walking in the same thing? or will I not be able to do it?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Wed Apr 01, 2009 4:14 pm   Post subject: RE:Music.PlayFile (More than just 3 sounds at once?)

I think that you might be able to throw in play note / play frequency functions, but you'd have to write the sounds yourself.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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  [ 2 Posts ]
Jump to:   


Style:  
Search: