Esempio n. 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));
        }
Esempio n. 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);
        }
Esempio n. 3
0
 /**
  * Adds the adder sample values to this sample
  */
 public void add(ComplexSample adder)
 {
     mLeft  += adder.left();
     mRight += adder.right();
 }
Esempio n. 4
0
 /**
  * Adds the adder sample values to this sample
  */
 public void add(ComplexSample adder)
 {
     mLeft += adder.left();
     mRight += adder.right();
 }