Transcoding of Narrowband to Wideband Speech

Similar documents
Enhanced Waveform Interpolative Coding at 4 kbps

Flexible and Scalable Transform-Domain Codebook for High Bit Rate CELP Coders

Speech Coding Technique And Analysis Of Speech Codec Using CS-ACELP

Simulation of Conjugate Structure Algebraic Code Excited Linear Prediction Speech Coder

Wideband Speech Encryption Based Arnold Cat Map for AMR-WB G Codec

Improved signal analysis and time-synchronous reconstruction in waveform interpolation coding

An objective method for evaluating data hiding in pitch gain and pitch delay parameters of the AMR codec

Overview of Code Excited Linear Predictive Coder

Wideband Speech Coding & Its Application

Chapter IV THEORY OF CELP CODING

Spanning the 4 kbps divide using pulse modeled residual

Adaptive time scale modification of speech for graceful degrading voice quality in congested networks

The Optimization of G.729 Speech codec and Implementation on the TMS320VC5402

A Closed-loop Multimode Variable Bit Rate Characteristic Waveform Interpolation Coder

SNR Scalability, Multiple Descriptions, and Perceptual Distortion Measures

Ninad Bhatt Yogeshwar Kosta

SILK Speech Codec. TDP 10/11 Xavier Anguera I Ciro Gracia

Information. LSP (Line Spectrum Pair): Essential Technology for High-compression Speech Coding. Takehiro Moriya. Abstract

Synchronous Overlap and Add of Spectra for Enhancement of Excitation in Artificial Bandwidth Extension of Speech

22. Konferenz Elektronische Sprachsignalverarbeitung (ESSV), September 2011, Aachen, Germany (TuDPress, ISBN )

Proceedings of Meetings on Acoustics

Low Bit Rate Speech Coding

Bandwidth Extension for Speech Enhancement

EE482: Digital Signal Processing Applications

ENHANCED TIME DOMAIN PACKET LOSS CONCEALMENT IN SWITCHED SPEECH/AUDIO CODEC.

Audio Compression using the MLT and SPIHT

Enhanced Variable Rate Codec, Speech Service Options 3, 68, 70, and 73 for Wideband Spread Spectrum Digital Systems

NOISE SHAPING IN AN ITU-T G.711-INTEROPERABLE EMBEDDED CODEC

3GPP TS V5.0.0 ( )

techniques are means of reducing the bandwidth needed to represent the human voice. In mobile

Open Access Improved Frame Error Concealment Algorithm Based on Transform- Domain Mobile Audio Codec

LOSS CONCEALMENTS FOR LOW-BIT-RATE PACKET VOICE IN VOIP. Outline

The Channel Vocoder (analyzer):

International Journal of Advanced Engineering Technology E-ISSN

ARTIFICIAL BANDWIDTH EXTENSION OF NARROW-BAND SPEECH SIGNALS VIA HIGH-BAND ENERGY ESTIMATION

Auditory modelling for speech processing in the perceptual domain

IN RECENT YEARS, there has been a great deal of interest

Pattern Recognition. Part 6: Bandwidth Extension. Gerhard Schmidt

Speech Coding using Linear Prediction

Mel Spectrum Analysis of Speech Recognition using Single Microphone

COMPARATIVE REVIEW BETWEEN CELP AND ACELP ENCODER FOR CDMA TECHNOLOGY

Quality comparison of wideband coders including tandeming and transcoding

ARIB STD-T V Audio codec processing functions; Extended Adaptive Multi-Rate - Wideband (AMR-WB+) codec; Transcoding functions

Digital Speech Processing and Coding

Review Article AVS-M Audio: Algorithm and Implementation

Robust Voice Activity Detection Based on Discrete Wavelet. Transform

Voice Activity Detection for Speech Enhancement Applications

Techniques for low-rate scalable compression of speech signals

Accurate Delay Measurement of Coded Speech Signals with Subsample Resolution

Scalable speech coding spanning the 4 Kbps divide

Transcoding free voice transmission in GSM and UMTS networks

A BURST-BY-BURST ADAPTIVE JOINT-DETECTION BASED CDMA SPEECH TRANSCEIVER. H.T. How, T.H. Liew, E.L Kuan and L. Hanzo

A 600 BPS MELP VOCODER FOR USE ON HF CHANNELS

ITU-T EV-VBR: A ROBUST 8-32 KBIT/S SCALABLE CODER FOR ERROR PRONE TELECOMMUNICATIONS CHANNELS

Cellular systems & GSM Wireless Systems, a.a. 2014/2015

Modulator Domain Adaptive Gain Equalizer for Speech Enhancement

A spatial squeezing approach to ambisonic audio compression

Audio Signal Compression using DCT and LPC Techniques

speech signal S(n). This involves a transformation of S(n) into another signal or a set of signals

Implementation of attractive Speech Quality for Mixed Excited Linear Prediction

1. MOTIVATION AND BACKGROUND

Communications Theory and Engineering

An Improved Version of Algebraic Codebook Search Algorithm for an AMR-WB Speech Coder

Speech Enhancement Based On Spectral Subtraction For Speech Recognition System With Dpcm

Enhancement of Speech Signal Based on Improved Minima Controlled Recursive Averaging and Independent Component Analysis

APPLICATIONS OF DSP OBJECTIVES

IMPROVED SPEECH QUALITY FOR VMR - WB SPEECH CODING USING EFFICIENT NOISE ESTIMATION ALGORITHM

Speech Compression Using Voice Excited Linear Predictive Coding

Comparison of CELP speech coder with a wavelet method

Robust Linear Prediction Analysis for Low Bit-Rate Speech Coding

Data Transmission at 16.8kb/s Over 32kb/s ADPCM Channel

6/29 Vol.7, No.2, February 2012

DEPARTMENT OF DEFENSE TELECOMMUNICATIONS SYSTEMS STANDARD

United Codec. 1. Motivation/Background. 2. Overview. Mofei Zhu, Hugo Guo, Deepak Music 422 Winter 09 Stanford University.

SPEECH ENHANCEMENT USING A ROBUST KALMAN FILTER POST-PROCESSOR IN THE MODULATION DOMAIN. Yu Wang and Mike Brookes

Improving Sound Quality by Bandwidth Extension

Bandwidth Extension of Speech Signals: A Catalyst for the Introduction of Wideband Speech Coding?

core signal feature extractor feature signal estimator adding additional frequency content frequency enhanced audio signal 112 selection side info.

I D I A P R E S E A R C H R E P O R T. June published in Interspeech 2008

NOTICE WARNING CONCERNING COPYRIGHT RESTRICTIONS: The copyright law of the United States (title 17, U.S. Code) governs the making of photocopies or

Voice Excited Lpc for Speech Compression by V/Uv Classification

Adaptive Forward-Backward Quantizer for Low Bit Rate. High Quality Speech Coding. University of Missouri-Columbia. Columbia, MO 65211

Convention Paper Presented at the 112th Convention 2002 May Munich, Germany

Comparison of Low-Rate Speech Transcoders in Electronic Warfare Situations: Ambe-3000 to G.711, G.726, CVSD

Analysis/synthesis coding

Golomb-Rice Coding Optimized via LPC for Frequency Domain Audio Coder

ON-LINE LABORATORIES FOR SPEECH AND IMAGE PROCESSING AND FOR COMMUNICATION SYSTEMS USING J-DSP

Distributed Speech Recognition Standardization Activity

Voice and Audio Compression for Wireless Communications

Speech Quality Evaluation of Artificial Bandwidth Extension: Comparing Subjective Judgments and Instrumental Predictions

QUANTIZATION NOISE ESTIMATION FOR LOG-PCM. Mohamed Konaté and Peter Kabal

EFFICIENT SUPER-WIDE BANDWIDTH EXTENSION USING LINEAR PREDICTION BASED ANALYSIS-SYNTHESIS. Pramod Bachhav, Massimiliano Todisco and Nicholas Evans

Efficient Statistics-Based Algebraic Codebook Search Algorithms Derived from RCM for an ACELP Speech Coder

10 Speech and Audio Signals

Bandwidth Efficient Mixed Pseudo Analogue-Digital Speech Transmission

Scalable Speech Coding for IP Networks

CHAPTER 7 ROLE OF ADAPTIVE MULTIRATE ON WCDMA CAPACITY ENHANCEMENT

Quantisation mechanisms in multi-protoype waveform coding

Universal Vocoder Using Variable Data Rate Vocoding

Impact of the GSM AMR Speech Codec on Formant Information Important to Forensic Speaker Identification

Transcription:

University of Wollongong Research Online Faculty of Informatics - Papers (Archive) Faculty of Engineering and Information Sciences 2005 Transcoding of Narrowband to Wideband Speech Christian H. Ritz University of Wollongong, critz@uow.edu.au Nick Harders University of Wollongong Joseph Hermann University of Wollongong Matthew J. Baker University of Wollongong, matthewb@uow.edu.au Publication Details C. H. Ritz, M. J.. Baker, N. Harders & J. Hermann, "Transcoding of Narrowband to Wideband Speech," in 8th International Symposium on DSP and Communication Systems, DSPCS'2005 & 4th Workshop on the Internet, Telecommunications and Signal Processing, WITSP'2005, 2005, pp. 44-49. Research Online is the open access institutional repository for the University of Wollongong. For further information contact the UOW Library: research-pubs@uow.edu.au

Transcoding of Narrowband to Wideband Speech Abstract Transcoding is required to facilitate the communication of compressed speech between networks that have adopted opposing speech coding standards. The traditional transcoding technique of tandem conversion by decoding from the old standard and then re-encoding with the new standard suffers from unacceptable delay and complexity. For real time applications, delay and complexity can be reduced by performing transcoding in the bit stream domain. This paper describes techniques for transcoding between narrowband and wideband speech coding standards. In particular, an examination of the performance of bit stream mapping approaches to transcoding from the ITU-T G.729 narrowband speech coder to the ITU-T G.722.2 wideband speech coder is presented. Results for the proposed transcoder compared with a tandem transcoder indicate significant reductions in computational complexity however speech quality results less satisfactory. It is concluded that an ideal transcoder must consider the interaction of all speech parameters to ensure satisfactory speech quality. Keywords Transcoding, Narrowband, Wideband, Speech Disciplines Physical Sciences and Mathematics Publication Details C. H. Ritz, M. J.. Baker, N. Harders & J. Hermann, "Transcoding of Narrowband to Wideband Speech," in 8th International Symposium on DSP and Communication Systems, DSPCS'2005 & 4th Workshop on the Internet, Telecommunications and Signal Processing, WITSP'2005, 2005, pp. 44-49. This conference paper is available at Research Online: http://ro.uow.edu.au/infopapers/1625

TRANSCODING OF NARROWBAND TO WIDEBAND SPEECH C._H. Ritz. M. Baker. N. Harders. J. Hermann Whisper Labs, TITR/School of Electrical, Computer and Telecommunications Engineering, University of Wollongong, chritz@elec.uow.edu.au ABSTRACT Transcoding is required to facilitate the communication of compressed speech between networks that have adopted opposing speech coding standards. The traditional transcoding technique of tandem conversion by decoding from the old standard and then re-encoding with the new standard suffers from unacceptable delay and complexity. For real time applications, delay and complexity can be reduced by performing transcoding in the bit stream domain. This paper describes techniques for transcoding between narrowband and wideband speech coding standards. In particular, an examination of the performance o f bit stream mapping approaches to transcoding from the ITU-T G.729 narrowband speech coder to the ITU-T G.722.2 wideband speech coder is presented. Results for the proposed transcoder compared with a tandem transcoder indicate significant reductions in computational complexity however speech quality results less satisfactory. It is concluded that an ideal transcoder must consider the interaction o f all speech parameters to ensure satisfactory speech quality. 1. INTRODUCTION A variety o f speech coding standards have been defined and adopted for various telecommunications applications such as fixed and mobile telephony. Each standard uniquely defines how to represent the speech signal using a set of parameters that are quantised to form a bitstream. Emerging speech applications require interoperability between networks and applications which may use different speech coding standards. Such communication requires conversion of the bitstream from one standard to another, which is commonly known as transcoding [1], One approach to transcoding is tandem conversion, illustrated in Figure 1(a). In this approach, bitstream, ba o f coder A is decoded to synthesised speech, s '(«) and then re-encoded with coder B to bitstream bb. However, the delay and complexity associated with the decode/re-encode stage is unacceptable for realtime applications, such as telephony [1], An alternative is bit stream mapping, illustrated in Figure 1(b). Bitstream ba of coder A is directly mapped to bitstream bb of coder B without full decoding and reencoding, thus reducing the delay and complexity associated with tandem conversion [1], Figure 1. (a) Tandem transcoder, (b) Bitstream mapping transcoder. Existing bitstream mapping approaches to transcoding, including [l]-[4] have focused on standards defined for narrowband speech, which has a bandwidth o f up to 4 khz. For 3rd and future generation mobile networks and other Internet applications, wideband speech, with a bandwidth of up to 8 khz, is preferred. Hence, emerging speech coding technologies will require transcoding between narrowband and wideband speech coding standards and is the focus of this paper. In particular, this paper will describe transcoding between the narrowband speech coding standard ITU-T G.729 [5] to the wideband speech coding standard ITU-T G.722.2 [6], Both these standards are predominant techniques for Internet telephony. Section 2 will provide an overview o f both coders. The transcoding techniques used for the speech coding parameters are described in Sections 3 to 6. Section 7 presents and discusses speech quality and computational complexity results for these techniques, with conclusions described in Section 8. 2. OVERVIEW OF THE CODERS Both the G.729 and the G.722.2 speech coders are based on the Algebraic Code Excited Linear Prediction (ACELP) [5] technique, with the differences highlighted below. 2.1. G.729 The G.729 speech coder is defined for narrowband speech sampled at 4 khz. Linear Prediction Coding (LPC) coefficients are derived using frames o f 10 ms while pitch, excitation and gain parameters are extracted for sub-frames o f 5 ms. The coder operates at 8 kbps. These parameters are quantised using the bit allocation shown in Table 1.

Parameter Bits per frame G.729 G.722.2 LPCs 18 46 VAD Flag 0 1 Pitch (period) 13 26 Pitch (parity bit) 1 0 Excitation Signal 34 80 Gains 14 24 Total 80 177 Table 1. Bit allocation for the G.729 and G.722.2 speech coders. 2.2. G.722.2 The G.722.2 is a multi-rate wideband speech coder defined for wideband speech sampled at 16 khz. The coder operates at bit rates from 6.60 kbps to 23.85 kbps. For this work, the coder is chosen to operate at 8.85 kbps, (closest to the G.729 coding rate used here), and this coder quantises parameters using bit allocations shown in Table 1. The coder separates the speech into two sub-bands: 50-6.4 khz and 6.4-7 khz. The lower sub-band (re-sampled to 12.8 khz) is coded using ACELP while the upper sub-band is represented using noise models that are generated from the lower sub-band. For the lower sub-band, LPC coefficients are derived for 20 ms frames while pitch, excitation and gain parameters are derived for 5 ms sub-frames. The coder also derives a Voice Activity Detection (VAD) flag for each frame. 3. LPC PARAMETER TRANSCODING This section elaborates on the LPC parameter representation and quantisation used by both coders and describes codebook mapping approaches proposed for LPC parameter transcoding. 3.1. Comparison of LPC coefficient representation and quantisation For G.729, 10th order LPC coefficients are represented using 10th order Line Spectral Frequency (LSFs) while for G.722.2, 16* order LPC coefficients are represented as 16* order Immittance Spectral Frequencies (ISFs). For the both coders, the LSF (or ISF) for the current frame is predicted from the LSF (or ISF) from the previous frame and the resulting prediction residual is quantised to the number o f bits specified in Table 1 using a combination o f multistage and split VQ [7]. Further details are provided in [5] [6], Due the use of predictive VQ by both coders, prediction errors will be uncorrelated with the speech spectral envelope. Hence prediction residuals are decoded to LSF and ISF vectors and transcoding is performed in that domain. 3.2. Transcoding the LPC parameters via codebook mapping For transcoding of the LPC parameters, a codebook mapping approach is proposed. Such an approach is motivated by the bandwidth expansion techniques for narrowband speech, described in detail in [8], In [8], codebooks are designed which contain representations o f narrowband LPC spectra and their corresponding wideband LPC spectra. In this paper, we propose a similar technique, whereby codebooks are designed containing representations o f the narrowband G.729 LSF vectors and their corresponding wideband G.722.2 ISF vectors. Such a scheme is illustrated in Figure 2. Input Narrowband LSFs Select best G.729 Narrowband LSF codebook G.722.2 Wideband ISF codebook Transcoded Wideband ISFs Figure 2. Codebook mapping for transcoding of G.729 LSFs to G.722.2 ISFs. In Figure 2, an input G.729 LSF vector is compared with those in the first LPC transcoder codebook to find the best match using a mean squared error search technique. The corresponding ISF in the second LPC transcoder codebook is then chosen as the transcoded ISF. The final step is to quantise this transcoded ISF using the standard techniques defined for G.722.2, resulting in the LPC bitstream for this coder. 3.3. Design of the LPC Transcoder Codebooks The design of the LPC transcoder codebook is similar to that used in the codebook mapping approach to bandwidth extension [8]. A training database of LSF and corresponding ISF vectors is formed. A VQ codebook is designed for the LSF vectors using the standard Generalized Lloyd Algorithm (GLA) [7] and the ISF codebook is designed using the following algorithm: Quantise the LSF training vectors using the designed codebook. Partition the ISF training vectors into groups for which the corresponding LSF vector has the same quantised codeword. Average all ISF vectors within each partition to form the codewords o f the ISF codebook. The training database used in this work was obtained by encoding approximately 30 minutes o f speech using the standard LPC techniques defined for the G.729 and G.722.2 coders, respectively. The performance o f the trained codebooks can be

measured using the Spectral Distortion (SD) [9] (defined in (1)) resulting from quantising the ISF vectors using the designed codebooks of different sizes. SD = ~K K zk=\ where 20 log to r GcAj(ct)k)^ A,(cok ) k A,( m k ) = % j k=\a dco dco (1) In (1), Ok, is the frequency out o f the total set o f K frequencies over which the f h original and transcoded magnitude spectra Ai and Ap respectively, are evaluated and Gc is used to scale the original spectra so that only the distortion in the envelope shape is evaluated, as suggested in [8]. Figure 3 shows the SD results when transcoding a database o f G.729 LSF vectors to G.722.2 ISF vectors using different sized codebooks. These vectors were derived for approximately 2 minutes of speech that is different from the training database. To investigate the performance over different frequency ranges, the SD is measured separately for the 0 to 4 khz and the 4 khz to 6.4 khz frequency ranges. the size o f the LPC transcoder codebooks. However, larger codebooks require increased search complexity. Hence, in this work, a 24 bit codebook was chosen to provide a good tradeoff between SD and search complexity. To further minimise search complexity, this codebook was implemented as a multistage codebook [7], with three 8 bit stages. 3.4. Improved LPC transcoding by interpolation To improve the performance o f the codebook mapping approach, an interpolative technique is proposed, similar to that described in [8] for narrowband to wideband LPC spectra mapping. In this approach, the K ISF vectors corresponding to the K closest matching LSF vectors are averaged to form a new ISF vector, as described in (5). 1 K y '= Zt* (5) N k=l In (5), y represents the average ISF vectors, correspond to the K nearest matching ISF vectors, yk. To measure the performance o f the interpolative ISF technique, the SD was measured using the 24 bit codebook described in Section 6.5 for various interpolation factors, K. These results are shown in Figure 4. 4.7 4.5 5f H- 4.3 Q - 4-6.4kHz - 0-4kHz Size (b its ) Figure 3. SD versus bitrate resulting from ISF quantisation. Lowband: 0 to 4 khz. Highband: 4 khz to 6.4 khz. In Figure 3, the spectral distortion of the low frequency region decreases as the bit rate increases. Conversely, the SD o f the high frequency region shows little change for the codebooks tested. These results indicate that the clustering o f the wideband ISFs based on narrowband LSFs is justified for those representing the narrowband (0 to 4 khz) region but not necessarily for the high frequency (4 to 6.4 khz) region of the LPC spectral envelope. These results agree w ith existing work in bandwidth extension of narrowband speech, which has demonstrated that there is only minimal correlation between low and high frequency regions o f LPC magnitude spectra [8], The results also indicate that the SD for the low frequency region will further reduce by increasing 3.9 3.7 1 2 3 4 5 6 7 8 9 10 In terp o latio n F acto r, K Figure 4. SD versus interpolation factor, K, for a 24 bit LPC transcoder codebook. Figure 4 shows that little change in the SD results beyond an interpolation factor o f 4 for both coders and so was chosen in this work. 4. PITCH AND VAD TRANSCODING Both coders represent the pitch period using a value in samples. Absolute pitch period values are used for odd numbered sub-frames while differential pitch values are used for even numbered sub-frames. In both coders, pitch is calculated and quantised using the same sub-frame size and bit allocation. Hence, a G.722.2 pitch can be obtained from a G.729 pitch value by multiplying by the ratio o f the sampling rates (in khz) and is given by expression (2). 12.8. T, G.722.2 1 G.729 = 1.67) G.729 (2)

In (2), Tq 729 and Tg.722.2 are the pitch periods (in samples) for the G.729 and G.722.2 speech coders. In addition, some scaling has to be performed to account for the slightly different pitch ranges used in both coders (1.67 ms to 18.5 ms in G.729 versus 2.03 ms to 18.6 ms in G.722.2). The Voice Activity Detector (VAD) flag is used to indicate bitrate reduction during non-speech activity and is only incorporated into the G.722.2 speech coder. Hence, the VAD flag was set to 1 for all transcoded frames. 5. EXCITATION PARAMETER TRANSCODING The excitation signal for each of the coders is represented by four separate pulses whose amplitude is represented by a single sign bit and whose location is quantised to one o f a set of locations specified in the fixed codebook. For G.729, 8 locations for tracks 1 to 3 and 16 locations for track 4 are specified requiring 3 bits and 4 bits for these tracks, respectively, making a total of 17 bits per subframe. For G.722.2, 16 locations are specified for each track hence requiring 4 bits per track, making a total of 20 bits per subframe. The locations specified in the fixed codebooks of each coder differ by the ratio of the sampling rates. By examining the fixed codebooks of each coder (see [7-8]), direct conversion using this factor will only map track 1 accurately between each coder, with the location within other tracks requiring rounding. However, rounding o f pulse locations will not guarantee a pulse from a given track within the G.729 fixed codebook is mapped to the same track in G.722.2 fixed codebook. For example, pulse position 3 in track 2 of the G.729 fixed codebook is 6, the closest rounded value following conversion by 1.6 is 10, which is a location within track 3 o f G.722.2. By comparing the rounding errors associated with the conversion using this factor, it was found that the mapping algorithm of Table 2 resulted in least location errors. G729 G.722.2 Track Track Location 0-7 of Location 8-15 of G.729 Track 4 G.729 Track 4 1 1 1 2 3 2 3 4 4 4 2 3 Table 2. Best matching G729 and G722.2 excitation tracks. In Table 2, G.729 tracks 2 and 4 are mapped differently depending on whether pulse 4 is located within positions 0 to 7 or 8 to 15 o f track 4 to ensure minimal errors (due to rounding) in excitation mapping. 6. GAIN PARAMETER TRANSCODING For both coders, the fixed (excitation) gain for the current frame is predicted from the fixed codebook gain of the previous gain. The resulting prediction coefficient is combined with the adaptive (pitch) gain and these are quantised together using vector quantisation. 6.1. Gain codebook mapping by nearest match The G.729 coder uses a two-stage codebook with sizes of 3 bits and 4 bits for stage 1 and 2, respectively. The 8.85 kbps G.722.2 coder uses a single 6 bit codebook. For transcoding, the gains were decoded using the relevant codebooks and a direct mapping approach investigated. In this approach, a table is formed that indicates, for each o f the possible 128 G.729 gain vectors, a corresponding 6-bit index in the G.722.2 gain codebook. This table was created using a training procedure that minimises the mean squared error distortion described in (3) to find the best matching G.722.2 gain as described in (4). 729 >g 722.2 ) ~ 0-5 * [(&729,7? ~ 8 122.2,p Y + (#729,e ~ g 722.2,e Y ] gtr O') = mink(g729 U ),g722.2 (0)1 1 < i < 64,1 < j <128 (4) In (3), [ g 729,p, 7 2 9,e] and [g 7 2 2.2,p, g 7 2 2.2,e ] are the G.729 and G.722.2 gain vectors, respectively, where subscripts p and e denote the pitch and excitation gain, respectively. Informal listening tests found the resulting speech to be generally o f poor quality when using the initial table lookup. Examination of speech waveforms found much o f the distortion caused by clipping of the speech as a result of incorrect gain values. This was a consequence o f the joint quantisation of both gains failing to ensure that the individual gain errors are minimised. Hence, an accurately mapped pitch gain may lead to a large error in the excitation gain and vice-versa. 6.2. Gain codebook mapping by most frequent match To further investigate the correlation between the quantised gains for both coders, Figure 5 shows the gain codebook indices generated when coding 30 minutes o f narrowband speech using the G.729 coder and the G.722.2 coder applied to an upsampled (to 16 khz) version of the same speech.

Figure 5. G.729 gain codebook indices and corresponding G.722.2 gain codebook indices derived for a 30 minute speech file. The vertical axis shows the number of matches. As can be seen from Figure 5, the majority of indices chosen from the G.729 gain codebook, map to a wide range o f possible indices within the G.722.2 gain codebook. Hence, there appears little correlation between the gain vectors quantised using the two codebooks, and helps to explain the poor performance o f the codebook mapping procedure describe in Section 6.1. An alternative approach adopted here is to form a table that maps the index from the G.729 gain codebook to the most frequent matching G.722.2 gain codebook index as determined from the results o f Figure 5. To minimise occasional spikes in the excitation gain (hence causing speech clipping), a simple smoothing technique was applied, whereby changes in the excitation gain between frames was limited. Informal listening tests found that the new codebook combined with gain smoothing produced speech o f similar or better quality compared with the codebook mapping approach o f Section 6.1. More detailed testing is described in Section 7. 7. RESULTS To analyse the performance o f the proposed transcoder, the Perceptual Evaluation o f Speech Quality (PESQ) [10] was utilised. The PESQ is a standardised objective measure that gives an estimation o f the subjective Mean Opinion Score (MOS) for a speech file. An estimation of the computational complexity was also obtained. 7.1. Objective Speech Qualilty Results A database o f 12 test files consisting o f 6 male and 6 female speech sentences was encoded and resynthesised with both the G.729 and G.722.2 speech coders. The resulting G.729 bit streams were transcoded, using the proposed techniques, to G.7222.2 bitstreams and decoded and resynthesised to form transcoded versions of the same files. For comparison purposes, tandem transcoded versions o f the same set o f speech files were also obtained. To analyse the performance of the transcoding techniques developed in Sections 3 to 6, PESQ G.722.2 Index results were obtained for speech synthesised from G.722.2 bitstreams where only a single parameter was transcoded. When transcoding only a single parameter, the other parameters were represented using the G.722.2 bitstreams that would have been generated following a full encode of the original speech signal. These results are shown in Table 3. Synthesised Speech PESQ G.722.2 @ 8.85 kbps 3.7 G.729 @ 8 kbps 3.6 Tandem transcode 3.4 Complete transcode 1.8 Pitch transcoded only 2.9 LPCs transcoded only 3.0 Gain transcoded only 2.9 VAD transcoded only 4.5 Excitation transcoded only 2.4 Table 3. PESQ scores for various speech files. In Table 3, results for G.729 and G.722.2 were obtained using original 8 khz and 16 khz sampled speech, respectively, as the reference files. The results for transcoding were obtained by using speech synthesised using the G.722.2 coder as the reference files; this was chosen as it is expected that this is the maximum quality that could be achieved when transcoding these two coders. Table 3 shows that tandem transcoded speech has superior quality to the bit stream transcoded speech. When transcoding a single parameter, results are significantly better results than results obtained when transcoding all parameters using the proposed technique, however still inferior to results obtained for tandem transcoding. W hen transcoding pitch, the LPCs or gain, the resulting PESQ is similar (2.9 or 3.0) compared with 1.8 when all parameters are transcoded. The worse result for transcoding a single parameter is for the excitation. The high result for transcoding VAD is due to the use of a G.722.2 synthesised speech files as reference files for PESQ analysis. Hence, a PESQ o f 4.5 indicates that there is

virtually no loss in subjective quality when transcoding the VAD flag. The PESQ results can be explained by analysing the techniques and results presented in Sections 3 to 6. While the pitch transcoding technique of Section 4 results in minimal errors during voiced speech, errors during unvoiced speech leading to distortions in these regions. One technique for improving pitch transcoding could be to utilise a smoothing technique to minimise occasional pitch errors. Section 6 showed that the gain parameters derived for both coders display little correlation. This could be due to both coders utilising analysis by synthesis techniques, which compare original and reconstructed speech when quantising excitation and gain parameters. A better approach may be to perform gain transcoding in the excitation or speech domain, as suggested in [1] for G.729 to IS- 641 transcoding. The results presented in Section 3 for LPC parameter transcoding indicate significant distortion compared with the generally accepted spectral distortion limit of 1 db to ensure minimal loss in subjective speech quality when quantising narrowband LPC spectra [10]. An improvement in LPC parameter transcoding could be obtained by adopting more sophisticated techniques similar to those used in bandwidth extension of narrowband speech, such as those suggested in [8], 7.2. Computational Complexity An analysis of the computational complexity was performed by measuring the average CPU computation time. Bitstreams were derived for a 2 minute speech file using G.229 and converted to a G.722.2 using tandem conversion and the proposed transcoder, where each parameter is transcoded using the bit stream mapping approaches described in Sections 3 to 6. This was repeated for 20 trials and the average results per second o f speech are shown in Table 4. From Table 4, it can be seen that the proposed transcoder introduces almost 10 times less delay than a tandem conversion. It should be noted these are comparative results only and absolute delays would be dependent on the actual hardware implementation. Method Delay per second (ms) Tandem 262.5 Proposed 26.92 Table 4. complexity Comparison o f computational 8. CONCLUSION This paper has described a codebook mapping approach for the transcoding of G.729 bitstreams to G.722.2 bitstreams. Each o f the pitch, gain, excitation and LPC parameters were treated separately during transcoding. Results for PESQ scores show that the proposed transcoding technique produces speech of inferior quality to speech produced by tandem conversion. From this work it can be concluded that a G.729 to G.722.2 transcoder that considers the individual parameters only during parameter conversion will not produce speech o f satisfactory quality. It is proposed that a better technique would be to consider the interaction of each of the parameters on the overall speech quality during transcoding. REFERENCES [1] Kang, H.G., Kim, H.K., Cox, R.V., Improving the Transcoding Capability of Speech Coders, IEEE Trans, on Multimedia, Vol. 5, No. 1, pp. 24-33, March 2003. [2] Yoon, S.-W, Kang, H.-G., Park, Y.-C and Youn, D.-H, An efficient transcoding algorithm for G.723.1 and G.729A speech coders: interoperability between mobile and IP network, Speech Communication, Vol. 43, pp. 17-31, 2004. [3] Lee, W, Lee, S. and Yoo, C., A novel transcoding algorithm for AMR and EVRC speech codecs via direct parameter transformation, Proc. ICASSP2003, Vol. 2, pp. 177-180, April 2003. [4] Kim, K. T., et. al., An efficient transcoding algorithm for G.723.1 and EVRC speech coders, Proc. IEEE VTS 54th Vehicular Technology Conference, 2001, Vol. 3, pp. 1561-1564, 2001. [5] Salami, R., Laflamme, C., Bessette, B. and Adoul, J.-P., ITU-T G.729 Annex A: Reduced Complexity 8kb/s CS-ACELP Codec for Digital Simultaneous Voice and Data, IEEE Communications Magazine, Vol. 35, Iss. 9, pp. 56-63, September 1997 [6] Bessette, B, et. al., The Adaptive Multirate Wideband Speech Codec (AMR-WB), IEEE Trans. Speech and Audio Processing, Vol. 10, No. 8, November 2002. [7] Gersho, A. and Gray, R.M., Vector Quantization and Signal Compression, Kluwer Academic Publishers, Boston, 1993. [8] Epps, J., Wideband Extension of Narrowband Speech for Enhancement and Coding, PhD Thesis, UNSW, Australia, 2000. [9] Paliwal, K.K. and Kleijn, W. B., Quantization of LPC Parameters, Speech Coding and Synthesis, p. 443, edited by Kleijn, W.B. and Paliwal, K.K., Elsevier, 1995. [10] Rix, A.W., et. al., Perceptual evaluation of speech quality (PESQ)-a new method for speech quality assessment o f telephone networks and codecs, Proc. ICASSP2001, Vol.2, pp. 749-752, 2001.