Implementing audio in games
I am planning to put some backgrounds music on a certain game. It is possible to put some music background on games? And how do I call that? Sound effects? Or background music? I hope somebody could help me here. And in additions can anyone give me the site on where can I find some unique music or sounds for games? Thanks!
Greetings, could you clarify your question? If you're asking about implementing sound into a game which you wrote, I'd suggest you search for information on OpenAL or SDL_mixer... however, if you're asking about implementing sound into a game you don't have the source to (or which doesn't have any modding capabilities) though, I'd think you're out of luck.
Mark Bishop
I had good luck using QTKit for background music -- so long as you're only concerned with supporting 10.3.9 up.
For actual sound effects OpenAL is really quite nice. Easy API, and good documentation.
For actual sound effects OpenAL is really quite nice. Easy API, and good documentation.
Heres some code for loading an ogg file (the entire thing at once) for playing with OpenAL.
http://www.gamewiki.evolpenguin.com/inde...OggLoading
http://www.gamewiki.evolpenguin.com/inde...OggLoading
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| need advice implementing AI in game. | NYGhost | 9 | 3,155 |
Aug 27, 2004 01:28 PM Last Post: NYGhost |
|
| Implementing sound | Muffinking | 25 | 7,965 |
Nov 4, 2003 05:22 AM Last Post: MattDiamond |
|

