ATeX Posted February 11, 2004 Report Share Posted February 11, 2004 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! 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 More sharing options...
Breunor Posted February 11, 2004 Report Share Posted February 11, 2004 (edited) 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: SDL Mixer was also mentioned with success for streaming music. Edited February 11, 2004 by Breunor Link to comment Share on other sites More sharing options...
mamutas Posted February 11, 2004 Report Share Posted February 11, 2004 IIRC, Red Knight was looking into interactive music implementation a while ago.Currently, I think the plan is to use OpenAI, but nothing has been done with it since we move to OGRE. Link to comment Share on other sites More sharing options...
red knight Posted February 12, 2004 Report Share Posted February 12, 2004 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... GreetingsRed Knight Link to comment Share on other sites More sharing options...
Recommended Posts