Author |
Message |
Le Chuck
|
Posted: Sun Dec 07, 2003 5:11 pm Post subject: Okay... Uploading Music Files... |
|
|
Is there any way I can upload a music file into my program and fork it with some other tasks? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
poly
|
Posted: Sun Dec 07, 2003 5:16 pm Post subject: (No subject) |
|
|
code: | process music
loop
Music.PlayFile ("song.mp3")
end loop
end music
fork music
|
you want to loop the music so it dont just stop in the middle of your game/program |
|
|
|
|
|
Le Chuck
|
Posted: Sun Dec 07, 2003 5:23 pm Post subject: (No subject) |
|
|
Yeah, I tried that and for some reason, the program runs but I'm not getting any sound... |
|
|
|
|
|
AsianSensation
|
Posted: Sun Dec 07, 2003 5:26 pm Post subject: (No subject) |
|
|
you must input the correct directory for wherever your music file is located at. Make sure all the spelling is correct and whatnot. |
|
|
|
|
|
Le Chuck
|
Posted: Sun Dec 07, 2003 5:30 pm Post subject: (No subject) |
|
|
Okay, so here's what Ive got...
code: | process music
loop
Music.PlayFile ("C:/Program Files/OOT for Windows/hmk.mp3")
end loop
end music
fork music |
and that still won't work...
Sorry, but I'm really confused... |
|
|
|
|
|
santabruzer
|
Posted: Sun Dec 07, 2003 5:45 pm Post subject: (No subject) |
|
|
you are using the wrong slash.. i think.. shouldn't it be "\" instead of "/"...? |
|
|
|
|
|
Le Chuck
|
Posted: Sun Dec 07, 2003 5:47 pm Post subject: (No subject) |
|
|
Nope, that didn't help any... |
|
|
|
|
|
santabruzer
|
Posted: Sun Dec 07, 2003 5:53 pm Post subject: (No subject) |
|
|
i tried to run it, and it plays.. perfectly.. i don't know what's wrong.. To play mine i put the program into the same directory as the music file, and basicaly just put
code: | Music.PlayFile ("song.mp3") |
You have to make sure that you have the correct song and name |
|
|
|
|
|
Sponsor Sponsor
|
|
|
poly
|
Posted: Sun Dec 07, 2003 5:53 pm Post subject: (No subject) |
|
|
ok here is what you do. You take the mp3 and copy it... than paste it in the same folder as the turing file, than all you have to do is:
code: | process music
loop
Music.PlayFile ("hmk.mp3")
end loop
end music
fork music | now youll just need to put hmk.mp3 because the mp3 file is in the same folder as the turing folder
Now if that does not work, what version of turing do you have? |
|
|
|
|
|
santabruzer
|
Posted: Sun Dec 07, 2003 5:54 pm Post subject: (No subject) |
|
|
repeating what i say |
|
|
|
|
|
poly
|
Posted: Sun Dec 07, 2003 5:57 pm Post subject: (No subject) |
|
|
we posted at the same time! |
|
|
|
|
|
santabruzer
|
Posted: Sun Dec 07, 2003 5:58 pm Post subject: (No subject) |
|
|
must of had the same thought at the same time... |
|
|
|
|
|
Le Chuck
|
Posted: Sun Dec 07, 2003 6:00 pm Post subject: (No subject) |
|
|
Okay, that doesn't work... my version is...
Object Oriented Turing (3.1.1A (32 Bit)) |
|
|
|
|
|
santabruzer
|
Posted: Sun Dec 07, 2003 6:03 pm Post subject: (No subject) |
|
|
Maybe you should upgrade to 4.0.4[d]... or 4.0.4 works for music.... try it |
|
|
|
|
|
Le Chuck
|
Posted: Sun Dec 07, 2003 6:08 pm Post subject: (No subject) |
|
|
Alright, I can't get the patch because my version is too old... not to mention I need to talk to my Comp Sci Teacher about updatess apparently... So, does anybody have a patch for my version? |
|
|
|
|
|
|