Re: LPCM Downmix Algorithm problem
Re: LPCM Downmix Algorithm problem
- Subject: Re: LPCM Downmix Algorithm problem
- From: Steve Bird <email@hidden>
- Date: Sat, 14 Aug 2010 23:00:43 -0400
On Aug 14, 2010, at 10:48 PM, Bob Ingraham wrote:
> Ok, so one last time, because code is fairly simple, like my brain:
>
> To mix two 16-bit-signed samples:
>
> MixedSample = Sample1 + Sample2 - (Sample1 * Sample2);
---- I don't know where you got that algorithm, but apply a little brainpower to it:
If Sample1 is 10000 and Sample2 is 10000 then you're going to subtract 100,000,000 from the sum?
That will have a hard time fitting into a 16-bit word.
----------------------------------------------------------------
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
www.Culverson.com (toll free) 1-877-676-8175
_______________________________________________
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