On Mon, May 23, 2005 at 11:03:30AM +0200, Richard Spindler wrote:

>                 if (*p_A<0 && *p_B<0) {
>                         *p_output =(*p_A+1)*(*p_B+1)-1;
>                 } else {
>                         *p_output =2*(*p_A+*p_B+2)-(*p_A+1)*(*p_B+1)-3;
>                 }

What is this supposed to do, and why is it written as it is ?

The if part is  :   a + b + a * b
and the else is :   a + b - a * b

Looks more like some hack to combine log probabilies or some such
than audio signals.

-- 
FA


Reply via email to