mixing multiple streams and avoiding level loss?
mixing multiple streams and avoiding level loss?
- Subject: mixing multiple streams and avoiding level loss?
- From: "Kevin Dixon" <email@hidden>
- Date: Thu, 1 Nov 2007 23:53:24 -0400 (EDT)
- Importance: Normal
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