0
$\begingroup$

I saw in some codes people always taper the ends of a signal using a cosine taper.

Is that necessary and why?

$\endgroup$
3
$\begingroup$

Tapering the two ends of a short audio signal allows it to be played at an arbitrary time after and before silence without a speaker "pop" or loud click.

Using a raised cosine taper reduces potential high frequency spectral content inherent in any sudden sharp startup transient, which might not be present in the rest of the data due to prior low pass filtering.

| improve this answer | |
$\endgroup$
  • $\begingroup$ so, if there is an impulse at the start, the lowpass filtering cannot remove it? $\endgroup$ – Lee May 14 '14 at 3:06
  • $\begingroup$ A sufficiently low low-pass filter might have a similar effect on the ends, but at a higher computational cost. $\endgroup$ – hotpaw2 May 14 '14 at 6:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.