• 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: LPCM Downmix Algorithm problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: LPCM Downmix Algorithm problem
      • From: uɐıʇəqɐz pnoqɥɒɯ <email@hidden>
    • Re: LPCM Downmix Algorithm problem
      • From: Bob Ingraham <email@hidden>
References: 
 >LPCM Downmix Algorithm problem (From: Bob Ingraham <email@hidden>)
 >Re: LPCM Downmix Algorithm problem (From: uɐıʇəqɐz pnoqɥɒɯ <email@hidden>)
 >Re: LPCM Downmix Algorithm problem (From: Bob Ingraham <email@hidden>)
 >Re: LPCM Downmix Algorithm problem (From: Paul Davis <email@hidden>)
 >Re: LPCM Downmix Algorithm problem (From: Bob Ingraham <email@hidden>)

  • Prev by Date: Re: LPCM Downmix Algorithm problem
  • Next by Date: Re: LPCM Downmix Algorithm problem
  • Previous by thread: Re: LPCM Downmix Algorithm problem
  • Next by thread: Re: LPCM Downmix Algorithm problem
  • Index(es):
    • Date
    • Thread