Presentation is loading. Please wait.

Presentation is loading. Please wait.

Speech Processing. References L.R. Rabiner and R.W. Schafer. Digital Processing of Speech Signals. Prentice-Hall, 1978. Lawrence Rabiner and Biing-Hwang.

Similar presentations


Presentation on theme: "Speech Processing. References L.R. Rabiner and R.W. Schafer. Digital Processing of Speech Signals. Prentice-Hall, 1978. Lawrence Rabiner and Biing-Hwang."— Presentation transcript:

1 Speech Processing

2 References L.R. Rabiner and R.W. Schafer. Digital Processing of Speech Signals. Prentice-Hall, 1978. Lawrence Rabiner and Biing-Hwang Juang. Fundamentals of Speech Recognition. Prentice-Hall, 1993. James H. McClellan, et al. Computer-Based Exercises for Signal Processing Using MATLAB 5. Prentice-Hall, 1998.

3 The sound of spoken words is divided-up into phonemes. European languages have about forty phonemes. Phonemes are divided into two groups: voiced sounds and unvoiced sounds. Voiced sounds are “vowel-like” sounds where the sound comes from the throat. Unvoiced phonemes are “consonant-like” phonemes where the sound comes from compressed air blown through the mouth. While unvoiced phonemes are “consonant-like,” not all consonants are unvoiced. Phonemes like “s” are unvoiced, but phonemes like “z” are voiced.

4 Speech production may be modeled by the following diagram: Pulse Train Glottis Random Noise Vocal Tract Lip Radiation Voiced Unvoiced (See Figure 10.5 in Computer-Based Exercises for Signal Processing.)

5 The glottis (in the throat) produces “quasi-periodic” signals (like singing a long note). These signals are modeled as the output of the glottis block. These signals are then passed into a vocal tract block. The vocal tract models the mouth, nose and teeth. Finally the lip radiation block models the lips. Unvoiced sounds have no glottal pulse component and can be modeled with the vocal tract and lip radiation blocks. To obtain any kind of sound, the input to the vocal tract and lip radiation blocks cannot be simply a unit step but rather a random process.

6 Pulse Train Glottis Random Noise Vocal Tract Lip Radiation Voiced Unvoiced Let us give function values to these signals and processes: e[n] G(z) V(z)R(z) u G [n] u L [n]p L [n]

7 e[n] is a periodic pulse train. G(z) is the transfer function of the glottis u G [n] is the glottis output. V(z) is the transfer function of the vocal tract. R(z) is the transfer function of the lips. u L [n] is the output of the vocal tract. p L [n] is the output of the lips.

8 The glottal transfer function G(z) will be represented by an exponential model: The symbol e represents the base of natural logarithms. The parameter a is some value less than one that corresponds to the natural frequency of the glottis (which varies from speaker to speaker, man to woman, child to adult, etc.).

9 The frequency response of G(z) for various values of a is shown on the following slide. (Graph printed using glottal.m.)

10

11 The vocal tract V(z) can be modeled after a sequence of “lossless tubes”: u G [n]u L [n] AkAk A k+1 A k-1 Each “tube” has a cross-sectional area A k.

12 The vocal tract transfer function V(z) will be represented by following model: The parameters r k (which correspond to reflection coefficients along the vocal tract) are found from

13 The denominator D(z) is found from the recursive relationship: Where A k (k=1, … N) are parameters corresponding to cross-sectional areas of the vocal tract. (These values are given for a particular phoneme.) starting with D 0 (z) = 1 and ending with D(z) = D N (z).

14 The numerator G [of V(z)] is found by Finally, the lip radiation transfer function is given by

15 The previous voice model was implemented in MATLAB in a script file called voice.m. The vocal tract transfer function V(z) parameters are computed by a MATLAB function called AtoV(). The glottal transfer function G(z) coefficients are assigned to arrays numg and deng. The vocal tract/lip radiation transfer function V(z)R(z) coefficients are assigned to arrays numv and denv.

16 Pulse Train Glottis Random Noise Vocal Tract Lip Radiation Voiced Unvoiced e[n] G(z) V(z)R(z) u G [n] u L [n]p L [n] numg, deng AtoV  numv, denv u G [n] = rand();

17 for k=1:N-1 r = [r (A(k+1)-A(k))/(A(k+1)+A(k))]; end; AtoV()

18 for k=1:N D = [D 0] + r(k).*[0 fliplr(D)]; G = G*(1+r(k)); end;

19 Voiced Speech ug = 0.1*filter(numg,deng,p); pl = filter(numv,denv,ug); ug = 0.01*randn(1,10000); pl = filter(numv,denv,ug); Unvoiced Speech The array p is a pulse train

20 Given the vocal tract areas A k for a given vowel, we can synthesize the vowels. In the following demonstration, we will synthesize the phonemes AA and IY. The phoneme AA is like a short a (ă) The phoneme IY is like a long e (ē).

21 AA voiced (aav.wav) AA unvoiced (aau.wav) IY voiced (iyv.wav) IY unvoiced (iyu.wav)


Download ppt "Speech Processing. References L.R. Rabiner and R.W. Schafer. Digital Processing of Speech Signals. Prentice-Hall, 1978. Lawrence Rabiner and Biing-Hwang."

Similar presentations


Ads by Google