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 / Load Sound problem

Author
Message
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 10th Jul 2005 19:36
Here is my problem :
I can't load sounds correctly :
- F5 in DarkBASIC tells me he can't load it
- F5 in DarkEdit doesn't say anything, but doesn't play them
- Making a final in DarkEdit doesn't say anything, but doesn't play them
- Making a final in DBC doesn't say anything, but doesn't play them

(I have the enhancement)
Could anybody tell me how to fix that ?

- Mind the gap -
Yusaku
22
Years of Service
User Offline
Joined: 21st Jan 2003
Location: NYC
Posted: 10th Jul 2005 19:56
Reinstall sound drivers.
Try Load Music (if using MP3).
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 11th Jul 2005 01:18
Test the one in the help files

please reply

Your signature has been erased by a mod because he was in the mood for it
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 11th Jul 2005 01:53
what extension is your sound?
even with the enhancement pack, it still can't play most sound types...

...maybe one day I'll finish a project
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 11th Jul 2005 06:15
Well, all the sounds came from the DarkBASIC CD in .wav format
When I only had 2 sounds, it was perfect, but once I got the third in, it didn't work anymore.

Well, if the Exe worked, why would a reinstalation of the drivers work ?

- Mind the gap -
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 11th Jul 2005 20:47
Post the sound code, I think you got the numbers wrong

please reply

Your signature has been erased by a mod because he was in the mood for it
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 12th Jul 2005 16:21
No the numbers where perfect :

LOAD SOUND "sounds/alarm.wav",2
LOAD SOUND "sounds/splash.wav",3
LOAD SOUND "sounds/hit.wav",4
LOAD SOUND "sounds/destroy.wav",5

But i fixed it, I just renamed the files :S

- Mind the gap -

Login to post a reply

Server time is: 2025-05-22 19:09:35
Your offset time is: 2025-05-22 19:09:35