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 Professional Discussion / wav files no load??

Author
Message
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 8th Nov 2002 18:02
if i try to load a WAV file with:
load sound "filename.wav",1
DB won't compile and reports can't load sound at line....
If i use one of the WAV's in the examples folder it works fine but not with one of my own WAV files.
To use one of my own WAV's i have to use:
load music "filename.wav",1
Why do DB WAV's load but my WAV's won't?
The One Ring
21
Years of Service
User Offline
Joined: 15th Sep 2002
Location: United States
Posted: 8th Nov 2002 18:28
What kind of WAV file is it? WAVs can be saved and encoded many different ways. You can even save a file as WAV and be encoded as an MP3... If you are having to use LOAD MUSIC, I would guess that it is a MP3 encoded WAV...

Just a guess...

AMD Athlon 900 768MB DDR
ATI Radeon 64MB DDR All-In-Wonder 7500, ATI XPert 128 16MB
Sound Blaster Audigy Gamer w/FireWire Support
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 9th Nov 2002 18:32
thnx for answering

you be right - i searched web & d/loaded some other WAV's and most worked ok but some didn't. The ones that won't load as sound in DB still play ok in windows sound recorder though.

neway thnx.
Matto
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location:
Posted: 12th Nov 2002 05:01
ahh what I have had to do is this :~

add music file from media button in the editor, locate and check the copy to folder option on the files addition window, now the file will show as loaded but won't play what ever you try (at least what ever I tried), just save all (not sure why but I did this incase..) delete the music file you just added and re-add it from the folder your working from, now the music should load ok ?? I hope.. it did for me anyway.
good luck

1ghz Cel,512 sdram 133,Gf2 MX 400 64,SBL 5.1,Win98
Best Upcoming MMOG - http://WWW.Atriarch.com
Project: Card Game with No Name

Login to post a reply

Server time is: 2024-04-19 22:09:00
Your offset time is: 2024-04-19 22:09:00