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

Username:   Password: 
 RegisterRegister   
 playing mp3
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
endusto




PostPosted: Sat Feb 12, 2005 7:37 pm   Post subject: playing mp3

how do you play an mp3 in turing?
Sponsor
Sponsor
Sponsor
sponsor
Flikerator




PostPosted: Sat Feb 12, 2005 8:24 pm   Post subject: (No subject)

code:
Music.PlayFile ("FileName.mp3")
ssr




PostPosted: Sat Feb 12, 2005 10:20 pm   Post subject: (No subject)

check the help section or just press f10 to find out. Very Happy
EgoInsane




PostPosted: Sun Feb 13, 2005 9:23 am   Post subject: (No subject)

Or maybe F9 for the keyword reference Laughing
ste_louis26




PostPosted: Wed Feb 23, 2005 7:08 pm   Post subject: (No subject)

Quote:
Or maybe F9 for the keyword reference

f10 is more helpful
jamonathin




PostPosted: Wed Feb 23, 2005 7:59 pm   Post subject: (No subject)

If you want to play the song while other crap is going on, your going to want to put it into a process and fork it.

code:

process song
loop
Music.PlayFile("song.mp3")
end loop
end song
fork song
mike200015




PostPosted: Wed Feb 23, 2005 8:55 pm   Post subject: (No subject)

when you do the Music.PlayFile and then in brackets you do the song name, but where does the song file have to be (ie. My Documents...) Question
jamonathin




PostPosted: Wed Feb 23, 2005 8:58 pm   Post subject: (No subject)

If you put a direct path to the file (i.e. ("C:\\Whatever\song.mp3")) or just where ever your program is saved (or default folder which is normally my documents).
Sponsor
Sponsor
Sponsor
sponsor
mike200015




PostPosted: Wed Feb 23, 2005 9:04 pm   Post subject: (No subject)

ooh.. kk thanx Exclamation
mike200015




PostPosted: Wed Feb 23, 2005 9:33 pm   Post subject: (No subject)

i tried playing a .mp3 file and it didnt work, but then when i played a .wav it worked Question
jamonathin




PostPosted: Thu Feb 24, 2005 6:43 am   Post subject: (No subject)

Just check if ur mp3 is really .mp3, and make sure that its in the right spot, if that's all right, then maybe you have to update your turing ? Confused
person




PostPosted: Thu Feb 24, 2005 4:44 pm   Post subject: (No subject)

and also, u cant play 2 different types at the same time
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: