Computer Science Canada adding music/soundefects from harddrive? |
Author: | circles [ Thu Oct 07, 2004 8:01 pm ] |
Post subject: | adding music/soundefects from harddrive? |
i ahve a program, and i need to add in a sound effect and/or music. how do i do this? do i need to put the wav file in a certain folder or something? i have the sound file on my computer, btu i dont know the command of how to input it into the program. if it helps any, im running version 3.1.1A |
Author: | Paul [ Thu Oct 07, 2004 8:10 pm ] |
Post subject: | |
Music.PlayFile then press f9 |
Author: | circles [ Thu Oct 07, 2004 8:37 pm ] |
Post subject: | |
i know the f9 thing, and ive done it. i have that all setup and i ahve the file inside of the brackets, in quotes, but it wont play it! whats wrong? i can give yoiu the code if needed. |
Author: | Delos [ Fri Oct 08, 2004 12:11 pm ] | ||
Post subject: | |||
Please post your code. Specifically the part that's giving you problems. Quote: Music.PlayFile ( fileName : string )
|
Author: | Jonny Tight Lips [ Fri Oct 08, 2004 2:38 pm ] |
Post subject: | |
I've got a question. What types of sounds files does turing suppert?(version 4.05) |
Author: | Mazer [ Fri Oct 08, 2004 2:50 pm ] |
Post subject: | |
*.wav, *.mp3, and (I think) *.mod. You might want to check the reference to be sure. |
Author: | Cervantes [ Fri Oct 08, 2004 3:12 pm ] | ||||
Post subject: | |||||
Check the path to make sure it's right. if you don't specify the whole tree, it'll only look in the folder where the turing program is. ie.
will only play the song if SultansOfSwing.mp3 is in the same folder as your turing program however,
should play it, and it doesn't have to be in the same folder as the program. other then that, check to make sure everything is spelled correctly. |