RE: mixing multiple streams and avoiding level loss?
RE: mixing multiple streams and avoiding level loss?
- Subject: RE: mixing multiple streams and avoiding level loss?
- From: "Itai barami" <email@hidden>
- Date: Sun, 4 Nov 2007 05:07:47 -0500
- Thread-topic: mixing multiple streams and avoiding level loss?
Hi Kevin,
I think that there is no simple solution for this problem.
However, I came across this technical note that might be handy for a
fast and dirty approach.
Taken from Viktor Toth's web site: http://www.vttoth.com/digimix.htm
(If you try this please tell me if it works better for you)
Itai.
-----Original Message-----
From: coreaudio-api-bounces+itaib=email@hidden
[mailto:coreaudio-api-bounces+itaib=email@hidden] On Behalf
Of Kevin Dixon
Sent: Friday, November 02, 2007 5:53 AM
To: email@hidden; email@hidden
Subject: mixing multiple streams and avoiding level loss?
I'm implementing an AudioUnit that breaks up an incoming stream and
distributes it though filters and pans of the user's choosing. I use the
naive approach when re-mixing the resulting streams, e.g.
outputBus += (1 / numberOfStreams) * currentStream
However I notice I end up with about 25% loss of level, since the
signals become semi-out of phase, and thus don't recombine to their
original level. Is there anyway to deal with this loss of level that is
efficient/easy to implement and reasonably accurate?
Thanks!
-Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden