主权项 |
1. A digital filter device comprising:
an overlap addition unit for adding an overlap amount which is last M consecutive pieces of data in a second input block including N consecutive pieces of time-domain input data immediately preceding a first input block to the first input block including (N−M) consecutive pieces of time-domain input data (where N is a positive integer and M is a positive integer less than N), to generate an overlap block; a Fourier transform unit for transforming the overlap block and the second input block into a first frequency-domain block and a second frequency-domain block in a frequency domain, respectively, by fast Fourier transform processing; a filter calculation unit for performing filter processing on the first frequency-domain block and the second frequency-domain block, to generate a first after-processing block and a second after-processing block, respectively; an inverse Fourier transform unit for transforming the first after-processing block and the second after-processing block into a first time-domain block and a second time-domain block in a time domain, respectively, by inverse fast Fourier transform processing; an overlap removal unit for, out of an overlap part in which each of the first time-domain block and the second time-domain block overlaps temporally, removing k pieces of data (where k is a positive integer less than M) at a front end of a time axis of the first time-domain block and (M−k) pieces of data at a rear end of a time axis of the second time-domain block as removal part data, to generate output data; and an overlap error detection unit for comparing the removal part data in the first time-domain block with output part data other than the removal part data in the overlap part in the second time-domain block, to detect a distortion amount caused by data included in the overlap part, and controlling the overlap amount, in accordance with the distortion amount. |