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

Username:   Password: 
 RegisterRegister   
 Adding sound to the program
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Big_Tom




PostPosted: Mon Jun 16, 2003 11:27 am   Post subject: Adding sound to the program

How can i add sound to my program? I know it has to be mp3 format and i can do that all right...it's just that i dont know what code to use. Please help me.
Sponsor
Sponsor
Sponsor
sponsor
JayLo




PostPosted: Mon Jun 16, 2003 12:16 pm   Post subject: (No subject)

Music.PlayFile ("filename")

remember to put the music file in the same directory as your program.
Andy




PostPosted: Mon Jun 16, 2003 2:45 pm   Post subject: (No subject)

i dun think turing plays mp3s not sure if they fixed it
JayLo




PostPosted: Mon Jun 16, 2003 2:50 pm   Post subject: (No subject)

they do. i think. i'll try it out.
krishon




PostPosted: Mon Jun 16, 2003 3:51 pm   Post subject: (No subject)

ye, turing 4 can play mp3's i've done that for my proiject. as well remember to use a fork to play the music while running the other code in the program
Andy




PostPosted: Mon Jun 16, 2003 4:41 pm   Post subject: (No subject)

ya just have
code:

process music
Music.PlayFile("musicname")
end music
fork music
Big_Tom




PostPosted: Mon Jun 16, 2003 5:39 pm   Post subject: (No subject)

So what other types of music files does it support?
JayLo




PostPosted: Mon Jun 16, 2003 5:55 pm   Post subject: (No subject)

.mid
.wav
born130




PostPosted: Mon Jun 16, 2003 7:05 pm   Post subject: (No subject)

.mp3
JayLo




PostPosted: Mon Jun 16, 2003 7:22 pm   Post subject: (No subject)

Big_Tom wrote:
So what other types of music files does it support?
Other types stop spamming.
Andy




PostPosted: Mon Jun 16, 2003 7:25 pm   Post subject: (No subject)

lol told ben, go Jay Lo, way to shut him down, lol 8)
Big_Tom




PostPosted: Mon Jun 16, 2003 8:26 pm   Post subject: (No subject)

wha? i dont see how that was spam...thanks for the help though.
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  [ 12 Posts ]
Jump to:   


Style:  
Search: