Take the 2-minute tour ×
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It's 100% free, no registration required.

My professor asked me why you choose $a=0.97$ in a pre-emphasis filter $H(z)=1-\frac{a}{Z}$ for your pre-processing step.

  • What is the relation between $a$ and the filter?
  • How does this coefficient effect the performance?
  • Why do people use $a=0.9$ or $a=0.97$?
share|improve this question

3 Answers 3

If you look at the spectrum of speech sounds, you will notice that less energy is present in the highest frequencies, with an overall decreasing slope. The goal of the pre-emphasis filter is to counter-balance this, and flatten the spectrum. This helps for one or several of the following reasons, depending on your application:

  • In an analog speech transmission/recording system, applying an emphasis filter on the emitter (recorder) and a de-emphasis filter on the receiver (player) improves the signal to noise ratio for the high frequencies - since they will be recorded/transmitted at a higher amplitude than without pre-emphasis. This is why vinyl records need a special kind of pre-amplifier (RIAA equalization).
  • In a digital speech processing system implemented with fixed point arithmetics, this avoids truncation errors, by allowing the FFT coefficients carrying the highest frequencies to have a larger magnitude, making better use of the available dynamic range.
  • In a speech analysis/modeling context (such as linear prediction or sinusoidal modeling), one seeks the model parameters which minimize the distance between the model and the signal. When applying these techniques on speech signals which have not been pre-emphasized, the model will spend a lot of its "parameter space budget" (sinusoids, poles...) trying to overfit the very first harmonics, while ignoring the highest order ones - while these harmonics might actually be relevant for speech intelligibility or phoneme discrimination. Applying pre-emphasis ensures that the model will fit the spectrum more evenly.
  • The low frequency band is occupied by sounds which are useless/harmful for speech recognition: DC offsets, microphone pops, AC 50Hz/60Hz buzz from ground loops or poor board design, etc. The pre-emphasis filter you mention, which is indeed a simple high-pass filter, helps getting rid of these.

As for the the actual value of $a$, you can try plotting the frequency response of the filter for these different values and/or see where the cutoff frequency is. You could also try to visualize its effect on a small corpus of speech signals - how balanced the spectrum becomes after pre-emphasis. It is largely application-dependent - for example, in some applications, poor microphone quality adds an extra 6dB roll-off of the higher frequencies which need more compensation. In speech recognition, this is the kind of parameter tuned a posteriori to try to get better recognition results - though my experience is that with modern models and recognition techniques it has little influence on performance.

share|improve this answer

If you're familiar with the concept of "poles" and "zeros" in the z-domain, feel free to skip the next paragraph.

The way to quickly visualize the frequency response of a filter in the z-domain is to "trace" the unit circle, by setting $z = e^{j\omega}$. If a point on the unit circle "trace" is close to a zero, the corresponding frequency will be attenuated. Alternatively, if a point on the unit circle is close to a pole, it will be amplified. By corresponding frequency, I mean $\omega$ when tracing the unit circle by setting $z = e^{jw}$.

In the given form, it should be clear that there will be a "zero" when $a=z$. Setting $a$ to $0.9$ or $0.97$ puts the "zero" at $0.9$ or $0.97$ respectively. This will attenuate the low frequencies that are close $\omega=0$. This filter will attenuate frequencies near $\omega=0$.

The answer to the first two is that setting $a$ to $0.97$ will attenuate said low frequencies more than $a=0.9$.

The answer to the "why" is really dependent upon the application of the filter and what its "processing" step entails if this is a "pre-processing" filter.

share|improve this answer

Start by finding the frequency response of the pre-emphasis filter. By the way, this is an FIR filter, so there are no filter poles, only zeros.

For the frequency response, substitute $e^{\frac{j2pif}{fs}}$ for z (where fs is your sampling frequency).

This yields $H(f) = 1 - ae^{\frac{-j2pif}{fs}}$ or $1 - a[cos(\frac{2pif}{fs}) - jsin(\frac{2pif}{fs})]$

For the purpose of pre-emphasis, you are probably most interested in the magnitude response. This is a complex function, so the magnitude is given by (after massaging a little):

$$|H(f)| = 1 + a^2 - 2acos(\frac{2pif}{fs})$$

Plot this funciton and you will see that it is a highpass response with a maximum at 1/2 your sampling frequncy and that the filter coefficient "a" affects the gain, roll off and DC component of the "message" signal you are processing. The choice for "a" depends on the nature of the medium or channel that will be used to store or convey the message signal.

What exactly is the signal that you will be applying pre-emphasis to?

share|improve this answer
I Want to filter the speech signal in telephony channel. How can I select best a ? –  Amir Feb 8 '13 at 1:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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