Computer Science Canada

"Music.PlayFile" error

Author:  BRENDON, CREIGHTON [ Tue Apr 28, 2009 4:53 pm ]
Post subject:  "Music.PlayFile" error

i am having errors with my program, as it keeps adressing Playfile as the issue.Any help is greatly appreactiated Note:music is my file name

process DoMusic
loop
Music.PlayFile "C:/Users/brendon/Desktop/Turing 4.1.1/music.mp3"
end loop
end DoMusic

fork DoMusic

Author:  tjmoore1993 [ Tue Apr 28, 2009 4:55 pm ]
Post subject:  RE:"Music.PlayFile" error

One moment...

Author:  Tony [ Tue Apr 28, 2009 4:59 pm ]
Post subject:  RE:"Music.PlayFile" error

code:

Music.PlayFile("C:/Users/brendon/Desktop/Turing 4.1.1/music.mp3")

?

Author:  BRENDON, CREIGHTON [ Tue Apr 28, 2009 5:01 pm ]
Post subject:  RE:"Music.PlayFile" error

um sorry, im quite new at this just started monday. what would be wronge with the line?

Author:  BRENDON, CREIGHTON [ Tue Apr 28, 2009 5:04 pm ]
Post subject:  RE:"Music.PlayFile" error

its probly my file then leme try another one

Author:  tjmoore1993 [ Tue Apr 28, 2009 5:04 pm ]
Post subject:  RE:"Music.PlayFile" error

Turing:

process DoMusic
Music.PlayFile ("C:\\CokeTown.mp3")
end DoMusic

fork DoMusic


Author:  Tony [ Tue Apr 28, 2009 5:05 pm ]
Post subject:  RE:"Music.PlayFile" error

It's different from your line.

Author:  tjmoore1993 [ Tue Apr 28, 2009 5:08 pm ]
Post subject:  RE:"Music.PlayFile" error

I've noticed with Tuing it can't handle higher quality audio.

Example

Turing can handle up to APPROX. 128KBit (Correct me if I am wrong)

Author:  BRENDON, CREIGHTON [ Tue Apr 28, 2009 5:08 pm ]
Post subject:  RE:"Music.PlayFile" error

yeh never mind i thought you were bashing mw from some reason:)

Author:  BRENDON, CREIGHTON [ Tue Apr 28, 2009 5:09 pm ]
Post subject:  RE:"Music.PlayFile" error

that could be it my audio files 136kb

Author:  BigBear [ Tue Apr 28, 2009 5:10 pm ]
Post subject:  RE:"Music.PlayFile" error

Try saving both your music file and your turing source file in the same folder

Author:  tjmoore1993 [ Tue Apr 28, 2009 5:11 pm ]
Post subject:  Re: RE:"Music.PlayFile" error

BRENDON, CREIGHTON @ Tue Apr 28, 2009 5:09 pm wrote:
that could be it my audio files 136kb


I have just tested with an audio file ripped from a CD (MP3) and I preferably go for the highest quality that I can get which in my case is 428Kbit. I then attempted a basic sound (CokeTown.MP3) it is about 80KBit and it seemed to work.


I will be experimenting with it now!


*TESTED*
The hypothesis was incorrect although it can be caused by a problem with your media file. To assure that it isn't your media file, try simply using another media file to debug the problem.


: