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. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
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. |
|
|
|
|
![](images/spacer.gif) |
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 |
|
|
|
|
![](images/spacer.gif) |
JayLo
|
Posted: Mon Jun 16, 2003 2:50 pm Post subject: (No subject) |
|
|
they do. i think. i'll try it out. |
|
|
|
|
![](images/spacer.gif) |
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 |
|
|
|
|
![](images/spacer.gif) |
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
|
|
|
|
|
|
![](images/spacer.gif) |
Big_Tom
|
Posted: Mon Jun 16, 2003 5:39 pm Post subject: (No subject) |
|
|
So what other types of music files does it support? |
|
|
|
|
![](images/spacer.gif) |
JayLo
|
Posted: Mon Jun 16, 2003 5:55 pm Post subject: (No subject) |
|
|
.mid
.wav |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
born130
![](http://www.battle.net/war3/ladder/portraits/animated/w3xp/W3o5.gif)
|
Posted: Mon Jun 16, 2003 7:05 pm Post subject: (No subject) |
|
|
.mp3 |
|
|
|
|
![](images/spacer.gif) |
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. |
|
|
|
|
![](images/spacer.gif) |
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) |
|
|
|
|
![](images/spacer.gif) |
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. |
|
|
|
|
![](images/spacer.gif) |
|