0
0

Hi,

I searched the forum but I couldn’t find anything about multiplexing. Does FMOD support multiplexing?

I would like to play multiple audio streams at the same time, without spoiling too much CPU. Other suggestions or ways to solve this efficiently with FMOD are also welcome.

Greetings!

  • You must to post comments
0
0

Is it a stupid question, does nobody knows the answer or are we too lazy to respond? ๐Ÿ˜‰

  • You must to post comments
0
0

No that’s not really the question.

I would like to combine multiple audio streams to one single audio stream which sounds exactly the same.

I know this is not an easy job but if it’s not possible with fmod, I’ll try something else.

Thanks for your time anyway :)

  • You must to post comments
0
0

And is there something similar for real-time audio (audio streams, no files)?

Thanks again for your efforts!

  • You must to post comments
0
0

heey ๐Ÿ˜‰

if i understand you correctly you want to mix multiple streams into one stream????

then you can play multiple streams at once and capture the output with a DSP callback. Then you can do with it what you want. (for example: encode to MP3 or write a WAV file to disk). But you will get 1 mixed stream so you can’t split them later.
See FSOUND_DSP_Create in the docs.

good luck

chris

  • You must to post comments
0
0

I’m sorry for the bad explanation ๐Ÿ˜ณ

But Chris understands my question.

With ‘I would like to play multiple audio streams at the same time’, I actually meant that I would like to mix the streams to one stream. Like the title of my post says, I would like to multiplex the streams to one stream. With voice it is also known as voice bridging.

But chris’s answer will do fine I guess. I don’t need to split the streams afterwards. The only important point is that it are streams and not files that have to be mixed and the mixing needs to be done on the fly.

I’m sorry again for the bad explanation and thank you both for the answers.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.