Author |
Message |
siege
|
Posted: Thu May 11, 2006 7:48 pm Post subject: Help for adding sounds in Turing programs |
|
|
How may i add sounds such as mp3/wav files in turing? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
do_pete
|
Posted: Thu May 11, 2006 8:27 pm Post subject: (No subject) |
|
|
Music.PlayFileReturn or you can make a process with Music.PlayFile in it. |
|
|
|
|
|
Guest
|
Posted: Thu May 11, 2006 9:13 pm Post subject: (No subject) |
|
|
Yeah basically this:
% Plays the song before next statment excecutes
Music.PlayFile("C:/Documents and Settings/song.mp3")
% Plays the song during other statments
Music.PlayFileReturn("C:/Documents and Settings/song.mp3") |
|
|
|
|
|
Tony
|
Posted: Thu May 11, 2006 9:16 pm Post subject: (No subject) |
|
|
vahnx - that's not it
Music.PlayFile() will play the sound file until the end, then continue with the program
Music.PlayFileReturn() will create a new thread and play the sound file inside of it. This allows the rest of the program to continue while the music plays |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Darkmantis
|
Posted: Fri May 12, 2006 6:17 am Post subject: (No subject) |
|
|
Tony you just basically repeated what vahnx just said. |
|
|
|
|
|
|