Computer Science Canada No sound |
Author: | william 01 [ Thu Feb 24, 2011 3:30 pm ] | ||
Post subject: | No sound | ||
What is it you are trying to achieve? trying to get turing to play a mp3 when user enters H to go with my lights What is the problem you are having? not getting any audio, not muted, volumes up, right type of file, ... ect Describe what you have tried to solve this problem tried all formes of music code (Music.PlayFile, ... ect) Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using Dont remember (4.1.5 i think) |
Author: | Insectoid [ Thu Feb 24, 2011 3:41 pm ] |
Post subject: | RE:No sound |
I don't see any sound commands in that code. Unless you're doing it wrong, Turing probably isn't loading your sounds. Have you got the filepaths correct? |
Author: | william 01 [ Thu Feb 24, 2011 3:49 pm ] |
Post subject: | Re: No sound |
I have been using the file name methods, I don't know how to do the file paths. the sound code is not there because i removed it because it was not working. If that hinders your help I'm sorry. ![]() |
Author: | Tony [ Thu Feb 24, 2011 4:23 pm ] |
Post subject: | RE:No sound |
you should show how you've tried to use it, in case there's something that might be obvious from looking at the full code. |
Author: | william 01 [ Thu Feb 24, 2011 7:16 pm ] | ||
Post subject: | Re: No sound | ||
this is how I tried to do it. |
Author: | Insectoid [ Thu Feb 24, 2011 8:11 pm ] |
Post subject: | RE:No sound |
Is 'rockthatbody.mp3 in the same folder as your source code? |
Author: | william 01 [ Fri Feb 25, 2011 1:19 pm ] |
Post subject: | Re: No sound |
yes it is. it woks now turns out there was a giant pause at the beginning of the sound file thank you for the help. ![]() |