Page 1 of 1
What is the most simplest way for loading sounds?
Posted: Fri Oct 09, 2009 1:04 pm
i design games in FreeBasic, now i want to make a game which can
play sounds, and now can i ask you that "what is the most simplest
way for playing sounds in a game". thanks for your attention.
Posted: Fri Oct 09, 2009 3:10 pm
Try QB64. It has sound functions that are simple to use.
Otherwise you may wait a long time here for an answer. Try the FB site.
Posted: Fri Oct 09, 2009 6:57 pm
burger, this forum is not for promoting QB64. Keep that propaganda in the QB forum.
BigBadKing, look into libraries such as FMOD, Bass, FBsound, etc. There are plenty to choose from.
I found it! thanks.
Posted: Sat Oct 10, 2009 4:26 am
Thanks, i found the solution.
Posted: Sun Oct 11, 2009 1:58 pm
tried OpenGl? it has 3D sound, that means full control of the sound. for an example, goto your freebasic directory then to the examples and to finish to the sound direction. fire up OpenGL.bas, and use it...
Posted: Tue Apr 20, 2010 9:06 am
personnaly, i use current windows system mcisendstring api to load and play mp3 files and it works.
(no added software needed)
Code: Select all
Dim As String soundfic
mcisendstring("open "+chr$(34)+soundfic+chr$(34)+" shareable alias slash",0,0,0)
mcisendstring("open "+chr$(34)+soundfic+chr$(34)+" shareable alias impact",0,0,0)
Sub closesounds 'on exit
mcisendstring("play slash from 0",0,0,0)
mcisendstring("play impact from 0",0,0,0)