SlideShare una empresa de Scribd logo
1 de 7
Descargar para leer sin conexión
IOSR Journal of Computer Engineering (IOSR-JCE)
e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 17, Issue 6, Ver. V (Nov – Dec. 2015), PP 79-85
www.iosrjournals.org
DOI: 10.9790/0661-17657985 www.iosrjournals.org 79 | Page
Data Compression using Multiple Transformation Techniques for
Audio Applications.
Arashpreet Kaur1
, Rajesh Mehra2
1
(M.E Scholar in Electronics and Communication Engineering, National Institute for technical teachers
Training and Research, India)
2
(Associate Professor in Electronics and Communication Engineering, National Institute for Technical Teachers
Training and Research, India)
Abstract: As Multimedia Technology is growing day by day over past decades, therefore demand for digital
information increasing rapidly. This digital information contains multimedia files like image files, audio files
that require a large space so no other option than compression. In Compression high input stream of data is
converted into small size. Data Compression for audio purposes is a field of digital signal processing that
focuses on reducing bit-rate of audio signals to enhance transmission speed and storage capacity of fast
developing multimedia by removing large amount of unnecessary duplicate data. The advantages of the
compression technique are reduction in storage space, bandwidth, transmission power and energy. This paper
is based on transform technology for compression of the audio signal. In this methodology, different transforms
such as Discrete Wavelet Transform (DWT) and Discrete Cosine Transform (DCT) are used. Mean compression
ratio is calculated for DCT & DWT. Performance measures like peak signal-to-noise ratio (PSNR), signal-to-
noise ratio (SNR) & normalized root mean square error (NRMSE) are calculated and then compared.
Keywords: Compression Ratio, DCT, DWT, NRMSE, PSNR, SNR.
I. Introduction
Data compression is a technique in which data content of the input signal to system is compressed so
that original signal is obtained as output and unwanted or undesired signals are removed [1]. Audio is an
electrical representation of sound within the range of human hearing that specifically lies between 20 Hz to 20
kHz range of frequency which is detectable by the human ear. [2]The concept of Audio Compression is to
compress the data in the form of audio so that it occupies less space for storing it. The need for audio
compression is to accommodate more data in the available storage area so that the storage capacity can be
enhanced. Due to less storage space occupancy, large amounts of data can be placed in the available memory.
Therefore less storage room for information inhabitance, large amount of information can be transmitted with
less transmission capacity[4] That implies compressed audio signal can be transmitted over the web with less
transmission bandwidth at higher speeds. As speed is increased, audio files can be transferred and downloaded
over the web faster with higher bit rates. Because of quick downloading and transferring of audio files, time
delay is minimized. [1]
Signals compression is based on removing the redundancy between adjacent samples and/or between
the adjacent cycles. In data compression, it is desired to represent data by as small as possible number of
coefficients within an acceptable loss of visual quality.
Compression techniques has two main categories: lossless and lossy.
Compression methods can be classified into three functional categories:
 Direct Methods: The samples of the signal are directly handled to provide compression.
 Transformation Methods: such as Fourier Transform (FT), Wavelet Transform (WT), and Discrete Cosine
Transform (DCT).
 Parameter Extraction Methods: A preprocessor is employed to extract some features that are later used to
reconstruct the signal.[2],[5]
In this paper audio compression is carried out in two levels. In the first level a transform function
(technique) like Discrete cosine transform, discrete wavelet transform are applied on audio signal which gives a
result with a new set of data with smaller values. By applying transform technique compression ratio for each
transform technique is obtained on different audio samples. Parameters like Signal to noise ratio (SNR), mean
square error (MSE) are measured for the reconstructed audio obtained from DCT, WT these transform
techniques. Second level is encoding. This step will present data in minimal form by using these encoding
techniques. Compression ratios are also calculated.
Data Compression using Multiple Transformation Techniques for Audio Applications.
DOI: 10.9790/0661-17657985 www.iosrjournals.org 80 | Page
II. Transformation Techniques
1. Discrete cosine transform
A discrete cosine transform (DCT) communicates a limited succession of information focuses as far as
cosine functions wavering at distinctive frequencies[1] DCTs are critical to various applications in science and
designing, from lossy compression of sound (e.g. MP3) and pictures (e.g. JPEG) (where little high-recurrence
segments can be discarded), to spectral methods for the numerical arrangement of partial differential equations.
The utilization of cosine instead of sine functions is critical for compression, since it turns out (as portrayed
beneath) that less cosine functions are needed to approximate a typical signal, while for differential equations
the cosines express a particular choice of boundary conditions. The DCT is similar to the discrete Fourier
transform: it changes a sign or picture from the spatial area to the recurrence space.
Discrete cosine transform, linearly transforms information into frequency domain, so that the
information can be represented by a set of coefficients. The advantage of discrete cosine transform is that, the
vitality of the genuine information may be moved in just a couple low recurrence parts of DCT depending on the
correlation present in the data. Equations (1) represents the D.C.T of 1-dimentional arrangement of length N.
𝒚 𝒌 = 𝒘 𝒌 𝒙 𝒏 𝒄𝒐𝒔
𝝅 𝟐𝒏−𝟏 𝒌−𝟏
𝟐𝑵
𝑵
𝒏=𝟏 𝒌 = 𝟏, 𝟐 … … . . 𝑵 (1)
Where
𝒘 𝒌 =
𝟏
𝑵
𝒌 = 𝟏
𝟐
𝑵
𝟐 ≤ 𝒌 ≤ 𝑵
(2)
N is the length of x, and x and y are the same size. If x is a matrix, DCT transforms its columns. The
series is indexed from n = 1 and k = 1 instead of the usual n = 0 and k = 0 because MATLAB vectors run from 1
to N instead of from 0 to N- 1. It often reconstructs a sequence very accurately from only a few DCT
coefficients, a useful property for applications requiring data reduction.[12]
Wavelets: Wavelet is a part of waveform, whose average energy value approximately tends to zero. Generally,
wavelet is a varying window length considered as a part of waveform. Wavelet transform are based on small
wavelets with limited duration.
Equation (3) and (4) shows mathematical representation of wavelet [6]. Ѱ(t) is a function called mother
wavelet.
Ѱ(𝐭) 𝒏∞
−∞
𝒅𝒕 < ∞ (3)
Ѱ(𝐭)
∞
−∞
𝒅𝒕 < ∞ (4)
2. Discrete Wavelet Transform
Jean Morlet introduced the idea of wavelet transform in 1982 and provided mathematical tool for
seismic wave analysis [1],[4].
A discrete wavelet transform is characterized as a "small wave" that has its energy concentrated in time
to give an apparatus to the examination of transient, non-stationary, or time-varying phenomena.[8] It has the
oscillating wave like properties additionally can permit concurrent time and recurrence investigation. Wavelet
Transform has risen as an effective mathematical tool in numerous regions of science and engineering, although
in the field of sound and data compression. [1]
Wavelet transform decomposes a signal into a set of basic functions [12]. These basis functions are
called “wavelets”.
Ѱ 𝒂,𝒃 𝒕 =
𝟏
𝒂
Ѱ
𝐭−𝐛
𝐚
(5)
Where „a‟ is the scaling parameter and „b‟ is the shifting parameter. And parameter „b‟ is translation
parameter and it determines the time location of the wavelet. DWT decompose signal in to several n levels in
different frequency bands. At each step there are two outputs, scaling and wavelet coefficients. The equations
(6) and (7) represent the scaling and wavelet coefficients respectively.
Data Compression using Multiple Transformation Techniques for Audio Applications.
DOI: 10.9790/0661-17657985 www.iosrjournals.org 81 | Page
𝒙𝒋+𝟏
𝒏 = 𝒉 𝟐𝒏 − 𝒊 𝒙𝒋
(𝒏)𝟐𝒏
𝒊=𝟏 (6)
𝒚𝒋+𝟏
𝒏 = 𝒈 𝟐𝒏 − 𝒊 𝒙𝒋
(𝒏)𝟐𝒏
𝒊=𝟏 (7)
Wavelet transforms convert a signal into series of wavelets and they give an approach to breaking
down waveforms in both frequency and time duration. Wavelet transform are a numerical intends to perform
signal investigation when signal frequency varies with time [14], [15]. The Wavelet transform gives the time-
frequency representation. That is, wavelet transforms give time and frequency information in the meantime,
thus giving a time frequency representation of the signal [13]. The wavelet transform is processed independently
for distinctive sections of the time-domain signal at different frequencies. Multi-resolution analysis: investigates
the signal at different frequencies giving different resolutions. . MRA is intended to give good time resolution &
poor frequency resolution at high frequencies and good frequency resolution & poor time resolution at low
frequencies. Wavelet transforms are good for signal having high frequency components for short durations and
low frequency components for long duration .e.g. images, video frames and speech signal.
III. Implementation Using Matlab
MATLAB could be a great tool that is employed to investigate audio signals which are read in wav
format. Following commands are used for analyzing the audio signal
• wavread: it reads audio signal
• windowsize: defines window operate of transformation
• wavplay: it produces speech signal once transformation
• length: defines length of speech to be processed by
• reworking principle dct: performs distinct trigonometric function rework
• idct: performs inverse distinct trigonometric function rework[5],[7]
This is shown in figure (3) , that is design flow of DCT coder. After getting the reconstructed signal , the audio
is further processed for calculating the peak signal-to-noise ratio (PSNR), signal-to-noise ratio (SNR) and
normalised root mean square error (NRMSE). These values comparison is shown in table 1.
Here figure (1) is the original audio signal which is to be transformed. Figure (2) is the design flow for the DWT
.Fig 1: audio signal
Data Compression using Multiple Transformation Techniques for Audio Applications.
DOI: 10.9790/0661-17657985 www.iosrjournals.org 82 | Page
Fig 2 : Design flow of wavelet based audio coder
Fig 3: Design flow of DCT audio coder
Decoder
Wavelet
decomposition of
frames
Computation of
variables
Decompose into N
equal frames
Wavelet
Compression
scheme
Performance
calculations
Play sound
Results
Expander
Compression
Choose
wavelet function.
Psychoacoustic
model
Quantization
Read the wave file and convert it to a vector
Choose the block size
Define the compression percentages
Reshape into matrix form
Plot the expanded view, spectrogram of audio signals
DCT compression
Reshape the matrix and play the reconstructed wave file Performance calculations
Results
Display
Data Compression using Multiple Transformation Techniques for Audio Applications.
DOI: 10.9790/0661-17657985 www.iosrjournals.org 83 | Page
IV. Output In Matlab
The output for the different waveforms is shown below. Figure (4) shows the audio signals in different
compression ratios that is audio with different amplitudes. Figure(5) shows the portion of audio signal to be
processed. Figure(6) represents the audio spectrograms while in Figure(7) compressed audio output using DWT
is shown.
Fig 4: Audio signals with different amplitudes
Fig 5: Portion of speech signal to be processed
Data Compression using Multiple Transformation Techniques for Audio Applications.
DOI: 10.9790/0661-17657985 www.iosrjournals.org 84 | Page
Fig 6: Audio Spectograms
Fig 7: Compression by DWT
V. Performance Measures
For this audio compression method, based on transform techniques, the performance is measured in
terms of Compression ratio, SNR, MSE.
1.Compression ratio: The definition for Compression ratio (C.R) is defined as ratio between Length of
original signal and Length of compressed signal
C. R =
original audio length
compressed audio length
2.Signal to noise ratio: It is a measure that compare the level of desired signal to the level of background
noise.
Data Compression using Multiple Transformation Techniques for Audio Applications.
DOI: 10.9790/0661-17657985 www.iosrjournals.org 85 | Page
𝐒𝐍𝐑 = 𝟏𝟎 𝐥𝐨𝐠 𝟏𝟎 𝛔 𝐬
𝟐
𝛔 𝐞
𝟐 𝟐
(8)
𝜎𝑠
2
is the mean square of audio signal and 𝜎𝑒
2
is mean square difference between original and reconstructed
audio signal.
3.Normalized Root Mean Square Error (NRMSE):
𝑵𝑹𝑴𝑺𝑬 =
(𝒙 𝒏 −𝒙′(𝒏)) 𝟐
𝒏
(𝒙 𝒏 −𝒖 𝒙(𝒏)) 𝟐
𝒏
(9)
Here, X(n) is the speech signal, x‟(n) is reconstructed speech signal and μ x(n) is the mean of speech signal.
4.Peak Signal to Noise Ratio (PSNR):
𝑷𝑺𝑵𝑹 = 𝟏𝟎 𝐥𝐨𝐠 𝟏𝟎
𝑵𝑿 𝟐
𝒙−𝒙′ 𝟐 (10)
Where N is the length of reconstructed signal, X is the maximum absolute square value of signal x and ||x-x`||2
is the energy of the difference between the original and reconstructed signal.
Signal CR MSE SNR(db) PSNR(db)
funky 0.2639 0.02990 31.83 45.21
Table 1: Results of DCT based technique in terms of CF, SNR, PSNR & MSE
Signal CR MSE SNR(db) PSNR(db)
funky 0.0587 0.08 21.02 36.24
Table 2: Results of DWT based technology in terms of CF,SNR,PSNR & MSE
VI. Conclusion
In this paper a simple DWT & DCT based audio compression schemes are presented. These data
compression is done by using MATLAB CODING. From the results shown above it is clear that DWT gives
less compression ratio in comparison to DCT, while MSE for DCT is less. SNR and PSNR for DWT is less in
comparison to DCT.DWT is better than DCT for audio compression.
Here audio is compressed in different factors in case of DCT by 2 , 4 and 8.
Acknowledgements
I am very thankful to my college and guide Dr. Rajesh Mehra for providing time to time help in
studying the topic and providing me a background to understand it in deeper details.
References:
[1] M. Arora, N. Maurya, P. Pathak, and V. Singh, “SPEECH COMPRESSION ANALYSIS USING MATLAB,” pp. 538–542, 2014.
[2] M. V Patil, A. Gupta, A. Varma, and S. Salil, “AUDIO AND SPEECH COMPRESSION USING DCT AND DWT
TECHNIQUES,” vol. 2, no. 5, pp. 1712–1719, 2013
[3] J. S. Jacaba, “AUDIO COMPRESSION USING MODIFIED DISCRETE COSINE TRANSFORM : THE MP3,” no. October, 2001.
[4] H. S. Malvar, “LOSSLESS AND NEAR-LOSSLESS AUDIO COMPRESSION USING INTEGER- REVERSIBLE
MODULATED LAPPED TRANSFORMS.”
[5] H. kaur and R. kaur ,D. Cosine, “SPEECH COMPRESSION AND DECOMPRESSION USING DWT AND DCT,” vol. 3, no.
August, pp. 1501–1503, 2012
[6] M. Arora and N. Maurya, “AUDIO COMPRESSION IN MPEG TECHNOLOGY PEG IS AN ACRONYM FOR MOVING
PICTURE EXERTS,” vol. 3, no. 12, pp. 1–4, 2013.
[7] M.Siffuzzaman, M.R.Islam, and M.Z. Ali, “APPLICATIONS OF WAVELET TRANSFORM AND ITS ADVANTAGES
COMPARED TO FOURIER TRANSFORM, by Journal of Physical Sciences, Vol. 13, pp:121-134, October-2009.
[8] Z. T. Drweesh and L. E. George, “AUDIO COMPRESSION BASED ON DISCRETE COSINE TRANSFORM , RUN LENGTH
AND HIGH ORDER SHIFT ENCODING,” vol. 4, no. 1, pp. 45–51, 2014.
[9] S. M. Ali, “ INTERNATIONAL JOURNAL OF ADVANCED RESEARCH IN SPEEDING UP AUDIO FRACTAL
COMPRESSION ,” vol. 3, no. 6, pp. 86–92, 2013
[10] K.P. Soman, K.I. Ramachandran, “INSIGHT TO WAVELETS” second edition 2005, by Prentice Hall of India. ISBN- 81-203-
2902-3
[11] Raghuveer M. Rao, Ajit S. Bopadikar, “WAVELET TRANSFORMS – INTRODUCTION TO THEORY AND APPLICATIONS”.
Pearson Education Asia. 1998 Pearson education, Inc. ISBN:81-7808-251-9.
[12] J. James and V. J. Thomas, “AUDIO COMPRESSION USING DCT AND DWT TECHNIQUES,” vol. 4, no. 4, pp. 119–125, 2014.

Más contenido relacionado

La actualidad más candente

Deep Learning Based Voice Activity Detection and Speech Enhancement
Deep Learning Based Voice Activity Detection and Speech EnhancementDeep Learning Based Voice Activity Detection and Speech Enhancement
Deep Learning Based Voice Activity Detection and Speech Enhancement
NAVER Engineering
 
Dc3210881096
Dc3210881096Dc3210881096
Dc3210881096
IJMER
 
Lecture: Digital Signal Processing Batch 2009
Lecture: Digital Signal Processing Batch 2009Lecture: Digital Signal Processing Batch 2009
Lecture: Digital Signal Processing Batch 2009
ubaidis
 
Discrete wavelet transform using matlab
Discrete wavelet transform using matlabDiscrete wavelet transform using matlab
Discrete wavelet transform using matlab
IAEME Publication
 
Iaetsd wavelet transform based latency optimized image compression for
Iaetsd wavelet transform based latency optimized image compression forIaetsd wavelet transform based latency optimized image compression for
Iaetsd wavelet transform based latency optimized image compression for
Iaetsd Iaetsd
 

La actualidad más candente (20)

Deep Learning Based Voice Activity Detection and Speech Enhancement
Deep Learning Based Voice Activity Detection and Speech EnhancementDeep Learning Based Voice Activity Detection and Speech Enhancement
Deep Learning Based Voice Activity Detection and Speech Enhancement
 
Cb34474478
Cb34474478Cb34474478
Cb34474478
 
Dc3210881096
Dc3210881096Dc3210881096
Dc3210881096
 
145 153
145 153145 153
145 153
 
Digital signal processing techniques for lti fiber
Digital signal processing techniques for lti fiberDigital signal processing techniques for lti fiber
Digital signal processing techniques for lti fiber
 
Digital signal processing techniques for lti fiber impairment compensation
Digital signal processing techniques for lti fiber impairment compensationDigital signal processing techniques for lti fiber impairment compensation
Digital signal processing techniques for lti fiber impairment compensation
 
speech enhancement
speech enhancementspeech enhancement
speech enhancement
 
Lecture: Digital Signal Processing Batch 2009
Lecture: Digital Signal Processing Batch 2009Lecture: Digital Signal Processing Batch 2009
Lecture: Digital Signal Processing Batch 2009
 
Voice Activity Detection using Single Frequency Filtering
Voice Activity Detection using Single Frequency FilteringVoice Activity Detection using Single Frequency Filtering
Voice Activity Detection using Single Frequency Filtering
 
Introduction to wavelet transform
Introduction to wavelet transformIntroduction to wavelet transform
Introduction to wavelet transform
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
A METHOD FOR ENCRYPTING AND DECRYPTINGWAVE FILES
A METHOD FOR ENCRYPTING AND DECRYPTINGWAVE FILESA METHOD FOR ENCRYPTING AND DECRYPTINGWAVE FILES
A METHOD FOR ENCRYPTING AND DECRYPTINGWAVE FILES
 
Discrete wavelet transform using matlab
Discrete wavelet transform using matlabDiscrete wavelet transform using matlab
Discrete wavelet transform using matlab
 
캡슐 네트워크를 이용한 엔드투엔드 음성 단어 인식, 배재성(KAIST 석사과정)
캡슐 네트워크를 이용한 엔드투엔드 음성 단어 인식, 배재성(KAIST 석사과정)캡슐 네트워크를 이용한 엔드투엔드 음성 단어 인식, 배재성(KAIST 석사과정)
캡슐 네트워크를 이용한 엔드투엔드 음성 단어 인식, 배재성(KAIST 석사과정)
 
Multrate dsp
Multrate dspMultrate dsp
Multrate dsp
 
K31074076
K31074076K31074076
K31074076
 
A novel speech enhancement technique
A novel speech enhancement techniqueA novel speech enhancement technique
A novel speech enhancement technique
 
Analysis of Microstrip Finger on Bandwidth of Interdigital Band Pass Filter u...
Analysis of Microstrip Finger on Bandwidth of Interdigital Band Pass Filter u...Analysis of Microstrip Finger on Bandwidth of Interdigital Band Pass Filter u...
Analysis of Microstrip Finger on Bandwidth of Interdigital Band Pass Filter u...
 
Iaetsd wavelet transform based latency optimized image compression for
Iaetsd wavelet transform based latency optimized image compression forIaetsd wavelet transform based latency optimized image compression for
Iaetsd wavelet transform based latency optimized image compression for
 
Subband Coding
Subband CodingSubband Coding
Subband Coding
 

Destacado

3 multimedia elements - audio
3   multimedia elements - audio3   multimedia elements - audio
3 multimedia elements - audio
Kelly Bauer
 
Lecture 8 audio compression
Lecture 8 audio compressionLecture 8 audio compression
Lecture 8 audio compression
Mr SMAK
 
Audio compression
Audio compressionAudio compression
Audio compression
Sahil Garg
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compression
neeraj9217
 

Destacado (20)

Basics of Image Compression
Basics of Image CompressionBasics of Image Compression
Basics of Image Compression
 
Audio encoding principles
Audio encoding principlesAudio encoding principles
Audio encoding principles
 
6. Data Compression
6. Data Compression6. Data Compression
6. Data Compression
 
Compression basics
Compression basicsCompression basics
Compression basics
 
Image video processing and canvas element by Abhay Rao
Image video processing and canvas element by Abhay RaoImage video processing and canvas element by Abhay Rao
Image video processing and canvas element by Abhay Rao
 
Speech Compression
Speech CompressionSpeech Compression
Speech Compression
 
Basics of audio coding
Basics of audio codingBasics of audio coding
Basics of audio coding
 
Atm Networks
Atm Networks Atm Networks
Atm Networks
 
3 multimedia elements - audio
3   multimedia elements - audio3   multimedia elements - audio
3 multimedia elements - audio
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Lecture 8 audio compression
Lecture 8 audio compressionLecture 8 audio compression
Lecture 8 audio compression
 
Basic ISDN
Basic ISDNBasic ISDN
Basic ISDN
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Audio and video compression
Audio and video compressionAudio and video compression
Audio and video compression
 
Broadband isdn
Broadband isdnBroadband isdn
Broadband isdn
 
Audio compression
Audio compressionAudio compression
Audio compression
 
Image compression
Image compressionImage compression
Image compression
 
ISDN Integrated Services Digital Network
ISDN Integrated Services Digital NetworkISDN Integrated Services Digital Network
ISDN Integrated Services Digital Network
 
Isdn
IsdnIsdn
Isdn
 
Fax Machine
Fax MachineFax Machine
Fax Machine
 

Similar a Data Compression using Multiple Transformation Techniques for Audio Applications.

Simulation of OFDM modulation
Simulation of OFDM modulationSimulation of OFDM modulation
Simulation of OFDM modulation
Dawood Aqlan
 
Simulation of ofdm modulation adapted to the transmission of a fixed image
Simulation of ofdm modulation adapted to the transmission of a fixed imageSimulation of ofdm modulation adapted to the transmission of a fixed image
Simulation of ofdm modulation adapted to the transmission of a fixed image
IAEME Publication
 

Similar a Data Compression using Multiple Transformation Techniques for Audio Applications. (20)

ADC Digital Modulation
ADC   Digital ModulationADC   Digital Modulation
ADC Digital Modulation
 
H010234144
H010234144H010234144
H010234144
 
T01061142150
T01061142150T01061142150
T01061142150
 
Ecg signal compression for diverse transforms
Ecg signal compression for diverse transformsEcg signal compression for diverse transforms
Ecg signal compression for diverse transforms
 
SPEECH COMPRESSION TECHNIQUES: A REVIEW
SPEECH COMPRESSION TECHNIQUES: A REVIEWSPEECH COMPRESSION TECHNIQUES: A REVIEW
SPEECH COMPRESSION TECHNIQUES: A REVIEW
 
Compression Using Wavelet Transform
Compression Using Wavelet TransformCompression Using Wavelet Transform
Compression Using Wavelet Transform
 
G0352039045
G0352039045G0352039045
G0352039045
 
Dq33705710
Dq33705710Dq33705710
Dq33705710
 
Dq33705710
Dq33705710Dq33705710
Dq33705710
 
Speech compression analysis using matlab
Speech compression analysis using matlabSpeech compression analysis using matlab
Speech compression analysis using matlab
 
Speech compression analysis using matlab
Speech compression analysis using matlabSpeech compression analysis using matlab
Speech compression analysis using matlab
 
Simulation of Direct Sequence Spread Spectrum for Wireless Communication Syst...
Simulation of Direct Sequence Spread Spectrum for Wireless Communication Syst...Simulation of Direct Sequence Spread Spectrum for Wireless Communication Syst...
Simulation of Direct Sequence Spread Spectrum for Wireless Communication Syst...
 
BER PERFORMANCE ANALYSIS OF OFDM IN COGNITIVE RADIO NETWORK IN RAYLEIGH FADIN...
BER PERFORMANCE ANALYSIS OF OFDM IN COGNITIVE RADIO NETWORK IN RAYLEIGH FADIN...BER PERFORMANCE ANALYSIS OF OFDM IN COGNITIVE RADIO NETWORK IN RAYLEIGH FADIN...
BER PERFORMANCE ANALYSIS OF OFDM IN COGNITIVE RADIO NETWORK IN RAYLEIGH FADIN...
 
FPGA IMPLEMENTATION OF EFFICIENT VLSI ARCHITECTURE FOR FIXED POINT 1-D DWT US...
FPGA IMPLEMENTATION OF EFFICIENT VLSI ARCHITECTURE FOR FIXED POINT 1-D DWT US...FPGA IMPLEMENTATION OF EFFICIENT VLSI ARCHITECTURE FOR FIXED POINT 1-D DWT US...
FPGA IMPLEMENTATION OF EFFICIENT VLSI ARCHITECTURE FOR FIXED POINT 1-D DWT US...
 
D011132635
D011132635D011132635
D011132635
 
Speech signal compression and encryption based on sudoku, fuzzy C-means and t...
Speech signal compression and encryption based on sudoku, fuzzy C-means and t...Speech signal compression and encryption based on sudoku, fuzzy C-means and t...
Speech signal compression and encryption based on sudoku, fuzzy C-means and t...
 
Wireless communication
Wireless communicationWireless communication
Wireless communication
 
Performance Analysis of Acoustic Echo Cancellation Techniques
Performance Analysis of Acoustic Echo Cancellation TechniquesPerformance Analysis of Acoustic Echo Cancellation Techniques
Performance Analysis of Acoustic Echo Cancellation Techniques
 
Simulation of OFDM modulation
Simulation of OFDM modulationSimulation of OFDM modulation
Simulation of OFDM modulation
 
Simulation of ofdm modulation adapted to the transmission of a fixed image
Simulation of ofdm modulation adapted to the transmission of a fixed imageSimulation of ofdm modulation adapted to the transmission of a fixed image
Simulation of ofdm modulation adapted to the transmission of a fixed image
 

Más de iosrjce

Más de iosrjce (20)

An Examination of Effectuation Dimension as Financing Practice of Small and M...
An Examination of Effectuation Dimension as Financing Practice of Small and M...An Examination of Effectuation Dimension as Financing Practice of Small and M...
An Examination of Effectuation Dimension as Financing Practice of Small and M...
 
Does Goods and Services Tax (GST) Leads to Indian Economic Development?
Does Goods and Services Tax (GST) Leads to Indian Economic Development?Does Goods and Services Tax (GST) Leads to Indian Economic Development?
Does Goods and Services Tax (GST) Leads to Indian Economic Development?
 
Childhood Factors that influence success in later life
Childhood Factors that influence success in later lifeChildhood Factors that influence success in later life
Childhood Factors that influence success in later life
 
Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...
Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...
Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...
 
Customer’s Acceptance of Internet Banking in Dubai
Customer’s Acceptance of Internet Banking in DubaiCustomer’s Acceptance of Internet Banking in Dubai
Customer’s Acceptance of Internet Banking in Dubai
 
A Study of Employee Satisfaction relating to Job Security & Working Hours amo...
A Study of Employee Satisfaction relating to Job Security & Working Hours amo...A Study of Employee Satisfaction relating to Job Security & Working Hours amo...
A Study of Employee Satisfaction relating to Job Security & Working Hours amo...
 
Consumer Perspectives on Brand Preference: A Choice Based Model Approach
Consumer Perspectives on Brand Preference: A Choice Based Model ApproachConsumer Perspectives on Brand Preference: A Choice Based Model Approach
Consumer Perspectives on Brand Preference: A Choice Based Model Approach
 
Student`S Approach towards Social Network Sites
Student`S Approach towards Social Network SitesStudent`S Approach towards Social Network Sites
Student`S Approach towards Social Network Sites
 
Broadcast Management in Nigeria: The systems approach as an imperative
Broadcast Management in Nigeria: The systems approach as an imperativeBroadcast Management in Nigeria: The systems approach as an imperative
Broadcast Management in Nigeria: The systems approach as an imperative
 
A Study on Retailer’s Perception on Soya Products with Special Reference to T...
A Study on Retailer’s Perception on Soya Products with Special Reference to T...A Study on Retailer’s Perception on Soya Products with Special Reference to T...
A Study on Retailer’s Perception on Soya Products with Special Reference to T...
 
A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...
A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...
A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...
 
Consumers’ Behaviour on Sony Xperia: A Case Study on Bangladesh
Consumers’ Behaviour on Sony Xperia: A Case Study on BangladeshConsumers’ Behaviour on Sony Xperia: A Case Study on Bangladesh
Consumers’ Behaviour on Sony Xperia: A Case Study on Bangladesh
 
Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...
Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...
Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...
 
Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...
Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...
Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...
 
Media Innovations and its Impact on Brand awareness & Consideration
Media Innovations and its Impact on Brand awareness & ConsiderationMedia Innovations and its Impact on Brand awareness & Consideration
Media Innovations and its Impact on Brand awareness & Consideration
 
Customer experience in supermarkets and hypermarkets – A comparative study
Customer experience in supermarkets and hypermarkets – A comparative studyCustomer experience in supermarkets and hypermarkets – A comparative study
Customer experience in supermarkets and hypermarkets – A comparative study
 
Social Media and Small Businesses: A Combinational Strategic Approach under t...
Social Media and Small Businesses: A Combinational Strategic Approach under t...Social Media and Small Businesses: A Combinational Strategic Approach under t...
Social Media and Small Businesses: A Combinational Strategic Approach under t...
 
Secretarial Performance and the Gender Question (A Study of Selected Tertiary...
Secretarial Performance and the Gender Question (A Study of Selected Tertiary...Secretarial Performance and the Gender Question (A Study of Selected Tertiary...
Secretarial Performance and the Gender Question (A Study of Selected Tertiary...
 
Implementation of Quality Management principles at Zimbabwe Open University (...
Implementation of Quality Management principles at Zimbabwe Open University (...Implementation of Quality Management principles at Zimbabwe Open University (...
Implementation of Quality Management principles at Zimbabwe Open University (...
 
Organizational Conflicts Management In Selected Organizaions In Lagos State, ...
Organizational Conflicts Management In Selected Organizaions In Lagos State, ...Organizational Conflicts Management In Selected Organizaions In Lagos State, ...
Organizational Conflicts Management In Selected Organizaions In Lagos State, ...
 

Último

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Último (20)

FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 

Data Compression using Multiple Transformation Techniques for Audio Applications.

  • 1. IOSR Journal of Computer Engineering (IOSR-JCE) e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 17, Issue 6, Ver. V (Nov – Dec. 2015), PP 79-85 www.iosrjournals.org DOI: 10.9790/0661-17657985 www.iosrjournals.org 79 | Page Data Compression using Multiple Transformation Techniques for Audio Applications. Arashpreet Kaur1 , Rajesh Mehra2 1 (M.E Scholar in Electronics and Communication Engineering, National Institute for technical teachers Training and Research, India) 2 (Associate Professor in Electronics and Communication Engineering, National Institute for Technical Teachers Training and Research, India) Abstract: As Multimedia Technology is growing day by day over past decades, therefore demand for digital information increasing rapidly. This digital information contains multimedia files like image files, audio files that require a large space so no other option than compression. In Compression high input stream of data is converted into small size. Data Compression for audio purposes is a field of digital signal processing that focuses on reducing bit-rate of audio signals to enhance transmission speed and storage capacity of fast developing multimedia by removing large amount of unnecessary duplicate data. The advantages of the compression technique are reduction in storage space, bandwidth, transmission power and energy. This paper is based on transform technology for compression of the audio signal. In this methodology, different transforms such as Discrete Wavelet Transform (DWT) and Discrete Cosine Transform (DCT) are used. Mean compression ratio is calculated for DCT & DWT. Performance measures like peak signal-to-noise ratio (PSNR), signal-to- noise ratio (SNR) & normalized root mean square error (NRMSE) are calculated and then compared. Keywords: Compression Ratio, DCT, DWT, NRMSE, PSNR, SNR. I. Introduction Data compression is a technique in which data content of the input signal to system is compressed so that original signal is obtained as output and unwanted or undesired signals are removed [1]. Audio is an electrical representation of sound within the range of human hearing that specifically lies between 20 Hz to 20 kHz range of frequency which is detectable by the human ear. [2]The concept of Audio Compression is to compress the data in the form of audio so that it occupies less space for storing it. The need for audio compression is to accommodate more data in the available storage area so that the storage capacity can be enhanced. Due to less storage space occupancy, large amounts of data can be placed in the available memory. Therefore less storage room for information inhabitance, large amount of information can be transmitted with less transmission capacity[4] That implies compressed audio signal can be transmitted over the web with less transmission bandwidth at higher speeds. As speed is increased, audio files can be transferred and downloaded over the web faster with higher bit rates. Because of quick downloading and transferring of audio files, time delay is minimized. [1] Signals compression is based on removing the redundancy between adjacent samples and/or between the adjacent cycles. In data compression, it is desired to represent data by as small as possible number of coefficients within an acceptable loss of visual quality. Compression techniques has two main categories: lossless and lossy. Compression methods can be classified into three functional categories:  Direct Methods: The samples of the signal are directly handled to provide compression.  Transformation Methods: such as Fourier Transform (FT), Wavelet Transform (WT), and Discrete Cosine Transform (DCT).  Parameter Extraction Methods: A preprocessor is employed to extract some features that are later used to reconstruct the signal.[2],[5] In this paper audio compression is carried out in two levels. In the first level a transform function (technique) like Discrete cosine transform, discrete wavelet transform are applied on audio signal which gives a result with a new set of data with smaller values. By applying transform technique compression ratio for each transform technique is obtained on different audio samples. Parameters like Signal to noise ratio (SNR), mean square error (MSE) are measured for the reconstructed audio obtained from DCT, WT these transform techniques. Second level is encoding. This step will present data in minimal form by using these encoding techniques. Compression ratios are also calculated.
  • 2. Data Compression using Multiple Transformation Techniques for Audio Applications. DOI: 10.9790/0661-17657985 www.iosrjournals.org 80 | Page II. Transformation Techniques 1. Discrete cosine transform A discrete cosine transform (DCT) communicates a limited succession of information focuses as far as cosine functions wavering at distinctive frequencies[1] DCTs are critical to various applications in science and designing, from lossy compression of sound (e.g. MP3) and pictures (e.g. JPEG) (where little high-recurrence segments can be discarded), to spectral methods for the numerical arrangement of partial differential equations. The utilization of cosine instead of sine functions is critical for compression, since it turns out (as portrayed beneath) that less cosine functions are needed to approximate a typical signal, while for differential equations the cosines express a particular choice of boundary conditions. The DCT is similar to the discrete Fourier transform: it changes a sign or picture from the spatial area to the recurrence space. Discrete cosine transform, linearly transforms information into frequency domain, so that the information can be represented by a set of coefficients. The advantage of discrete cosine transform is that, the vitality of the genuine information may be moved in just a couple low recurrence parts of DCT depending on the correlation present in the data. Equations (1) represents the D.C.T of 1-dimentional arrangement of length N. 𝒚 𝒌 = 𝒘 𝒌 𝒙 𝒏 𝒄𝒐𝒔 𝝅 𝟐𝒏−𝟏 𝒌−𝟏 𝟐𝑵 𝑵 𝒏=𝟏 𝒌 = 𝟏, 𝟐 … … . . 𝑵 (1) Where 𝒘 𝒌 = 𝟏 𝑵 𝒌 = 𝟏 𝟐 𝑵 𝟐 ≤ 𝒌 ≤ 𝑵 (2) N is the length of x, and x and y are the same size. If x is a matrix, DCT transforms its columns. The series is indexed from n = 1 and k = 1 instead of the usual n = 0 and k = 0 because MATLAB vectors run from 1 to N instead of from 0 to N- 1. It often reconstructs a sequence very accurately from only a few DCT coefficients, a useful property for applications requiring data reduction.[12] Wavelets: Wavelet is a part of waveform, whose average energy value approximately tends to zero. Generally, wavelet is a varying window length considered as a part of waveform. Wavelet transform are based on small wavelets with limited duration. Equation (3) and (4) shows mathematical representation of wavelet [6]. Ѱ(t) is a function called mother wavelet. Ѱ(𝐭) 𝒏∞ −∞ 𝒅𝒕 < ∞ (3) Ѱ(𝐭) ∞ −∞ 𝒅𝒕 < ∞ (4) 2. Discrete Wavelet Transform Jean Morlet introduced the idea of wavelet transform in 1982 and provided mathematical tool for seismic wave analysis [1],[4]. A discrete wavelet transform is characterized as a "small wave" that has its energy concentrated in time to give an apparatus to the examination of transient, non-stationary, or time-varying phenomena.[8] It has the oscillating wave like properties additionally can permit concurrent time and recurrence investigation. Wavelet Transform has risen as an effective mathematical tool in numerous regions of science and engineering, although in the field of sound and data compression. [1] Wavelet transform decomposes a signal into a set of basic functions [12]. These basis functions are called “wavelets”. Ѱ 𝒂,𝒃 𝒕 = 𝟏 𝒂 Ѱ 𝐭−𝐛 𝐚 (5) Where „a‟ is the scaling parameter and „b‟ is the shifting parameter. And parameter „b‟ is translation parameter and it determines the time location of the wavelet. DWT decompose signal in to several n levels in different frequency bands. At each step there are two outputs, scaling and wavelet coefficients. The equations (6) and (7) represent the scaling and wavelet coefficients respectively.
  • 3. Data Compression using Multiple Transformation Techniques for Audio Applications. DOI: 10.9790/0661-17657985 www.iosrjournals.org 81 | Page 𝒙𝒋+𝟏 𝒏 = 𝒉 𝟐𝒏 − 𝒊 𝒙𝒋 (𝒏)𝟐𝒏 𝒊=𝟏 (6) 𝒚𝒋+𝟏 𝒏 = 𝒈 𝟐𝒏 − 𝒊 𝒙𝒋 (𝒏)𝟐𝒏 𝒊=𝟏 (7) Wavelet transforms convert a signal into series of wavelets and they give an approach to breaking down waveforms in both frequency and time duration. Wavelet transform are a numerical intends to perform signal investigation when signal frequency varies with time [14], [15]. The Wavelet transform gives the time- frequency representation. That is, wavelet transforms give time and frequency information in the meantime, thus giving a time frequency representation of the signal [13]. The wavelet transform is processed independently for distinctive sections of the time-domain signal at different frequencies. Multi-resolution analysis: investigates the signal at different frequencies giving different resolutions. . MRA is intended to give good time resolution & poor frequency resolution at high frequencies and good frequency resolution & poor time resolution at low frequencies. Wavelet transforms are good for signal having high frequency components for short durations and low frequency components for long duration .e.g. images, video frames and speech signal. III. Implementation Using Matlab MATLAB could be a great tool that is employed to investigate audio signals which are read in wav format. Following commands are used for analyzing the audio signal • wavread: it reads audio signal • windowsize: defines window operate of transformation • wavplay: it produces speech signal once transformation • length: defines length of speech to be processed by • reworking principle dct: performs distinct trigonometric function rework • idct: performs inverse distinct trigonometric function rework[5],[7] This is shown in figure (3) , that is design flow of DCT coder. After getting the reconstructed signal , the audio is further processed for calculating the peak signal-to-noise ratio (PSNR), signal-to-noise ratio (SNR) and normalised root mean square error (NRMSE). These values comparison is shown in table 1. Here figure (1) is the original audio signal which is to be transformed. Figure (2) is the design flow for the DWT .Fig 1: audio signal
  • 4. Data Compression using Multiple Transformation Techniques for Audio Applications. DOI: 10.9790/0661-17657985 www.iosrjournals.org 82 | Page Fig 2 : Design flow of wavelet based audio coder Fig 3: Design flow of DCT audio coder Decoder Wavelet decomposition of frames Computation of variables Decompose into N equal frames Wavelet Compression scheme Performance calculations Play sound Results Expander Compression Choose wavelet function. Psychoacoustic model Quantization Read the wave file and convert it to a vector Choose the block size Define the compression percentages Reshape into matrix form Plot the expanded view, spectrogram of audio signals DCT compression Reshape the matrix and play the reconstructed wave file Performance calculations Results Display
  • 5. Data Compression using Multiple Transformation Techniques for Audio Applications. DOI: 10.9790/0661-17657985 www.iosrjournals.org 83 | Page IV. Output In Matlab The output for the different waveforms is shown below. Figure (4) shows the audio signals in different compression ratios that is audio with different amplitudes. Figure(5) shows the portion of audio signal to be processed. Figure(6) represents the audio spectrograms while in Figure(7) compressed audio output using DWT is shown. Fig 4: Audio signals with different amplitudes Fig 5: Portion of speech signal to be processed
  • 6. Data Compression using Multiple Transformation Techniques for Audio Applications. DOI: 10.9790/0661-17657985 www.iosrjournals.org 84 | Page Fig 6: Audio Spectograms Fig 7: Compression by DWT V. Performance Measures For this audio compression method, based on transform techniques, the performance is measured in terms of Compression ratio, SNR, MSE. 1.Compression ratio: The definition for Compression ratio (C.R) is defined as ratio between Length of original signal and Length of compressed signal C. R = original audio length compressed audio length 2.Signal to noise ratio: It is a measure that compare the level of desired signal to the level of background noise.
  • 7. Data Compression using Multiple Transformation Techniques for Audio Applications. DOI: 10.9790/0661-17657985 www.iosrjournals.org 85 | Page 𝐒𝐍𝐑 = 𝟏𝟎 𝐥𝐨𝐠 𝟏𝟎 𝛔 𝐬 𝟐 𝛔 𝐞 𝟐 𝟐 (8) 𝜎𝑠 2 is the mean square of audio signal and 𝜎𝑒 2 is mean square difference between original and reconstructed audio signal. 3.Normalized Root Mean Square Error (NRMSE): 𝑵𝑹𝑴𝑺𝑬 = (𝒙 𝒏 −𝒙′(𝒏)) 𝟐 𝒏 (𝒙 𝒏 −𝒖 𝒙(𝒏)) 𝟐 𝒏 (9) Here, X(n) is the speech signal, x‟(n) is reconstructed speech signal and μ x(n) is the mean of speech signal. 4.Peak Signal to Noise Ratio (PSNR): 𝑷𝑺𝑵𝑹 = 𝟏𝟎 𝐥𝐨𝐠 𝟏𝟎 𝑵𝑿 𝟐 𝒙−𝒙′ 𝟐 (10) Where N is the length of reconstructed signal, X is the maximum absolute square value of signal x and ||x-x`||2 is the energy of the difference between the original and reconstructed signal. Signal CR MSE SNR(db) PSNR(db) funky 0.2639 0.02990 31.83 45.21 Table 1: Results of DCT based technique in terms of CF, SNR, PSNR & MSE Signal CR MSE SNR(db) PSNR(db) funky 0.0587 0.08 21.02 36.24 Table 2: Results of DWT based technology in terms of CF,SNR,PSNR & MSE VI. Conclusion In this paper a simple DWT & DCT based audio compression schemes are presented. These data compression is done by using MATLAB CODING. From the results shown above it is clear that DWT gives less compression ratio in comparison to DCT, while MSE for DCT is less. SNR and PSNR for DWT is less in comparison to DCT.DWT is better than DCT for audio compression. Here audio is compressed in different factors in case of DCT by 2 , 4 and 8. Acknowledgements I am very thankful to my college and guide Dr. Rajesh Mehra for providing time to time help in studying the topic and providing me a background to understand it in deeper details. References: [1] M. Arora, N. Maurya, P. Pathak, and V. Singh, “SPEECH COMPRESSION ANALYSIS USING MATLAB,” pp. 538–542, 2014. [2] M. V Patil, A. Gupta, A. Varma, and S. Salil, “AUDIO AND SPEECH COMPRESSION USING DCT AND DWT TECHNIQUES,” vol. 2, no. 5, pp. 1712–1719, 2013 [3] J. S. Jacaba, “AUDIO COMPRESSION USING MODIFIED DISCRETE COSINE TRANSFORM : THE MP3,” no. October, 2001. [4] H. S. Malvar, “LOSSLESS AND NEAR-LOSSLESS AUDIO COMPRESSION USING INTEGER- REVERSIBLE MODULATED LAPPED TRANSFORMS.” [5] H. kaur and R. kaur ,D. Cosine, “SPEECH COMPRESSION AND DECOMPRESSION USING DWT AND DCT,” vol. 3, no. August, pp. 1501–1503, 2012 [6] M. Arora and N. Maurya, “AUDIO COMPRESSION IN MPEG TECHNOLOGY PEG IS AN ACRONYM FOR MOVING PICTURE EXERTS,” vol. 3, no. 12, pp. 1–4, 2013. [7] M.Siffuzzaman, M.R.Islam, and M.Z. Ali, “APPLICATIONS OF WAVELET TRANSFORM AND ITS ADVANTAGES COMPARED TO FOURIER TRANSFORM, by Journal of Physical Sciences, Vol. 13, pp:121-134, October-2009. [8] Z. T. Drweesh and L. E. George, “AUDIO COMPRESSION BASED ON DISCRETE COSINE TRANSFORM , RUN LENGTH AND HIGH ORDER SHIFT ENCODING,” vol. 4, no. 1, pp. 45–51, 2014. [9] S. M. Ali, “ INTERNATIONAL JOURNAL OF ADVANCED RESEARCH IN SPEEDING UP AUDIO FRACTAL COMPRESSION ,” vol. 3, no. 6, pp. 86–92, 2013 [10] K.P. Soman, K.I. Ramachandran, “INSIGHT TO WAVELETS” second edition 2005, by Prentice Hall of India. ISBN- 81-203- 2902-3 [11] Raghuveer M. Rao, Ajit S. Bopadikar, “WAVELET TRANSFORMS – INTRODUCTION TO THEORY AND APPLICATIONS”. Pearson Education Asia. 1998 Pearson education, Inc. ISBN:81-7808-251-9. [12] J. James and V. J. Thomas, “AUDIO COMPRESSION USING DCT AND DWT TECHNIQUES,” vol. 4, no. 4, pp. 119–125, 2014.