A digital filtering program stored on a non-transitory recording medium or recorded device that is readable by a computer, said digital filtering program being for extracting a feature quantity based on an inputted signal waveform, wherein the computer is enabled by said digital filtering program to carry out:
- a function of inputting a signal waveform and quantizing the signal waveform;
- a function of summing the quantized signal data in a prescribed adjoining region to divide the summation value by the number of data in the prescribed region, so that a division value is obtained with said data being centered, with respect to the quantized data at each point;
- a function of calculating a difference between the quantized signal data and the corresponding division value;
- a function of retaining at least one of the calculated summation value, subtraction value and division value in a storage device as well as subjecting an inputted signal waveform to a digital filtering based on at least one value of the summation value, subtraction value and division value, and
- a function of effecting a low-pass filtering based on said division value, while effecting a high-pass filtering based on said subtraction value
- wherein the number of data to be summed in the prescribed region is a power of two.