protected void initialise(double[] impulseResponse,int sliceLen){
  denumeratorCoefficients=new double[impulseResponse.length];
  System.arraycopy(impulseResponse,0,denumeratorCoefficients,0,impulseResponse.length);
  if (!MathUtils.isPowerOfTwo(impulseResponse.length + sliceLen))   throw new IllegalArgumentException("Impulse response length plus slice length must be a power of two");
  this.impulseResponseLength=impulseResponse.length;
  this.sliceLength=sliceLen;
  transformedIR=new double[sliceLen + impulseResponse.length];
  System.arraycopy(impulseResponse,0,transformedIR,0,impulseResponse.length);
  FFT.realTransform(transformedIR,false);
}

protected void initialise ( double [ ] impulseResponse , int sliceLen ) { denumeratorCoefficients = new double [ impulseResponse . length ] ; System . arraycopy ( impulseResponse , 0 , denumeratorCoefficients , 0 , impulseResponse . length ) ; if ( ! MathUtils . isPowerOfTwo ( impulseResponse . length + sliceLen ) ) throw new IllegalArgumentException ( "Impulse response length plus slice length must be a power of two" ) ; this . impulseResponseLength = impulseResponse . length ; this . sliceLength = sliceLen ; transformedIR = new double [ sliceLen + impulseResponse . length ] ; System . arraycopy ( impulseResponse , 0 , transformedIR , 0 , impulseResponse . length ) ; FFT . realTransform ( transformedIR , false ) ; }
initialise the finite impulse response filter .
