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

Username:   Password: 
 RegisterRegister   
 yo
Index -> Programming, Turing -> Turing Help
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Fukith




PostPosted: Sat Mar 05, 2005 6:04 pm   Post subject: yo

hey i checked all help tutorials but, my music file is not playing
its an apprentice theme song which is called "turing", which is a .wav file.... any suggestions?
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Sat Mar 05, 2005 6:24 pm   Post subject: (No subject)

Stop spamming. You'll get the help you need if you give us information on your problem. There could be a variety of reasons why the file isn't playing. How are we to know which is the reason when all you tell us is that it doesn't work?
ssr




PostPosted: Sat Mar 05, 2005 6:31 pm   Post subject: (No subject)

cough
if just playing files
check the tutorial again
I learnt a lot from it
and one more suggestion
dont use "yo"
u will get all ur bits off
lol 8)
Token




PostPosted: Sat Mar 05, 2005 6:43 pm   Post subject: (No subject)

why dont you just post your code so we can see what you've done wrong? it makes it so much easier to help if you give us something to work with, because it could be a number of things, you could have made the music process a procedire in stead, and there for it wont fork, or maybe your not even forking it at all (as bad as that sounds) just post the code so we can help you out
Flikerator




PostPosted: Sat Mar 05, 2005 6:49 pm   Post subject: Re: yo

Fukith wrote:
hey i checked all help tutorials but, my music file is not playing
its an apprentice theme song which is called "turing", which is a .wav file.... any suggestions?


Music.PlayFileLoop (" .wav")

Insert the filename there before ".wav", I already answered this question...
Fukith




PostPosted: Sat Mar 05, 2005 7:20 pm   Post subject: yea

yea that code doesnt work... and bits dont matter to me you can take.. well heres my code...
code:

setscreen ("graphic,title: The Apprentice By: Andrew Saggiorato,nobuttonbar")
colourback (black)

process DoMusic
    loop
        Music.PlayFile ("Apprentice.wav")
    end loop
end DoMusic

fork DoMusic

var word : string := " Do You Have What It Takes?"
var cola : int := 30
colorback (black)
for row : 1 .. 25
    for col : 1 .. 80
        put " " ..
    end for
end for
color (white)
for a : 1 .. length (word)
    locate (22, cola)
    cola += 1
    put word (a)
    delay (100)
end for
mwachna




PostPosted: Sat Mar 05, 2005 7:31 pm   Post subject: (No subject)

first...make sure the computer is not muted
second, where did you get this WAV file from?...if it was an mp3, use the mp3 file. You can't just simply change the extention of the file into a WAV file...its doesnt work like that.
And thirdly, make sure that the music file exists in the directory of turing.

-matt
-Go T-Cats-
Cervantes




PostPosted: Sat Mar 05, 2005 7:35 pm   Post subject: (No subject)

Change
code:

Music.PlayFile ("Apprentice.wav")

to
code:

Music.PlayFile ("C:/WINDOWS/Desktop/Apprentice.wav")

assuming that's where you're desktop folder is.

Also, instead of going through two for loops just to change the colour of the background (bad idea. Takes way too much processing power), just put cls after your colourback.

Btw, in trying to find "Andrew Saggiorato", google coughed up a whopping one result:
google wrote:

Iona Junior Boys
... 185, 392, Kevin Martineau, Saint Charles Garnier, 26.54.25. 186, 1438, Andrew Saggiorato,
Chaminade College, 26.55.13. 187, 2118, Jordan Abrams, York Mills CI, ...
www.ofsaatrack2003.com/iojb04.htm
Sponsor
Sponsor
Sponsor
sponsor
EvoX




PostPosted: Sat Mar 05, 2005 8:13 pm   Post subject: eh

hahaha at least i triedd.....
EvoX




PostPosted: Sat Mar 05, 2005 8:18 pm   Post subject: ok guys

guys im really confused.... the music file is still not working... im using windows xp, and i converted my apprentice file from a mp3 to a wav.... i also renamed it.. would this change any outcome?.. please someone help me!
MihaiG




PostPosted: Sat Mar 05, 2005 8:24 pm   Post subject: (No subject)

any1 who gets banned must wait...if they get a new account dan will filter their ip as he said a few times in a main post Rolling Eyes
mwachna




PostPosted: Sat Mar 05, 2005 9:15 pm   Post subject: (No subject)

damn yer dumb kid...i just told you not to convert it. If you can't even come up with a simple Q&A program, im positive you do not know how to properly convert an mp3 into a WAV. Just use the flippin mp3 file. Turing does support mp3 files.

-matt
-Go T-Cats!-
Flikerator




PostPosted: Sat Mar 05, 2005 9:23 pm   Post subject: (No subject)

99.7%? :rolls eyes:
EvoX




PostPosted: Sat Mar 05, 2005 9:26 pm   Post subject: ...

i got it to work....

how can i place this text in the following background?

code:

setscreen ("graphic,title: The Apprentice By: Andrew Saggiorato,nobuttonbar")
colourback (black)
cls

process DoMusic
    loop
        Music.PlayFile ("Apprentice.wav")
    end loop
end DoMusic

fork DoMusic

var word : string := " Do You Have What It Takes?"
var cola : int := 30
colorback (black)
for row : 1 .. 25
    for col : 1 .. 80
        put " " ..
    end for
end for
color (white)
for a : 1 .. length (word)
    locate (22, cola)
    cola += 1
    put word (a)
    delay (100)
end for

for decreasing i : maxy .. 0
    RGB.SetColour (1, 0, 0, i * (1 / maxy))
    Draw.Line (0, maxy - i, maxx, maxy - i, 1)
end for

for a : 1 .. 500
    var x := Rand.Int (0, maxx)
    var y := Rand.Int (150, maxy)
    var c := Rand.Int (16, 31)
    Draw.Dot (x, y, c)
end for

drawfillbox (0, 0, maxx, Rand.Int (25, 30), 7)
var hold : int
for i : 1 .. 200
    hold := Rand.Int (0, maxx)
    drawfillbox (hold, 0,hold+Rand.Int (10,20), Rand.Int (0, 100), 7)
end for
ssr




PostPosted: Sat Mar 05, 2005 9:28 pm   Post subject: (No subject)

lol
got banned?

Laughing
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 2  [ 18 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: