Re: Mixing manually vs. Mixer AudioUnit and avoiding clipping
Re: Mixing manually vs. Mixer AudioUnit and avoiding clipping
- Subject: Re: Mixing manually vs. Mixer AudioUnit and avoiding clipping
- From: uɐıʇəqɐz pnoqɥɒɯ <email@hidden>
- Date: Fri, 18 Jun 2010 11:58:57 -0700
On Jun 18, 2010, at 11:44 AM, Gregory Wieber wrote:
> You have to think in terms of the max output signal being "1". You need to divide that by the number of busses you have and set the volume for each bus accordingly.
I tried something like that but it didn't work very well. Take, for instance, the case where you have one note playing, 5 notes are silent and two notes are playing at very low levels. Dividing the mixed signal by 8 is not going to sound right.
I think the trick is to reduce the volume of the very high notes, but not to reduce the lower notes.
Google has pointed me to some articles on compression or Dynamic Range Compression... maybe that's the direction I need to move in...
_______________________________________________
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