Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Trouble Shooting OH NO!!!

Author
Message
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 23rd Sep 2007 23:07
I have little problem,here it is

every single time I try syntax has a runtime error "CANNOT LOAD MUSIC"
but after I go back and run it again DARKBASIC completely skips the attempt to load the music

please help

press F5 to release the hounds
Zombie 20
18
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 23rd Sep 2007 23:15
um..just wondering..could you show us the code so we can see whats going on, all I know is that db is ignoring your call to play music, so what I'm seeing is.



Is it something like that?

Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 23rd Sep 2007 23:47 Edited at: 24th Sep 2007 00:43
all I really do is
load music "/documents/media/music/fantasy/lessons.mid",1
loop music 1

thats really just a example,I've already used a lot of music files already in DARKBASIC but they all don't work

I don't load music from a CD or mp3 player just from the media files that come with Darkbasic



press F5 to release the hounds
Pyramid Games Ltd
17
Years of Service
User Offline
Joined: 23rd Aug 2007
Location: Line 21, DBP
Posted: 24th Sep 2007 03:51
Have it copied to your project folder.

Clackersmith
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 24th Sep 2007 13:36 Edited at: 24th Sep 2007 13:36
Remove the first forward slash in your load music filename address.

Use -


That we simply are has allowed this reality we call real from the power of intangibility to pull out of inertness action, chaos and hold it into its form we call matter.
Robert The Robot
18
Years of Service
User Offline
Joined: 8th Jan 2007
Location: Fireball XL5
Posted: 24th Sep 2007 15:00 Edited at: 24th Sep 2007 15:03
Actually, I've had the same problem ever since I upgraded from Windows 98 to Windows XP. I use DBC V1.13 Enhanced, and it refuses to load Midi files.

However, I did find that during the 30 day trial of DBC V1.13 Enhanced, it all worked perfectly...

I think your best bet would be to switch to MP3 music, and use Load Sound. Granted, it limits you a little on the number of audio effects you can play, but it would give you ingame music.

EDIT
Actually, just found a similar post to this one. Gave the following link to an older thread I'd started, but I don't think the suggestions made ever worked on my computer. Still, you could try it on yours

http://forum.thegamecreators.com/?m=forum_view&t=112225&b=10

On our way 'ome, on our way 'ome...
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 24th Sep 2007 17:56
@Pyramid Games Ltd-How do you copy the media files to your project folder?

EDITh wait, Mycomputer

press F5 to release the hounds
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 24th Sep 2007 18:19
Is their any possible way to change music files into sound files?

press F5 to release the hounds
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 24th Sep 2007 18:36
You can use a midi to wav convertor. Google is your friend there.

Our home is our world, our life, home is our world...
Homeworld: The ladder
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 25th Sep 2007 04:10
Quote: "Have it copied to your project folder."


still doesn't load the music




Quote: "Remove the first forward slash in your load music filename address."


doesn't even reconize the file

press F5 to release the hounds
Clackersmith
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 25th Sep 2007 05:18
Post up your code for loading the Midi + any media and I'll take a look.

That we simply are has allowed this reality we call real from the power of intangibility to pull out of inertness action, chaos and hold it into its form we call matter.
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 26th Sep 2007 02:50 Edited at: 26th Sep 2007 02:51
I got coverted all my files into wav files and loaded them using load music command also I tried the load sound command but it loaded fine it just didn't play the music

Quote: "Post up your code for loading the Midi + any media and I'll take a look."


here it is


or..



both of the examples work but they both don't play the music



press F5 to release the hounds
Clackersmith
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 26th Sep 2007 03:13
you got the .wav file handy?

Q: Why can't you ever please a women?
A: Because no bloke has a pe#*s made out of chocolate which ejaculates money!
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 26th Sep 2007 19:12
Do you have your speakers on? lol sorry, had to

In programming, nothing exists
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 26th Sep 2007 23:03 Edited at: 26th Sep 2007 23:06
Yes I have my speakers on and what I found out yesterday is that I can load the music on Windows Media Player just not on Darkbasic, is that common?



Quote: "Do you have the .wav file handy"


yes I do

press F5 to release the hounds
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 27th Sep 2007 04:38
Quote: "I found out yesterday is that I can load the music on Windows Media Player just not on Darkbasic, is that common?"

thats what happens on my old PC, although its so old it doesnt actually have media player LOL

In programming, nothing exists
Clackersmith
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 27th Sep 2007 06:18 Edited at: 27th Sep 2007 06:20
Quote: "Quote: "Do you have the .wav file handy"

yes I do"


I meant could you post it up so I could do some tests with it.
Sorry I should have made that a little more clear.

Q: Why can't you ever please a women?
A: Because no bloke has a pe#*s made out of chocolate which ejaculates money!
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 28th Sep 2007 01:52 Edited at: 28th Sep 2007 01:52
Quote: "could you post it up so I could do some tests with it."




press F5 to release the hounds
Emphasoft
17
Years of Service
User Offline
Joined: 2nd Jun 2007
Location: Deep Underneath the Center of the Earth
Posted: 28th Sep 2007 02:05
well, unless you converted, the correct file is "lessons.mid". Try that instead. If you have converted, I can't help.

Why fight when you can negotiate?
-Jack Sparrow
Clackersmith
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 28th Sep 2007 14:51 Edited at: 28th Sep 2007 14:52
Quote: ""Quote: "Do you have the .wav file handy"

Quote: "yes I do"

Quote: "I meant could you post it up so I could do some tests with it.
Sorry I should have made that a little more clear.""


I need your media Fast & Furious, not your code. I can't test why your sound isn’t working unless I have the sound file. Can you post up the sound file (midi or wave) that you intend to use.

Q: Why can't you ever please a women?
A: Because no bloke has a pe#*s made out of chocolate which ejaculates money!
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 29th Sep 2007 22:02 Edited at: 29th Sep 2007 22:04
I have a problem,when I was trying to figure out the problem something happened,when I listened to "lessons.wav" inside Windows Media Player the music was all jumbled and very fast and when I tried to convert it back to its original form using the Midi to Wav converter it didnt even aknoledge that the file was there WHAT HAPPENED?

Before I start freakin out can I dowload Darkbasic again just to get the music files back using order history in my profile?. Is that legal?

press F5 to release the hounds
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 29th Sep 2007 23:36
The convertor should just make a new copy of the music as a wav, not change the file itself!
And please please please post the wav/midi.

Our home is our world, our life, home is our world...
Homeworld: The ladder
Pyramid Games Ltd
17
Years of Service
User Offline
Joined: 23rd Aug 2007
Location: Line 21, DBP
Posted: 30th Sep 2007 00:09
Well once you copy it to your project file you would only have to do this,

load music "lessons.mid",1
loop music 1

aluseus GOD
18
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 30th Sep 2007 04:00
I have 4 suggestions.

1- Set it to windowed mode (Thats how I get some of my cant load bugs to work.

2- That thing on the right, got to media files, set type of media to music, select the music, check copy to project folder.

3- Use code


4- Make sure music works on windows media player or whatever you can play music on. Make sure volume in game is not set to zero. Check for spelling errors, corrupt files, ANYTHING could be the culprit. I once had the same bug with pictures when I was a simpleminded noob. Sometimes, it helps to create a different file even. I STILL think my version doesn't let me load files correctly, but Im too lasy to post a dbpro file.

5- Eat 80 mangos, watch 3 dora the explorer reruns, read a hitchhiker's guide to the galaxy and JOB:1:1. And watch anything relating to Fire on youtube. Then go worship the mudkiplord.

Your signature has been deleted by a moderator because this joke is getting old.
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 30th Sep 2007 04:34 Edited at: 30th Sep 2007 04:37


I'll do that if It can get the music to play!

4th suggestion-Its all jumbled up and really fast it sounds more like ,duh duh duh, over and over again! also my speakers have volume
3rd suggestion-doesn't work
2nd suggestion-doesn't work
1st suggestion-what is windowed mode?(I'm not very computer savvy outside of DarkBasic)


Quote: "I can't test why your sound isn’t working unless I have the sound file"


O.K I'll answer it. I don't really no what your talking about but heres my ideas what your talking about

mycomputer/itunes/travel drive m/documents/media/music/lessons.mid

I'm not really sure

press F5 to release the hounds
Clackersmith
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 30th Sep 2007 05:13 Edited at: 30th Sep 2007 05:16
Upload....the....midi....file....you....are....using

I can't think of a simpler way to say it.

Q: Why can't you ever please a women?
A: Because no bloke has a pe#*s made out of chocolate which ejaculates money!
aluseus GOD
18
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 30th Sep 2007 08:22
Go press the browse... button right under the box where you type things for your post, browse for the song/sound, open it, and THEN send the post in.

Your signature has been deleted by a moderator because this joke is getting old.
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 30th Sep 2007 20:08
Quote: "Go press the browse... "


it doesn't seem the forums will let me post it,

press F5 to release the hounds
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 30th Sep 2007 21:45
Well, there goes any help that you may be able to get.
No, seriously, host it omewhere else then.

Quote: "Everyone's entitled to an opinion...but your opinions are wrong."

Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 1st Oct 2007 00:58
I think its possible the file doesn't work because the files too big

press F5 to release the hounds
LBFN
18
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 1st Oct 2007 01:03 Edited at: 1st Oct 2007 01:13
Fast and Furious

I wrote this very simple code

and the Lessons.mid file began playing immediately. (It is a midi file btw and not a wav file. There is no need to convert it, you can load .mid files into DBC.)

What I would suggest you do is use 'My Computer' to find where the Lessons.mid file is on your computer. Once you find it, copy the entire directory from the 'address' line in the dialog box and paste it directly into DBC. Be sure to add 'lessons.mid' and the music number to the end. It should look something like what I have posted in the code above.

It worked for me.

LB
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 1st Oct 2007 01:36 Edited at: 1st Oct 2007 01:44
first off LBFN I don't have your computer and I had to delete some of the mid music files because my FlashDrive only holds 512MB
so heres my quote from another post up there


Quote: "can I dowload Darkbasic again just to get the music files back using order history in my profile?. Is that legal?"



Quote: "copy the entire directory from the 'address' line in the dialog box and paste it directly into DBC"


G:/Documents/media/music/Fantasy/Lessons.wav

It didn't work

press F5 to release the hounds
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 1st Oct 2007 01:44
upload the media file to some sort of free server and maybe other people will be able to look at it and see if that's where the problem is.

http://jamesmason01.googlepages.com/index.htm
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 1st Oct 2007 03:19
what do you mean by "free server"

like a link?

press F5 to release the hounds
LBFN
18
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 1st Oct 2007 05:29 Edited at: 1st Oct 2007 05:31
Fast and Furious

Not trying to insult you here at all, but did you put something like
in your code?

Also, have you tried to run the Lessons.wav file using the Windows Media player? It should be able to run it if the file is not corrupt.

Did you buy DBC from the Game Creators or did you get it somewhere else? If you indeed downloaded it from TGC, then it is as easy as clicking the PROFILE button at the top of this page, going to ORDER HISTORY and re-downloading it. TGC keeps track of what you download.

If you got it somewhere else it might not be so easy. Even then, if you can prove that you purchased DBC you could ask TGC support for help and they might be willing to help you out.

DBC will load and play .wav files also. I wouldn't recommend them for songs because they take up a ton of memory.

LB
Zombie 20
18
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 1st Oct 2007 05:46
Quote: "first off LBFN I don't have your computer and I had to delete some of the mid music files because my FlashDrive only holds 512MB
so heres my quote from another post up there"


Wow that sounded so arrogant, show LB some respect, he's a very valued member around here and he's just trying to hellp you.

demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 1st Oct 2007 18:45
first off, Zombie has a point, and being rude to LBFN when you did the same thing yourself doesn't create a great impression

Quote: ""/documents/media/music/fantasy/lessons.mid",1"


secondly, I don't know which hosts are any good seeing as I only use my gmail and topcities pages for uploading files, but I meant sites like MediaFire (which I haven't used by the way so don't flame me if it sucks )


http://www.mediafire.com/


go there then browse for the file on your computer, click the little upload and copy the URL it gives you.

http://jamesmason01.googlepages.com/index.htm
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 1st Oct 2007 18:50
<mediafire DOES suck>

Quote: "Everyone's entitled to an opinion...but your opinions are wrong."

demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 1st Oct 2007 19:03
@INH: fair... just an example. Sorta set him on the right track.

@FAF: or you could always do that funky thing where you give us your ISP and access to your computer. That might not be a good idea though. Especially if you keep saying things like
Quote: "first off LBFN I don't have your computer and I had to delete some of the mid music files because my FlashDrive only holds 512MB so heres my quote from another post up there"





http://jamesmason01.googlepages.com/index.htm
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 1st Oct 2007 19:08
Quote: "@INH: fair... just an example. Sorta set him on the right track."

I know what you mean. In my opinion, however, mediafire is possible the worst hoster in the universe. It's like frontpage only for hosting.
Quote: "@FAF: or you could always do that funky thing where you give us your ISP and access to your computer. That might not be a good idea though. Especially if you keep saying things like"



Quote: "Everyone's entitled to an opinion...but your opinions are wrong."

demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 1st Oct 2007 19:17


what hosting sites are good then?

btw I don't know what that icon at the top is but I clicked on something by accident and now I'm intrigued so I'm gonna leave it in...

http://jamesmason01.googlepages.com/index.htm
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 1st Oct 2007 21:49
What icon...?
Quote: "what hosting sites are good then?"

Um.........
...
...
...
...

Quote: "Everyone's entitled to an opinion...but your opinions are wrong."

Zombie 20
18
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 1st Oct 2007 21:52
seriously fast and furious, the way LB showed you will work and please don't insult our intelligence and say it won't.

Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 2nd Oct 2007 00:43 Edited at: 2nd Oct 2007 00:56
LBFN I'm sorry


does Mediafire usauly take SO LONG to upload?
or is that because I have dialup it takes SO LONG to upload?
(not very important question)

Quote: "Did you buy DBC from the Game Creators or did you get it somewhere else?"


yes I bought it from the Game Creators, so I can just download it?

press F5 to release the hounds
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 2nd Oct 2007 00:54
look LBFN I'm sorry

http://www.mediafire.com/?bzib2zw0nny
there it is
don't ask me to do that again,it took a VERY long time!

press F5 to release the hounds
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 2nd Oct 2007 09:49
OK I downloaded that and put it in the same folder as the file I created. I just made a file and put



it worked fine. My main question, actually, is why you would be going to so much effort to include such a crap sound :p

the only thing that I can think of is making a new file just with the load sound code to test if it works right. If that works then maybe it's something else in your code causing the problems.

http://jamesmason01.googlepages.com/index.htm
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 3rd Oct 2007 00:20
Quote: "why you would be going to so much effort to include such a crap sound :p"


what could be a better music than that song for a hangman game?

I don't know how you got it to work but I had to turn my speakers on all the way to get a sound a even then it just made a big whooshing sound

press F5 to release the hounds
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 3rd Oct 2007 21:30
Quote: "even then it just made a big whooshing sound"

Yeah, that's the sound speakers make when they're turned on all the way.

Quote: "Everyone's entitled to an opinion...but your opinions are wrong."

demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 5th Oct 2007 01:24
Put another sound file in instead. Then see if that one works.

http://jamesmason01.googlepages.com/index.htm
Fast and Furious
17
Years of Service
User Offline
Joined: 23rd Jul 2007
Location: inside that dog
Posted: 5th Oct 2007 23:52
heres a quote from another post up there

Quote: ""can I dowload Darkbasic again just to get the music files back using order history in my profile?. Is that legal?""


I downloaded it again and everything was deleted except the files
so I thought Oh well I just got another copy of it so who caes, BUT as soon as I clicked on it it started installing so I thoght that was normal, BUT when it was done nothing happened,SO I clicked on it again, it started installing again,AND the same thing happened over,and over, and over again!

Quote: "Yeah, that's the sound speakers make when they're turned on all the way"


you see I tested it,


as soon as I pressed a key the whooshing stopped and therefore Pi times the meaning of life divided by the expanse of the universe
equals the music was in whooooooooshing form

press F5 to release the hounds

Login to post a reply

Server time is: 2025-05-31 20:58:02
Your offset time is: 2025-05-31 20:58:02