0
0

Hi all,

here I have a beginners question. I want to stream several athmos in parallel from an interleaved file format and set the volume for the dedicated channel in runtime. The format should be interleaved to avoid seeking processes. As far as I read from the FSBank manual such a file can be generated with the FSBANK_BUILDMODE_INTERLEAVED set. Now the question is, if I create a sound object from this file in runtime is it one sound or a sound with several sub-sounds? The fsbank doc says it is a single sound but all contained sounds are assinged one channel each when played. The PlaySound command of the system object seems only to return one channel. How do I get in the end the different channels for the different sounds that are streamed from the one interleaved file?

Thanks,
Christoph

  • You must to post comments
0
0

Hi,

I’m doing similar thing. simply open your interleaved FSB with system::createStream, then play the complete interleaved stream with playSound. At that point all sounds are hearable. Then, in in realtime, you can setup volume for each substream using channel::setSpeakerLevels(see documentation for details)

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.