Jump to content
XCOMUFO & Xenocide

SND - IDEAS - Coding In Ogre For Interactive Music


ATeX

Recommended Posts

A question for all the coding guys out there :)


What extensions does OGRE have at this moment for music playing? I'm asking this because I think that interactive music will drastically improve the gameplay :wink: The idea came by when I was playing Aliens versus Predator 2 which offers an immense soundtrack! :D The whole thing is set up by triggers so that the music evolves with the occasions u experience. So I tought, this thing is just awesome! We should make advantage of that idea.

So, shortly, in case there isn't anything in OGRE yet that would offer that possibility, if u all agree, could u edit/add code so that this will become possible?
Link to comment
Share on other sites

Ogre itself doesn't do sound based on what I've read in the forums at www.ogre3d.com, but OpenAI and FMOD do. OpenAI is used in UT2K3, while FMOD is open source. It might be wise for someone to look into this eventually, but I expect the code can stream music at particular calls, and those calls could be made at certain events in the game.

Edit: [url="http://www.libsdl.org/projects/SDL_mixer/"]SDL Mixer[/url] was also mentioned with success for streaming music. Edited by Breunor
Link to comment
Share on other sites

The streaming code is already done in the old engine, it is just to port it... It was done in OpenAL and support streaming from whatever format we would like to implement (the implementation is format free)... if that means that we use a stream source that is modified when a trigger is executed, there is no limitation right arround the corner...

Greetings
Red Knight
Link to comment
Share on other sites

×
×
  • Create New...