
-----------------------------------
siege
Thu May 11, 2006 7:48 pm

Help for adding sounds in Turing programs
-----------------------------------
How may i add sounds such as mp3/wav files in turing?

-----------------------------------
do_pete
Thu May 11, 2006 8:27 pm


-----------------------------------
Music.PlayFileReturn or you can make a process with Music.PlayFile in it.

-----------------------------------

Thu May 11, 2006 9:13 pm


-----------------------------------
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
Thu May 11, 2006 9:16 pm


-----------------------------------
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

-----------------------------------
Darkmantis
Fri May 12, 2006 6:17 am


-----------------------------------
Tony you just basically repeated what vahnx just said.
