Author |
Message |
Big_Tom
|
Posted: Mon Jun 16, 2003 11:27 am Post subject: Adding sound to the program |
|
|
How can i add sound to my program? I know it has to be mp3 format and i can do that all right...it's just that i dont know what code to use. Please help me. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
JayLo
|
Posted: Mon Jun 16, 2003 12:16 pm Post subject: (No subject) |
|
|
Music.PlayFile ("filename")
remember to put the music file in the same directory as your program. |
|
|
|
|
|
Andy
|
Posted: Mon Jun 16, 2003 2:45 pm Post subject: (No subject) |
|
|
i dun think turing plays mp3s not sure if they fixed it |
|
|
|
|
|
JayLo
|
Posted: Mon Jun 16, 2003 2:50 pm Post subject: (No subject) |
|
|
they do. i think. i'll try it out. |
|
|
|
|
|
krishon
|
Posted: Mon Jun 16, 2003 3:51 pm Post subject: (No subject) |
|
|
ye, turing 4 can play mp3's i've done that for my proiject. as well remember to use a fork to play the music while running the other code in the program |
|
|
|
|
|
Andy
|
Posted: Mon Jun 16, 2003 4:41 pm Post subject: (No subject) |
|
|
ya just have
code: |
process music
Music.PlayFile("musicname")
end music
fork music
|
|
|
|
|
|
|
Big_Tom
|
Posted: Mon Jun 16, 2003 5:39 pm Post subject: (No subject) |
|
|
So what other types of music files does it support? |
|
|
|
|
|
JayLo
|
Posted: Mon Jun 16, 2003 5:55 pm Post subject: (No subject) |
|
|
.mid
.wav |
|
|
|
|
|
Sponsor Sponsor
|
|
|
born130
|
Posted: Mon Jun 16, 2003 7:05 pm Post subject: (No subject) |
|
|
.mp3 |
|
|
|
|
|
JayLo
|
Posted: Mon Jun 16, 2003 7:22 pm Post subject: (No subject) |
|
|
Big_Tom wrote: So what other types of music files does it support? Other types stop spamming. |
|
|
|
|
|
Andy
|
Posted: Mon Jun 16, 2003 7:25 pm Post subject: (No subject) |
|
|
lol told ben, go Jay Lo, way to shut him down, lol 8) |
|
|
|
|
|
Big_Tom
|
Posted: Mon Jun 16, 2003 8:26 pm Post subject: (No subject) |
|
|
wha? i dont see how that was spam...thanks for the help though. |
|
|
|
|
|
|