I am brand spanking new, so forgive me if this seems like a silly question.
First of all, hi to the community! This is my first "real"audio job in the gaming industry, and I am excited to have a place like this to ask questions.
Ok, so here is my question. I am working on mixing various parts of a drum, like snare, hi-hat, overheads, toms, etc, etc. I had been just implementing 5-6 files into the game for each sound, but the programmers have asked if I can give them 1 multichannel file to work from, in order to help steam the audio better ( this way the head is not scanning all over the disk to find the files ).
But the only information I can find on multichannel has to deal with surround sound, were it sounds each track to a certain speaker. Is there anyway to have a multichannel file, for the purposes that I described above? Or perhaps I use the surround sound method, and let the programmers decode the information to play back normally?
- billm745 asked 7 years ago
Welcome to the forums billm745,
Streaming multichannel sounds for layers of music is quite common and very easy with FMOD. To generate a multichannel file you can use the FMOD Sample Bank Generator Ex (FSBank for short) tool that ships with the Programmer’s API.
All you need to do is put all the files you want to use in a single directory then set that as the Source Data Directory. Select an audio format (other than ogg) then select "Generate single interleaved FSB file" from the Build Mode menu. Click build, job done!
Once you have a multi-channel file, you can make the channels all pan to the same place by going to the Wave banks tab in Designer, right-clicking the sound and setting the Channel setup to "n x Mono" (e.g. "5 x Mono" if you have 5 channels). If you have a set of stereo pairs, you can use "n x Stereo" instead.
If you want to mix the channels in real time rather than baking the mix into the file, you can use the Channel Mix effect in Designer.
Have a look at the MultiChannelMusic event in examples.fdp for a demonstration of these techniques.
Please login first to submit.