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 / Generating sound and playing it (Problem)

Author
Message
firestarter
21
Years of Service
User Offline
Joined: 26th Dec 2002
Location: Norway
Posted: 1st Jan 2003 20:42
My code puts some bytes in a memblock, then i make a sound of it and finally i play it. But i get an error message when compiling it. Is it my code that is wrong or is it DB Pro`s fault?

firestarter
21
Years of Service
User Offline
Joined: 26th Dec 2002
Location: Norway
Posted: 1st Jan 2003 20:48
Damn, it`s probably that i have forgot the structure of an WAV file, silly me Anyone know how the structure of an wav file is, i gotta search for it....

Kangaroo2
21
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 3rd Jan 2003 02:31
Umm not being thick but with something as simple as this why use a memblock route anyway? You could just go



If its just a memory issue why not convert it to a differernt compression/bitrate or preferably an mp3 file to save some? Sorry if I've missed the point and this is not helpful

* If the apocalypse comes, email me *
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 4th Jan 2003 02:31
how r u learning the structure of a wav file?

xxxpetratxxx
B. R. W

Login to post a reply

Server time is: 2024-05-17 07:50:38
Your offset time is: 2024-05-17 07:50:38