Computer Science Canada

playing mp3

Author:  endusto [ Sat Feb 12, 2005 7:37 pm ]
Post subject:  playing mp3

how do you play an mp3 in turing?

Author:  Flikerator [ Sat Feb 12, 2005 8:24 pm ]
Post subject: 

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

Author:  ssr [ Sat Feb 12, 2005 10:20 pm ]
Post subject: 

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

Author:  EgoInsane [ Sun Feb 13, 2005 9:23 am ]
Post subject: 

Or maybe F9 for the keyword reference Laughing

Author:  ste_louis26 [ Wed Feb 23, 2005 7:08 pm ]
Post subject: 

Quote:
Or maybe F9 for the keyword reference

f10 is more helpful

Author:  jamonathin [ Wed Feb 23, 2005 7:59 pm ]
Post 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

Author:  mike200015 [ Wed Feb 23, 2005 8:55 pm ]
Post 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

Author:  jamonathin [ Wed Feb 23, 2005 8:58 pm ]
Post 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).

Author:  mike200015 [ Wed Feb 23, 2005 9:04 pm ]
Post subject: 

ooh.. kk thanx Exclamation

Author:  mike200015 [ Wed Feb 23, 2005 9:33 pm ]
Post subject: 

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

Author:  jamonathin [ Thu Feb 24, 2005 6:43 am ]
Post 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

Author:  person [ Thu Feb 24, 2005 4:44 pm ]
Post subject: 

and also, u cant play 2 different types at the same time


: