Example #1
0
        public static ComplexSample multiply(ComplexSample sample, float left, float right)
        {
            float l = (sample.left() * left) - (sample.right() * right);
            float r = (sample.right() * left) + (sample.left() * right);

            return(new ComplexSample(l, r));
        }
Example #2
0
        public static ComplexSample multiply(ComplexSample sample, float left, float right)
        {
            float l = (sample.left() * left) - (sample.right() * right);
            float r = (sample.right() * left) + (sample.left() * right);

            return new ComplexSample(l, r);
        }
Example #3
0
 /**
  * Adds the adder sample values to this sample
  */
 public void add(ComplexSample adder)
 {
     mLeft  += adder.left();
     mRight += adder.right();
 }
Example #4
0
 /**
  * Adds the adder sample values to this sample
  */
 public void add(ComplexSample adder)
 {
     mLeft += adder.left();
     mRight += adder.right();
 }