Computer Science Canada

Okay... Uploading Music Files...

Author:  Le Chuck [ 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? Question

Author:  poly [ Sun Dec 07, 2003 5:16 pm ]
Post 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

Author:  Le Chuck [ Sun Dec 07, 2003 5:23 pm ]
Post subject: 

Yeah, I tried that and for some reason, the program runs but I'm not getting any sound...

Author:  AsianSensation [ Sun Dec 07, 2003 5:26 pm ]
Post subject: 

you must input the correct directory for wherever your music file is located at. Make sure all the spelling is correct and whatnot.

Author:  Le Chuck [ Sun Dec 07, 2003 5:30 pm ]
Post 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...

Author:  santabruzer [ Sun Dec 07, 2003 5:45 pm ]
Post subject: 

you are using the wrong slash.. i think.. shouldn't it be "\" instead of "/"...?

Author:  Le Chuck [ Sun Dec 07, 2003 5:47 pm ]
Post subject: 

Nope, that didn't help any...

Author:  santabruzer [ Sun Dec 07, 2003 5:53 pm ]
Post 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

Author:  poly [ Sun Dec 07, 2003 5:53 pm ]
Post 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?

Author:  santabruzer [ Sun Dec 07, 2003 5:54 pm ]
Post subject: 

repeating what i say Razz

Author:  poly [ Sun Dec 07, 2003 5:57 pm ]
Post subject: 

we posted at the same time!

Author:  santabruzer [ Sun Dec 07, 2003 5:58 pm ]
Post subject: 

Surprised

must of had the same thought at the same time...

Author:  Le Chuck [ Sun Dec 07, 2003 6:00 pm ]
Post subject: 

Okay, that doesn't work... my version is...

Object Oriented Turing (3.1.1A (32 Bit))

Author:  santabruzer [ Sun Dec 07, 2003 6:03 pm ]
Post subject: 

Maybe you should upgrade to 4.0.4[d]... or 4.0.4 works for music.... try it

Author:  Le Chuck [ Sun Dec 07, 2003 6:08 pm ]
Post 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?

Author:  BladeOfDeath [ Sun Dec 07, 2003 6:20 pm ]
Post subject: 

Go to the tiko site and use the link that Stork gave...

Author:  santabruzer [ Sun Dec 07, 2003 6:23 pm ]
Post subject: 

tiko site? what the heck is that?
gimme gimme gimme

Author:  BladeOfDeath [ Sun Dec 07, 2003 6:26 pm ]
Post subject: 

im not allowed... Its our classes computer science site...

Author:  Le Chuck [ Sun Dec 07, 2003 6:43 pm ]
Post subject: 

BladeOfDeath wrote:
Go to the tiko site and use the link that Stork gave...


Thanks I'll do that...

Author:  Andy [ Sun Dec 07, 2003 7:33 pm ]
Post subject: 

4.04d is out??? where??

Author:  santabruzer [ Sun Dec 07, 2003 7:55 pm ]
Post subject: 

Embarassed .. that's a typo... sorry to ruin your excitement dodge_tomahawk....


: