Page 0 of 23 MELP Vocoder
Outline Introduction MELP Vocoder Features Algorithm Description Parameters & Comparison Page 1 of 23
Introduction Traditional pitched-excited LPC vocoders use either a periodic train or white noise for synthesis filter intelligible speech at very low bit rates But sometimes results in mechanical or buzzy sound and are prone to tonal noise Page 2 of 23
Introduction These problems arise from: Inability of a simple pulse train to reproduce all kind of voiced speech MELP vocoder uses a mixed-excitation model and it represents a richer ensemble of speech characteristic Produce more natural sounding speech Page 3 of 23
MELP vocoder Robust in background noise environments Based on traditional LPC model, also includes additional features Mixed excitation Aperiodic pulses Pulse dispersion Adaptive spectral enhancement Page 4 of 23
وكدر MELP كد كننده LPC LPC LSF MSVQ LPC LSF LSF 54 از صفحه 5
وكدر MELP صفحه 6 از 54
وكدر MELP محاسبه دامنه هاي تبديل فوريه FFT 54 از صفحه 7
وكدر MELP محاسبه شدت هاي صدايي و تعيين پرچم غير پريوديك L=40,41,,160 54 از صفحه 8
وكدر MELP ميزان پراكندگي نقاط اوج P=12.64 P=6.77 p 1 160 1 160 79 n80 79 n80 e 2 [ n] e[ n] P=1.16 P=1.1 54 از صفحه 9
وكدر MELP p 1 160 1 160 ميزان پراكندگي نقاط اوج 79 n80 79 n80 e 2 [ n] e[ n] 54 از صفحه 10
وكدر MELP جدول اختصاص بيت LSF 25 25 8-8 8 VS1 7 7 4-1 - - 13 1 1 54 54 54 از صفحه 11
Mixed Excitation Mixed-excitation is implemented using a multi-band mixing model This model can simulate frequency dependent voicing strength Using a mixture of Aperiodic/periodic and white noise as excitation Primary effect of this unit is to reduce the buzz in broadband acoustic noise Page 12 of 23
Aperiodic pulses When input signal is voiced, MELP vocoder can synthesize speech using either aperiodic or periodic pulses. Aperiodic pulses used during transition regions between voiced and unvoiced segments of speech signal Producing erratic glottal pulses without tonal noise Page 13 of 23
Pulse Dispersion Pulse dispersion is implemented using fixed pulse dispersion filter based on a flattened triangle pulse The pulse dispersion filter improves the match of bandpass filtered synthetic and natural speech waveforms in frequency bands which do not contain a formant resonance. Spreading the excitation energy with a pitch period Reduce harsh quality of the synthetic speech Page 14 of 23
Adaptive spectral enhancement filter Based on the poles of the vocal tract filter Is used to enhance the formant structure in the synthetic speech This filter improves the match between synthetic and natural bandpass waveforms more natural speech output Page 15 of 23
MELP Algorithm Description (Encoder) filter out any low frequency noise This filtered speech is again filtered in order to perform the initial pitch search for the pitch estimation The next step is to perform the Bandpass voicing analysis.1.2.3 - In this step we decide to use periodic/aperiodic train or white noise model Page 16 of 23
MELP Algorithm Description (Encoder) cont d In this stage A voice degree parameter is estimated in each band, based on the normalized correlation function of the speech signal and the smoothed rectified signal in the non-dc band Let s k (n) denote the speech signal in band k, u k (n) denote the DC-removed smoothed rectified signal of s k (n). The correlation N 1 function: x( n) x( n p) n0 Rx ( p) N 1 N 1 2 2 1/ 2 [ x ( n) x ( n p)] P the pitch of current frame N the frame length k the voicing strength for band (defined as max(r sk (P),R uk (P))) n0 n0 Page 17 of 23
MELP Algorithm Description (Encoder ) cont d The jittery state is determined by the peakiness of the fullwave rectified LP residue e(n): Peakiness 1 [ N 1 N N 1 n0 N 1 e( n) n0 2 ] e( n) 1/ 2 If peakiness is greater than some threshold, the speech frame is then flagged as jittered (Aperiodic flag will be set) Page 18 of 23
MELP Algorithm Description (Encoder) cont d Applying a LPC analysis 4. Calculating final pitch estimate 5. Calculating Gain estimate 6. quantize the LPC coefficients, pitch, gain and 7. bandpass voicing Fourier magnitudes are determined and.8 quantized The information in these coefficients improves the accuracy of the speech production model at the perceptually-important lower frequencies Page 19 of 23
MELP Encoder Input signal Pre filter Pitch Search Bandpass Voicing Decision Gain Calculator LPC Analysis Filter Final Pitch And voicing Decision LSF quantization Quantize Gain, pitch, Voicing, jitter Fourier Magnitude calculation Apply Forward Error Correction Transmitted Bitstream Page 20 of 23
MELP Algorithm (Decoder) Decoding the pitch Applying gain attenuation Interpolating linearly all of the synthesis parameters pitch-synchronously Generating mixed-excitation.1.2.3.4 Page 21 of 23
MELP Algorithm (Decoder) cont d Applying an adaptive spectral enhancement filter LPC synthesis and applying gain factor Dispersion filtering.5.6.7 Page 22 of 23
MELP Decoder Received Bitstream Decode parameters Noise Generator Noise Shaping Filter + Adaptive Spectral Enhancement Pulse Generator Pulse Position Jitter Pulse Shaping Filter LPC Synthesis Filter gain Pulse Dispersion Filter Synthesized Speech Page 23 of 23
Parameter Quantization Parameters Voiced Unvoiced LSF parameters 25 25 Fourier magnitudes 8 - Gain (2 per frames) 8 8 Pitch. overall voicing 7 7 Bandpass voicing 4 - Aperiodic flag 1 - Error protection - 13 Sync bit 1 1 Total bits / 22.5 ms frame 54 54 Page 24 of 23
Bit transmission order Page 25 of 23
Comparison of the 2400 BPS MELP with other Standard Coders Diagnostic Acceptability Measure Two Conditions Quiet Office Continuously Variable Slope Delta Modulation (CVSD) 16,000 bps Code Excited Linear Prediction (CELP) 4800 bps FS1016 Mixed Excitation Linear Prediction (MELP) 2400 bps FIPS Publication 137 Linear Predictive Coding (LPC) 2400 bps Page 26 of 23
Comparison of the 2400 BPS MELP with other Standard Coders (cont d) Mean Opinion Score in Six Conditions Quiet Anechoic Sound Chamber Dynamic Microphone Quiet - H250 Anechoic Sound Chamber H250 Microphone 1% Random Bit Errors Anechoic Sound Chamber Dynamic Microphone 0.5% Random Block Errors Anechoic Sound Chamber Dynamic Microphone 50% Errors within a 35ms block Office Modern Office Environment Dynamic Microphone Mobile Command Environment Field Shelter EV M87 Microphone Page 27 of 23
Comparison of the 2400 BPS MELP with other Standard Coders (cont d) Complexity with three Measurements RAM ROM MIPS Page 28 of 23
Voice samples LPC 10 Page 29 of 23
Voice samples Original Sound MELP 1800 MELP 2000 MELP 2200 Page 30 of 30