Computer Science Canada

Loading .Wav .mp3 etc

Author:  Namis [ Wed Sep 17, 2003 6:58 pm ]
Post subject:  Loading .Wav .mp3 etc

How do i add a wav or mp3 or somethin like that to my file? whats the code? Just guesing..

Load.File(C:\\song.mp3/wav)

??

Author:  Mazer [ Wed Sep 17, 2003 7:16 pm ]
Post subject: 

Music.PlayFile ("c:/wherever/whatever.*") %<-- replace '*' with the extension (mp3, wav, mid)

Author:  Tony [ Wed Sep 17, 2003 9:07 pm ]
Post subject: 

I think you have to use double slashes ( \\ ) in turing to properly load files

Author:  Mazer [ Wed Sep 17, 2003 9:34 pm ]
Post subject: 

you can use double slashes or backslash, it's up to you.

Author:  octopi [ Wed Sep 17, 2003 11:01 pm ]
Post subject: 

Mazer wrote:
Music.PlayFile (c:/wherever/whatever.*") %<-- replace '*' with the extension (mp3, wav, mid)


I think you need to use a double qoute...before the c:/

Author:  Mazer [ Thu Sep 18, 2003 8:03 am ]
Post subject: 

yes... that's why i put the double quote there. you... um, you seem to have quoted my post incorrectly. yes, that must be it...

Author:  Dan [ Thu Sep 18, 2003 1:08 pm ]
Post subject: 

this has been covered in this tutoriale: http://www.compsci.ca/v2/viewtopic.php?t=190

Author:  Andy [ Sat Sep 20, 2003 10:19 pm ]
Post subject: 

can turing even play mp3s? i thought i tried it b4 and it didnt work...

Author:  poly [ Sat Sep 20, 2003 10:28 pm ]
Post subject: 

yes it can, I usually just do it by going
code:
    Music.PlayFile ("file.mp3")
[/code]

Author:  krishon [ Mon Sep 22, 2003 7:40 am ]
Post subject: 

yes it can...i did it with my gamea while bak


: