
-----------------------------------
Fukith
Sat Mar 05, 2005 6:04 pm

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?

-----------------------------------
Cervantes
Sat Mar 05, 2005 6:24 pm


-----------------------------------
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
Sat Mar 05, 2005 6:31 pm


-----------------------------------
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
Sat Mar 05, 2005 6:43 pm


-----------------------------------
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
Sat Mar 05, 2005 6:49 pm

Re: 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?

Music.PlayFileLoop (" .wav")

Insert the filename there before ".wav", I already answered this question...

-----------------------------------
Fukith
Sat Mar 05, 2005 7:20 pm

yea
-----------------------------------
yea that code doesnt work... and bits dont matter to me you can take.. well heres my 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
Sat Mar 05, 2005 7:31 pm


-----------------------------------
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
Sat Mar 05, 2005 7:35 pm


-----------------------------------
Change 

Music.PlayFile ("Apprentice.wav") 

to

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:

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


-----------------------------------
EvoX
Sat Mar 05, 2005 8:13 pm

eh
-----------------------------------
hahaha at least i triedd.....

-----------------------------------
EvoX
Sat Mar 05, 2005 8:18 pm

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
Sat Mar 05, 2005 8:24 pm


-----------------------------------
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 :roll:

-----------------------------------
mwachna
Sat Mar 05, 2005 9:15 pm


-----------------------------------
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
Sat Mar 05, 2005 9:23 pm


-----------------------------------
99.7%? :rolls eyes:

-----------------------------------
EvoX
Sat Mar 05, 2005 9:26 pm

...
-----------------------------------
i got it to work....

how can i place this text in the following background?


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
Sat Mar 05, 2005 9:28 pm


-----------------------------------
lol 
got banned?

 :lol:

-----------------------------------
Flikerator
Sat Mar 05, 2005 9:42 pm

Re: ...
-----------------------------------
i got it to work....

how can i place this text in the following background?


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


You asked this in two threads, thats unnessisary...

-----------------------------------
mwachna
Sat Mar 05, 2005 9:49 pm


-----------------------------------
can someone lock on of these threads please?

-matt
-Go T-Cats!-

-----------------------------------
person
Sat Mar 05, 2005 10:01 pm


-----------------------------------
there is another thread on the same topic...lock one of them...please!!
