• 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
iphone multichannel mixer clipping algorithm really just saturate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iphone multichannel mixer clipping algorithm really just saturate?


  • Subject: iphone multichannel mixer clipping algorithm really just saturate?
  • From: Seth Delackner <email@hidden>
  • Date: Thu, 18 Mar 2010 19:14:07 +0900

Doug Wyatt wrote back in January:

> AUMultiChannelMixer saturates. It's used when you play two AVAudioPlayers, and it's presumably what you would use in your own graph.

Maybe I am misunderstanding 'saturate', but you mean say, for a
multichannel mixer with several 16bit integer format canonical input
busses, just checking if values are > 32767 / < -32768 and if so
clipping to those values?

Because if I apply input rendering callbacks to a mixer and feed it
sound files on 6 different busses, depending on the mixer to mix, I
get very clean sounding output.

Yet if I instead feed all 6 files into one bus, summing the sound file
values into a 32bit int and then clipping the final value before
stuffing it into the output buffer, clipped output is staticky.
 _______________________________________________
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

  • Follow-Ups:
    • Re: iphone multichannel mixer clipping algorithm really just saturate?
      • From: Seth Delackner <email@hidden>
  • Prev by Date: Audio session interrupted when unplugging a mic (iPod Touch 2G)
  • Next by Date: Re: iphone multichannel mixer clipping algorithm really just saturate?
  • Previous by thread: Re: Audio session interrupted when unplugging a mic (iPod Touch 2G)
  • Next by thread: Re: iphone multichannel mixer clipping algorithm really just saturate?
  • Index(es):
    • Date
    • Thread