Fmod Sound Bank Generator

воскресенье 06 январяadmin
Fmod Sound Bank Generator Average ratng: 6,9/10 2534 votes

Dogovor kupli prodazhi avtomobilya v estonii blank. Write something about yourself. No need to be fancy, just an overview. No Archives Categories.

Thanks to new namespacing of custom ogg code in FMOD library. Event API - Made EventSystem::init initialise the random number generator.

Similar to my previous entry for AGT assignment,, this goes further into the world of FMOD. I needed more control over sound for my Athena engine, and looking more into the FMOD APIs, I discovered that FMOD Ex uses soundbanks, which you can change how the sound is by changing values to variables you setup when creating them.

As well as this, with soundbanks you can link multiple audio sources and get them compiled into a single file that will be loaded with the soundbank, specifying even the maximum number of concurrent streams that should be playable for individual audio. As before, most of this code can be found in the FMOD documentation. Spc900nc There seems very little support for Mac users when it comes to FMOD, so when you find a version, hold onto it when upgrading, newer versions may just break. Creating a FMOD Soundbank The first thing you’ll need to be able to make a soundbank is download FMOD Designer (get a version that your library you use in code is compatible with). Open up FMOD Designer, goto the File menu and select New Project, name this new project “testSoundbank”. Select and expand the “untitled” folder in the Hierarchy window that is on the Events tab.

We need to rename this to something we can remember, so lets rename it to “test” in the property window at the bottom. If you have done right the change will be reflected in the Hierarchy window. Now we have a single event called “event00”, we want to rename this too, but to “someTestSound” this time.

Generator

Select it and scroll down the property window until you find the “name” parameter. Again the change will be reflected in the Hierarchy window.

Well that is the basic setup of our soundbank, however if we try to play that event now, we will hear nothing, so what we need to do is load in a wavetable. Goto the Sound definitions tab, and right click on the empty space to the left side. Now select Add sound definition(s) from wavetables and a file open dialog will appear. Select a file you want to import (I chose one called “bluh-no-twisting-knackers.mp3”), and click Open. You can play around with the parameters for this sound, but it won’t be covered in this guide. There are descriptions of what they do in the documentation. Go back to the Events tab and double click on “someTestSound” in the Hierarchy window, this will take us to this event within the Event editor tab.

Right click on the right hand side of “layer00” in the grey box (below where it says “Right-click here to add an event parameter”) and select “ Add sound“. Select the wavetable we just previous imported, and set “ Loop mode” to “ Oneshot“. Finally click OK to add this sound to the event. Now all that is left to do is build the FMOD soundbank. Goto the Build menu and select “ Build project“. Make sure to check the box next to the wave bank associated with the wavetable you just imported.