• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: mixing multiple streams and avoiding level loss?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Drawing in mCarbonWindow doesn't show (From: Rémi Thébault <email@hidden>)
 >mixing multiple streams and avoiding level loss? (From: "Kevin Dixon" <email@hidden>)

  • Prev by Date: Re: problem with AUGenericView
  • Next by Date: MIDI Source help
  • Previous by thread: mixing multiple streams and avoiding level loss?
  • Next by thread: Float32's and disabling AU parameters
  • Index(es):
    • Date
    • Thread