Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 "Music.PlayFile" error
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
BRENDON, CREIGHTON




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
tjmoore1993




PostPosted: Tue Apr 28, 2009 4:55 pm   Post subject: RE:"Music.PlayFile" error

One moment...
Tony




PostPosted: 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")

?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
BRENDON, CREIGHTON




PostPosted: 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?
BRENDON, CREIGHTON




PostPosted: Tue Apr 28, 2009 5:04 pm   Post subject: RE:"Music.PlayFile" error

its probly my file then leme try another one
tjmoore1993




PostPosted: 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

Tony




PostPosted: Tue Apr 28, 2009 5:05 pm   Post subject: RE:"Music.PlayFile" error

It's different from your line.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
tjmoore1993




PostPosted: 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)
Sponsor
Sponsor
Sponsor
sponsor
BRENDON, CREIGHTON




PostPosted: 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:)
BRENDON, CREIGHTON




PostPosted: Tue Apr 28, 2009 5:09 pm   Post subject: RE:"Music.PlayFile" error

that could be it my audio files 136kb
BigBear




PostPosted: 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
tjmoore1993




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 12 Posts ]
Jump to:   


Style:  
Search: