GB2280827A - Speech compression and reconstruction - Google Patents

Speech compression and reconstruction Download PDF

Info

Publication number
GB2280827A
GB2280827A GB9414078A GB9414078A GB2280827A GB 2280827 A GB2280827 A GB 2280827A GB 9414078 A GB9414078 A GB 9414078A GB 9414078 A GB9414078 A GB 9414078A GB 2280827 A GB2280827 A GB 2280827A
Authority
GB
United Kingdom
Prior art keywords
frames
transformer
speech signal
domain
frequency domain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB9414078A
Other versions
GB9414078D0 (en
GB2280827B (en
Inventor
Ari Sinisalo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nokia Oyj
Original Assignee
Nokia Mobile Phones Ltd
Nokia Telecommunications Oy
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nokia Mobile Phones Ltd, Nokia Telecommunications Oy filed Critical Nokia Mobile Phones Ltd
Publication of GB9414078D0 publication Critical patent/GB9414078D0/en
Publication of GB2280827A publication Critical patent/GB2280827A/en
Application granted granted Critical
Publication of GB2280827B publication Critical patent/GB2280827B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/02Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders
    • G10L19/0212Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders using orthogonal transformation

Abstract

The present invention relates to a method with which a speech signal can be compressed, respectively reconstructed, with the aid of two-dimensional algorithms developed for image processing. Both the compression and reconstruction can be thought of being formed from two different phases. In the first phase from a one-dimensional speech signal a two-dimensional image matrix (spectrogram) is formed in which the frequency components of a speech signal transformed from time domain to frequency domain with e.g. Fast Fourier Transform algorithm are presented frame by frame as a function of time. In the second phase of the method the image presented by the image matrix is compressed with a powerful two-dimensional compression algorithm, e.g. by JPEG. The reconstruction of speech is performed in inverse order; decompression (IJPEG) and inverse FFT (IFFT). The method is particularly appropriate for storing and transmitting speech when no strict real time properties are necessitated in the transmission or storing. <IMAGE>

Description

ComDression and reconstruction of speech signal The present invention relates to a method for compressing and reconstructing a speech signal and a means for implementing the method.
The phrase digital signal compression is used to describe the packaging of a signal with the aid of a compression algorithm into a form in which the amount of the data to be processed is essentially reduced. Endeavours have been made to compress the amount of data corresponding to a signal in general e.g. into one tenth or one twentieth part of the original data amount.
The compression algorithm is usually selected according to the purpose it serves. For the audio range signals, particularly for speech, specific compression algorithms of their own are provided, and the same goes for image processing.
Reconstruction of a signal refers in the present context to discharging of a compressed signal into the original form. Instead of reconstruction also term decompression is used. For decompression, the same algorithm is used as for compression, but in inverse order. Typically, the application of a, compression -decompression algorithm is associated with signal transmission in a data communication channel, for instance in a telephone or data network, from a transmitter to a receiver. The signal is compressed before transmission and decompressed in the receiver end. The signal transmission has increased data density as more data can be included in one transmission bandwidth. A second general target for applying the compression-decompression algorithm is the storing of a signal.The signal is compressed when being stored e.g, on a diskette, and respectively, reconstructed when read in, in order to save the storing capacity. The practical compression algorithms are not without losses, with the exclusion of a few exceptions; therefore, a reconstructed signal is not completely identical with the original signal.
The compression ratio refers to the ratio of the amount of data of a noncompressed signal and the data amount of a compressed signal. The compression ratio is usually an optional variable of an algorithm, and it is determined to be appropriate for the purpose of the signal. The compression algorithms as such cause some losses compared with the original signal. An increase in the compression ratio will increase the amount of losses. For instance, in transmitting a speech signal can be used high compression ratios if merely intelligibility is selected as the criterion of quality, and particularly, if the insignificant amount of data obtained as an end result is emphasized.
On the other hand, if also the maintaining of quality and tone of the sound are set for the criteria of quality, in addition to intelligibility, a small compression ratio is probably what we have to be content with as the details of the signal are no longer reproducible at high compression ratios.
Compression of a speech signal is in general based on coding a signal, i.e. an individual code is determined for different types of signal forms, in which the amount of data contained in a code is smaller than the amount of data in the original signal. Digital signal processing has made development of sophisticated speech coders possible, in which the interdependencies between samples of sampled speech are made use of, that is, short term prediction and long term prediction. The coding algorithms used in short term prediction are called Linear Predictive Coding, LPC, and such algorithms study the correlation between successive samples, whereas the algorithms used in Long Term Prediction study the long term correlation between successive base frequency segments.The long term prediction is applied in Regular Excitation-Long Term Prediction (RPE-LTP) coder wherein the sampling is carried out at 8 kHz frequency, and as a result of said coding, 20 ms frames containing 260 bits are obtained. In another significant coder, a code-excited linear prediction is used, also called stochaistic coding, a variation of the coding algorithm, a so-called Vector-Sum Excited Linear Excited Predictive Coding, VSELP, in which a so-called codebook is used in accelerating the calculation.
The compression algorithms developed for speech signal are not very effective. The highest compression ratio of the algorithm achieved so far is about 10 to 15, i.e. the compressed signal is 1/10 to 1/15 of the data quantity of the original signal. In the development work of the present invention, endeavours have been made to provide a method with which the compression ratio of the speech signal can be made higher than what is possible in the prior art methods. The aim is achieved with the aid of the methods according to claims 1 and 3.
By applying the method of the invention the compression ratio of the speech signal can be at least doubled to the compression algorithms of the state of art, and not losing anything of the intelligibility and the characteristic features of the voice. The basic idea is to transform a one-dimensional speech signal frame by frame from a time domain to a frequency domain. According to a preferred embodiment, such transformation is performed with a Fast Fourier Transform algorithm, FFT, as it is the most common and easiest way of transforming the time domain to the frequency domain. A desired amount of successive frames is gathered from a speech signal, and a two-dimensional image matrix (like spectrogram) is produced in which the frames of the frequency domain are presented as a function of time.Reconstruction of speech is performed in inverse order using decompression and an inverse transformation of FFT.
By FFT, or a Fast Fourier transform, a discrete Fourier transform known in mathematics is implemented using approximation, whereby it has been possible to reduce the number of multiplications contained in said transform from n2 to 2nlogn where n is the number of the calculation points. With the aid of the Fourier transform a time domain signal can be described in frequency domain. A Fourier transformed signal includes both real and imaginary components. As an end result, an inverse transform of a Fouriertransformed signal produces the original signal. Today, the FFT transformer is a commercial component.
In a preferred embodiment, the number of Fourier transform points of a frame and the number of the frames to be transformed is the same, which with a view to the compression to be accomplished later is an optimal choice.
In a preferred embodiment, Joint Photographic Experts Group, JPEG-algorithm is used for the compression algorithm. The JPEG is a compression algorithm, standardized by ISO, for continuous toned still images. JPEG has been developed to compress colour and grey-level images, presenting so-called natural sceneries with slowly changing tones. The image matrix of the present invention produces a grey-level image appropriate for JPEG. An advantage of JPEG compared with other compression algorithms is that since it has been standardized, the means and circuit manufacturers are interested in manufacturing components implementing the algorithm.
In an advantageous embodiment, instead of the real and imaginary frarries of the output of the FFT, equivalent amplitude and phase frames can be used for forming an image matrix, or also merely an amplitude frame.
A method and apparatus in accordance with the invention is described in detail by aid of the accompanying drawings, in which Fig. 1 presents transforming of speech into image form with the aid of FFT transform Fig. 2 presents a signal chain related to compression and reconstruction, and Fig. 3 presents an example of applying the JPEG algorithm on different parameters.
The first phase of the compression method according to the invention concerns transforming one-dimensional speech signal to a two-dimensional image. The principle is presented in Fig. 1. A speech signal is fed to a FFT transformer, which in an example shown in the figure calculates a transformation for the 256 points of the frame of the speech signal, n = 256. The Fourier transformed real speech signal includes both a real and imaginary part. The image matrix can be produced by utilizing both the real part and the imaginary part, or respective amplitude and phase frames, or merely the amplitude frame. The two-dimensional presentation of Fig. 1 contains merely an amplitude frame. The horizontal axis illustrates time which consists of n-dimensioned successive frames in which a Fourier transform is accomplished. The vertical axis illustrates frequency variation at different points.The image is in practice an intensity image of the amplitude frames.
Since a presentation of the signal frequency domain is always symmetrical in the range -1/n ... 1/n, the output frame of the FFT transformer can be halved, i.e. merely the positive part of the spectrum can thus be selected, that is, the one without defects.
In the second phase of the method the image is compressed using existing image compression algorithms. In test situations, with a standardized JPEG algorithm good compression ratios have been achieved, e.g. 20 to 30. JPEG is not without any losses, so that a given number of the details of the image are lost. In the signal chain presented in Fig. 2 different phases of the method can easily be detected. An original speech signal is conducted to the FFT transformer transforming a time domain signal frame to frequency domain.
Prior to the actual transformation, the signal is also quantized by the FFT transformer, or the quantization may also be performed with a separate quantization circuit. An image matrix is gathered from the frequency domain frames, the dimensions thereof being m, i.e. the number of frames in time domain, and n, the number of frequencies equivalent to the time domain frames. In practice, the image matrix corresponds to a sample of a few seconds of a speech signal. With the FFT transformer of Fig. 2, transformation is calculated for the 256 points of the frame, n = 256. It is preferred to select for the number of frames to be gathered the same as the length of the frame, thus, m = 256. The compression, JPEG, is carried out before transmitting or storing the signal, said operation being illustrated by block 'transmission/block'. The decompression IJPEG, i.e.Inverse JPEG, is performed in association with reception /read operation of the signal.
Decompression yields in principle a similar image matrix as at the first end of the signal chain, this being, however, somewhat transformed in details because of the losses caused by the compression and transmission. In test situations, the greatest losses occurred in the transmission path of the signal, while the losses caused by the compression itself were small. The image matrix is transformed back into an one-dimensional signal with the aid of an inverse FFT transformation, IFFT.
The present method thus disclosed has been tried with the JPEG algorithm at various compression ratios using both an image assembled from the amplitude frames and separate images assembled both from the real and the imaginary frames. The use of an amplitude frame alone simplifies the calculation. On the other hand, omitting the phase frame generates distinct disturbances in the reconstructed signal. Using both real and imaginary images yields the best qualitative end result at the reconstruction phase, but the compression ratio remains below five without losing the identifiability of the speech. By using only the amplitude frames will give a good compression ratio 20:1 to 30:1 and the identifiability of the speech is maintained.
Although the JPEG algorithm causes losses in the frequency domain signal, their impact on the time domain speech signal is surprisingly low.
In an experiment carried out it was proved that transmission of a signal without compression caused more disturbances in the signal compared with additional disturbances brought about compression. By enhancing the algorithms, a greater amount of disturbances caused by the compression can be reduced.
In the table of Fig. 3 test results are presented concerning the compression of an eight bit speech signal of the length of six seconds when JPEG algorithm is used. For the JPEG algorithm, used as a parameter, a desired permanence of the details of the image can be provided. The less details are preserved, the higher will be the compression ratio. The figure in the file name of the table, e.g. r 90, illustrates the preservation degree of the details as per cents. At r 60, the speech is still clearly intelligible and the speaker can be identified. The other columns in the table illustrate the amount of data corresponding to the signal (Size/Byte, Bytes/s, Bits/s) at various compression ratios.The compression algorithm is not restricted by the method according to claim 1 to the exemplary JPEG algorithm described above., By the method of the present invention, a speech signal can be compressed even to 1/30 part of the amount of data provided by the original signal by utilizing the existing methods known in the art, and by maintaining the identifiability of the speech and the speaker. The method is advantageous particularly in transmitting speech and in storing speech. By means of calculation, it is found that speech lasting one hour can easily be stored in a standard 1.44 Mbit disk. A result thus obtained represents at least a doubled amount of data compared with the one-dimensional compression algorithms developed for the speech signal. In addition, the characteristic features of the speech can be maintained by the aid of the method, even at high compression ratios. A drawback of the method is that it is heavy as regards the calculation, with the inclusion of a great number of phases. Relief thereto can be provided through the development of circuit technology. The method is not appropriate for real-time processing, either, because speech signals have to be gathered for several seconds prior to the actual compression, in order to assemble an image matrix.
Targets for the method of the invention are particularly the speech storing and sound mail applications, which do not require strict real time properties.
As a target to be adopted in the future, multimedia programs of a microcomputer are conceivable, in which the transmission and storing of speech form an essential part. Currently, the application of the method is facilitated by both the FFT transformers implemented with ASIC circuits and by the image processing algorithms.

Claims (16)

Claims
1. A method for compressing a speech signal, wherein - successive frames of a desired length are separated in the time domain from a speech signal, - the time-domain frames are conducted to a time domain/frequency domain transformer, from the output of which the frames are received in frequency domain, - the frequency-domain frames are arranged into an image matrix, (spectrogram), in which the frequency-domain frames are presented as a function of time, - the image matrix is conducted to a means implementing the compression algorithm of said image, - from the output of which a compressed speech signal is provided.
2. Method according to claim 1, wherein the time domain/frequency domain transformer is a Fast Fourier Transformer.
3. Method for reconstructing a speech signal compressed with the method according to claim 1, wherein - a compressed speech signal is conducted to a means implementing a decompression algorithm, the output whereof being the image matrix presenting the frequency-domain frames as a function of time, - from the image matrix, the frequency domain frames are separated, said frames being conducted to a transformer performing the frequency domain/ time domain transformation, for the output of said transformer the frames forming the time domain speech signal are obtained.
4. Method according to claim 3, wherein the frequency domain/time domain transformer is a transformer performing Inverse Fourier Transform.
5. Method according to claim 1 or 2, wherein the compression algorithm is a Joint Photographic Experts Group, JPEG, known in itself in the art, and the decompression algorithm is an inverse JPEG, IJPEG, known in itself in the art.
6. Method according to claim 2 or 4, wherein the frequency domain frame consists of separate real and imaginary frames.
7. Method according to claim 2 or 4, wherein the frequency domain frame consists of separate amplitude and phase frames.
8. Method according to claim 2 or 4, wherein the frequency domain frame consists merely of amplitude frames.
9. Method according to claim 1 or 2, wherein one half of a frequency domain frame is used for forming a two-dimensional image matrix.
10. Method according to claim 2 or 4, wherein the number of the Fourier transform points of a frame and the number of the frames to be transformed is the same, so that a square image matrix is obtained.
11. A means for compressing a speech signal, wherein the means comprises - an A/D converter for converting a speech signal to digital form, - first means for dividing the speech signal into consecutive frames, - a first transformer to implement the time-domainifrequency-domain transform, - second means for producing a two-dimensional image matrix from the output signals of the first transformer, - third means for implementing a compression algorithm on the image matrix, and - memory space for storing the intermediate and end results.
12. Means according to claim 11, wherein the first transformer is a transformer implementing a Fast discrete Fourier Transform.
13. Means for reconstructing a compressed signal with a means according to claim 9, wherein the means comprises - fourth means for implementing a decompression algorithm, - fifth means for separating the frequency domain frames from a twodimensional image matrix, - a second transformer to implement frequency domain / time domain transform, - sixth means for connecting in succession the time domain frames, - a D/A converter for converting a digital speech signal to analog form, and - memory space for storing the intermediate results.
14. Means according to claim 13, wherein the second transformer is a transformer performing Fast inverse Fourier Transform.
15. Means according to claim 11 or 13, wherein the third means are the means implementing the JPEG algorithm and the fourth means are the means implementing the IJPEG algorithm.
16. A method for compressing a speech signal substantially as hereinbefore described and with reference to the drawings.
GB9414078A 1993-07-13 1994-07-12 Compression and reconstruction of speech signal Expired - Fee Related GB2280827B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FI933182A FI110220B (en) 1993-07-13 1993-07-13 Compression and reconstruction of speech signal

Publications (3)

Publication Number Publication Date
GB9414078D0 GB9414078D0 (en) 1994-08-31
GB2280827A true GB2280827A (en) 1995-02-08
GB2280827B GB2280827B (en) 1998-01-07

Family

ID=8538313

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9414078A Expired - Fee Related GB2280827B (en) 1993-07-13 1994-07-12 Compression and reconstruction of speech signal

Country Status (2)

Country Link
FI (1) FI110220B (en)
GB (1) GB2280827B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0745971A2 (en) * 1995-05-30 1996-12-04 Rockwell International Corporation Pitch lag estimation system using linear predictive coding residual
WO2001015143A1 (en) * 1999-08-19 2001-03-01 Siemens Aktiengesellschaft Method for coding voice signals and audio signals using a human auditory model
WO2001088905A1 (en) * 2000-05-02 2001-11-22 Siu Cheung Mok Method and apparatus for displaying sound graph
US6507820B1 (en) 1999-07-06 2003-01-14 Telefonaktiebolaget Lm Ericsson Speech band sampling rate expansion
AU2003262451B2 (en) * 1999-09-22 2006-01-19 Macom Technology Solutions Holdings, Inc. Multimode speech encoder
WO2008039161A1 (en) * 2006-09-29 2008-04-03 Tovarystvo Z Obmezhenoju Vidpovidalnistju 'pariset' Method for multicomponent coding and decoding of electrical signals of different nature
US7574352B2 (en) 2002-09-06 2009-08-11 Massachusetts Institute Of Technology 2-D processing of speech

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1528344A (en) * 1975-05-23 1978-10-11 Gen Rad Inc Time Data Division System and method for coding an input signal
US5018136A (en) * 1985-08-23 1991-05-21 Republic Telcom Systems Corporation Multiplexed digital packet telephone system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1528344A (en) * 1975-05-23 1978-10-11 Gen Rad Inc Time Data Division System and method for coding an input signal
US5018136A (en) * 1985-08-23 1991-05-21 Republic Telcom Systems Corporation Multiplexed digital packet telephone system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0745971A2 (en) * 1995-05-30 1996-12-04 Rockwell International Corporation Pitch lag estimation system using linear predictive coding residual
EP0745971A3 (en) * 1995-05-30 1998-02-25 Rockwell International Corporation Pitch lag estimation system using linear predictive coding residual
US6507820B1 (en) 1999-07-06 2003-01-14 Telefonaktiebolaget Lm Ericsson Speech band sampling rate expansion
WO2001015143A1 (en) * 1999-08-19 2001-03-01 Siemens Aktiengesellschaft Method for coding voice signals and audio signals using a human auditory model
AU2003262451B2 (en) * 1999-09-22 2006-01-19 Macom Technology Solutions Holdings, Inc. Multimode speech encoder
WO2001088905A1 (en) * 2000-05-02 2001-11-22 Siu Cheung Mok Method and apparatus for displaying sound graph
US7574352B2 (en) 2002-09-06 2009-08-11 Massachusetts Institute Of Technology 2-D processing of speech
WO2008039161A1 (en) * 2006-09-29 2008-04-03 Tovarystvo Z Obmezhenoju Vidpovidalnistju 'pariset' Method for multicomponent coding and decoding of electrical signals of different nature

Also Published As

Publication number Publication date
GB9414078D0 (en) 1994-08-31
FI933182A (en) 1995-01-14
FI933182A0 (en) 1993-07-13
GB2280827B (en) 1998-01-07
FI110220B (en) 2002-12-13

Similar Documents

Publication Publication Date Title
USRE47956E1 (en) Encoding device and decoding device
KR100427753B1 (en) Method and apparatus for reproducing voice signal, method and apparatus for voice decoding, method and apparatus for voice synthesis and portable wireless terminal apparatus
US5983172A (en) Method for coding/decoding, coding/decoding device, and videoconferencing apparatus using such device
US5299240A (en) Signal encoding and signal decoding apparatus
JP3881943B2 (en) Acoustic encoding apparatus and acoustic encoding method
JP4822843B2 (en) SPECTRUM ENCODING DEVICE, SPECTRUM DECODING DEVICE, ACOUSTIC SIGNAL TRANSMITTING DEVICE, ACOUSTIC SIGNAL RECEIVING DEVICE, AND METHOD THEREOF
KR100574031B1 (en) Speech Synthesis Method and Apparatus and Voice Band Expansion Method and Apparatus
JP2001521648A (en) Enhanced primitive coding using spectral band duplication
WO2002060070A2 (en) System and method for error concealment in transmission of digital audio
US5504834A (en) Pitch epoch synchronous linear predictive coding vocoder and method
US6141637A (en) Speech signal encoding and decoding system, speech encoding apparatus, speech decoding apparatus, speech encoding and decoding method, and storage medium storing a program for carrying out the method
KR100535778B1 (en) Speech decoder and a method for decoding speech
GB2357231A (en) Encoding and decoding speech signals
US20020173969A1 (en) Method for decompressing a compressed audio signal
GB2280827A (en) Speech compression and reconstruction
EP0772185A2 (en) Speech decoding method and apparatus
JPH08204576A (en) Signal encoding device and signal decoding device
JP2004302259A (en) Hierarchical encoding method and hierarchical decoding method for sound signal
US6356213B1 (en) System and method for prediction-based lossless encoding
Ooi et al. A computationally efficient wavelet transform CELP coder
Kokes et al. A wideband speech codec based on nonlinear approximation
JPH11145846A (en) Device and method for compressing/expanding of signal
JPH05276049A (en) Voice coding method and its device
JPH11251918A (en) Sound signal waveform encoding transmission system
EP1164577A2 (en) Method and apparatus for reproducing speech signals

Legal Events

Date Code Title Description
732E Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977)
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20050712