Mixers and clipping
Mixers and clipping
- Subject: Mixers and clipping
- From: Jens Alfke <email@hidden>
- Date: Wed, 14 Sep 2005 09:43:41 -0700
How does the standard stereo-mixer audio unit handle clipping when
the sum of the inputs exceeds ±1.0? I'm assuming that it probably
just pegs the output level, although in the little bit of testing
I've done, the results don't seem to sound as harshly distorted as
I'd expect from that. Maybe I just didn't push it hard enough :)
If I did want to set up some kind of nicer "soft clipping", what
would be the best way to do it? My first guess would be: Lower the
volume on all the mixer inputs by, say, 2db, then run the mixer
output through a PeakLimiter unit with a 2db pre-gain. Is that
reasonable? I really don't know anything about the PeakLimiter (I
haven't found any documentation on the standard audio units and their
behavior, other than brief notes in AudioUnitParameters.h.)
--Jens _______________________________________________
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