question: private static float [ ] normalize ( float [ ] coefficients ) { float accumulator = 0 ; for ( int x = 0 ; x < coefficients . length ; x ++ ) { accumulator += Math . abs ( coefficients [ x ] ) ; } for ( int x = 0 ; x < coefficients . length ; x ++ ) { coefficients [ x ] = coefficients [ x ] / accumulator ; } return coefficients ; }
target:  Normalizes all filter coefficients to achieve unity (1) gain, by ensuring that the sum of the absolute value of all coefficients adds up to 1.