Application of The Wavelet Transform In The Processing of Musical Signals

Similar documents
Nonlinear Filtering in ECG Signal Denoising

Introduction to Wavelet Transform. Chapter 7 Instructor: Hossein Pourghassem

Wavelet Transform. From C. Valens article, A Really Friendly Guide to Wavelets, 1999

Wavelet Transform. From C. Valens article, A Really Friendly Guide to Wavelets, 1999

Detection, localization, and classification of power quality disturbances using discrete wavelet transform technique

ADDITIVE SYNTHESIS BASED ON THE CONTINUOUS WAVELET TRANSFORM: A SINUSOIDAL PLUS TRANSIENT MODEL

VU Signal and Image Processing. Torsten Möller + Hrvoje Bogunović + Raphael Sahann

TRANSFORMS / WAVELETS

MULTIRATE SIGNAL PROCESSING AND ITS APPLICATIONS

Practical Application of Wavelet to Power Quality Analysis. Norman Tse

HIGH QUALITY AUDIO CODING AT LOW BIT RATE USING WAVELET AND WAVELET PACKET TRANSFORM

Orthonormal bases and tilings of the time-frequency plane for music processing Juan M. Vuletich *

Time-Frequency Analysis of Shock and Vibration Measurements Using Wavelet Transforms

Removal of ocular artifacts from EEG signals using adaptive threshold PCA and Wavelet transforms

Digital Image Processing

Evoked Potentials (EPs)

Fourier and Wavelets

Harmonic Analysis of Power System Waveforms Based on Chaari Complex Mother Wavelet

Introduction to Wavelets. For sensor data processing

EE216B: VLSI Signal Processing. Wavelets. Prof. Dejan Marković Shortcomings of the Fourier Transform (FT)

INDEX Space & Signals Technologies LLC, All Rights Reserved.

Enhancement of Speech Signal by Adaptation of Scales and Thresholds of Bionic Wavelet Transform Coefficients

COMBINING ADVANCED SINUSOIDAL AND WAVEFORM MATCHING MODELS FOR PARAMETRIC AUDIO/SPEECH CODING

Sound pressure level calculation methodology investigation of corona noise in AC substations

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

Lecture 25: The Theorem of (Dyadic) MRA

Audio and Speech Compression Using DCT and DWT Techniques

TIME FREQUENCY ANALYSIS OF TRANSIENT NVH PHENOMENA IN VEHICLES

FFT 1 /n octave analysis wavelet

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

World Journal of Engineering Research and Technology WJERT

Seismic processing with continuous wavelet transform maxima

WAVELET OFDM WAVELET OFDM

Noise Attenuation in Seismic Data Iterative Wavelet Packets vs Traditional Methods Lionel J. Woog, Igor Popovic, Anthony Vassiliou, GeoEnergy, Inc.

EEE508 GÜÇ SİSTEMLERİNDE SİNYAL İŞLEME

Railscan: A Tool for the Detection and Quantification of Rail Corrugation

Do wavelet filters provide more accurate estimates of reverberation times at low frequencies.

CO-CHANNEL SPEECH DETECTION APPROACHES USING CYCLOSTATIONARITY OR WAVELET TRANSFORM

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1).

Introduction to Wavelets Michael Phipps Vallary Bhopatkar

APPLICATION OF DISCRETE WAVELET TRANSFORM TO FAULT DETECTION

Detection of Voltage Sag and Voltage Swell in Power Quality Using Wavelet Transforms

Selection of Mother Wavelet for Processing of Power Quality Disturbance Signals using Energy for Wavelet Packet Decomposition

Image Denoising Using Complex Framelets

WAVELETS: BEYOND COMPARISON - D. L. FUGAL

Wavelet Transform for Classification of Voltage Sag Causes using Probabilistic Neural Network

Fourier Analysis. Fourier Analysis

SINOLA: A New Analysis/Synthesis Method using Spectrum Peak Shape Distortion, Phase and Reassigned Spectrum

THE APPLICATION WAVELET TRANSFORM ALGORITHM IN TESTING ADC EFFECTIVE NUMBER OF BITS

ANALYSIS OF PARTIAL DISCHARGE SIGNALS USING DIGITAL SIGNAL PROCESSING TECHNIQUES

EEG DATA COMPRESSION USING DISCRETE WAVELET TRANSFORM ON FPGA

YOUR WAVELET BASED PITCH DETECTION AND VOICED/UNVOICED DECISION

Introduction to Wavelet Transform. A. Enis Çetin Visiting Professor Ryerson University

Robust Voice Activity Detection Based on Discrete Wavelet. Transform

Original Research Articles

Application of Wavelet Transform to Process Electromagnetic Pulses from Explosion of Flexible Linear Shaped Charge

INtroduction While the main focus of any speech recognition

Aberehe Niguse Gebru ABSTRACT. Keywords Autocorrelation, MATLAB, Music education, Pitch Detection, Wavelet

Audio Engineering Society Convention Paper Presented at the 110th Convention 2001 May Amsterdam, The Netherlands

Automatic Transcription of Monophonic Audio to MIDI

Lecture 5: Sinusoidal Modeling

Wavelets and wavelet convolution and brain music. Dr. Frederike Petzschner Translational Neuromodeling Unit

A DUAL TREE COMPLEX WAVELET TRANSFORM CONSTRUCTION AND ITS APPLICATION TO IMAGE DENOISING

Practical Applications of the Wavelet Analysis

Comparision of different Image Resolution Enhancement techniques using wavelet transform

Speech Compression Using Wavelet Transform

WAVELET TRANSFORM ANALYSIS OF PARTIAL DISCHARGE SIGNALS. B.T. Phung, Z. Liu, T.R. Blackburn and R.E. James

2.1 BASIC CONCEPTS Basic Operations on Signals Time Shifting. Figure 2.2 Time shifting of a signal. Time Reversal.

Wavelet Packets Best Tree 4 Points Encoded (BTE) Features

AMAJOR difficulty of audio representations for classification

WAVELET SIGNAL AND IMAGE DENOISING

Fourier Methods of Spectral Estimation

Broken Rotor Bar Fault Detection using Wavlet

Short-Time Fourier Transform and Its Inverse

Speech Coding in the Frequency Domain

HTTP Compression for 1-D signal based on Multiresolution Analysis and Run length Encoding

Biosignal Analysis Biosignal Processing Methods. Medical Informatics WS 2007/2008

LOCAL MULTISCALE FREQUENCY AND BANDWIDTH ESTIMATION. Hans Knutsson Carl-Fredrik Westin Gösta Granlund

The Efficient Denoising Artificial Light Interference using Discrete Wavelet Transform with Application to Indoor Optical Wireless System

Improvement in DCT and DWT Image Compression Techniques Using Filters

Chapter 3 Spectral Analysis using Pattern Classification

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

Module 9: Multirate Digital Signal Processing Prof. Eliathamby Ambikairajah Dr. Tharmarajah Thiruvaran School of Electrical Engineering &

CT111 Introduction to Communication Systems Lecture 9: Digital Communications

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Quality Evaluation of Reconstructed Biological Signals

FAULT DETECTION OF FLIGHT CRITICAL SYSTEMS

International Journal of Engineering Trends and Technology ( IJETT ) Volume 63 Number 1- Sep 2018

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

IDENTIFICATION OF TRANSIENT SPEECH USING WAVELET TRANSFORMS. Daniel Motlotle Rasetshwane. BS, University of Pittsburgh, 2002

Image Fusion: Beyond Wavelets

Audio Signal Compression using DCT and LPC Techniques

Wavelet Transform for Bearing Faults Diagnosis

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Direct link. Point-to-point.

Robust Detection of R-Wave Using Wavelet Technique

Signal segmentation and waveform characterization. Biosignal processing, S Autumn 2012

CHAPTER 3 WAVELET TRANSFORM BASED CONTROLLER FOR INDUCTION MOTOR DRIVES

Denoising EOG Signal using Stationary Wavelet Transform

ARM BASED WAVELET TRANSFORM IMPLEMENTATION FOR EMBEDDED SYSTEM APPLİCATİONS

FPGA implementation of LSB Steganography method

Transcription:

EE678 WAVELETS APPLICATION ASSIGNMENT 1 Application of The Wavelet Transform In The Processing of Musical Signals Group Members: Anshul Saxena anshuls@ee.iitb.ac.in 01d07027 Sanjay Kumar skumar@ee.iitb.ac.in 01d07041 Rajesh Meena rajeshm@cse.iitb.ac.in 01d05016 Abstract Wavelet has found a number of applications in the field of music. In this report some of this applications are explored. The use of wavelet in obtaining signal tranformation, equalization, pitch shifting and pitch detection is considered. Finally an algorithm to denoise musical signal is obtained. I. INTRODUCTION The wavelet transform decomposes a signal into linear combination of basis functions which are all derived from one mother wavelet by means of dilation(scale) and translation(time). The transform on one particular scale is a bandpass filter since a wavelet is localized in frequency. On all scales these filters have the the same relative bandwidth since all wavelets are derived by dilation from the mother wavelet. The timefrequency analysis thus studies low frequency with more frequency detail but less time resolution than high frequencies, which get a better time resolution. Music is also a typical time-frequency phenomenon. The notes contain frequency information(pitch) and time information (duration, starting time). The frequency information is logarithmically divided: raising one octave doubles the frequency. It is thus necessary to analyse musical signals with more frequency detail for the low frequencies and less frequency detail for the high frequencies. First section includes the background theory of wavelet transform, next section includes processing of these signals using many different wavelet. A. Wavelet Transformation II. BACKGROUND THEORY In the continuous wavelet transform, we decompose a signal x(t) functions by the following formula which is known as the analysis formula. + W ψ x(b, a) = 1 a into a linear combination of basis x(t)ψ( t b )dt (1) a We can recover the signal x(t) from the wavelet coefficients using the synthesis coefficient + + x(t) = 1 c ψ EE678 Wavelets Application Assignment, April 2005 0 1 a W ψx(b, a)ψ( t b a )da db (2) a2

EE678 WAVELETS APPLICATION ASSIGNMENT 2 Now, the analysis wavelet can be changed in the reconstruction, allowing some aspects of the signal to be preserved while changing others. While simply changing the wavelet to be used in the inverse transform is a straight- forward transformation, in practice the choice of the wavelet function to be used can be critical. For example, if one uses Mallat s smooth wavelet for the forward transform and the Haar s boxcar wavelet for the inverse, the result is that a great deal of noise seems to have been added to the signal, since the difference between these wavelets is considerable. B. Wavelet Equalisation A second possibility is to change the values of the wavelet domain coefficients; this acts much as an equalizer, changing the behaviour of the signal at a certain frequency level. Thus, for example, we can start with a signal which is very rich in spectral content and than remove certain frequency ranges to leave a different and more interesting sound. Since wavelet representation involve both translation and scale parameters, it becomes fairly simple to impose amplitude envelopes at different scales, so that the frequency content of the signal could be made to change with time. A. Pitch Shifting/ Time Stretching III. PROCESSING MUSICAL SIGNAL One interesting possiblity offered by wavelet transform is to change the pitch of the signal without changing the duration or conversely changing the duration of the signal without changing the pitch of the signal. Apart of musical usage of such techniques, there are useful application in a number of fields. Fig. 1. a) Morlet wavelets, frequency domain, scales 8,4,2,1 (left to right) b) Morlet wavelet, time domain, real and complex part The method decomposes an audio signal in its CWT using the Morlet wavelet, changes the scale-axis, and retransforms the CWT to a signal. Changing the scale-axis is obviously the tricky part. If one wants to raise the pitch of an audio signal by a factor c, and therefore divide all the scales in the CWT of the signal by c, and retransforms the result, one does not get the expected result. The point is that one can not just change the coefficients of the CWT. Hence modification of these coefficients must be done with care. This is achieved using complex morlet wavelet. The phase of the coefficient is relatcd to the frequency of the signal analyzed at the scale of the coefficients considered, so if we divide thc scalcs by a factor c, and change the phases of the coefficients accordingly, we get the desired result. The procedure is shown in fig 2. B. Pitch Detection of Musical Signals Pitch period is a fundamental parameter in the analysis process of any physical model. A pitch detector is basically an algorithm that determines the fundamental pitch period of an input musical signal. Pitch detection algorithms can be divided into two groups: time-domain pitch detectors and frequency-domain pitch detectors. Pitch detection of musical signals is not a trivial task due to some difficulties such as the attack transients, low frequencies, and high frequencies.

EE678 WAVELETS APPLICATION ASSIGNMENT 3 Fig. 2. a) the original signal f(t), consisting of a sum of three sines, each with a different frequency, phase and initial shift. b) The absolute value of the CWT of f(t) (the y-axis contains scales) c) The phase of the CWT of f(t) d) The phase superimposed on the absolute value of the pitch-shifted CWT(factor 1.5) e)the resulting reconstructed signal. 1) Autocorrelation method: The autocorrelation function is a time-domain pitch detector. It is a measure of similarity between a signal and translated (shifted) version of itself. The basic idea of this function is that periodicity of the input signal implies periodicity of the autocorrelation function and vice versa. For non-stationary signals, short-time autocorrelation function for signal f(n) is defined below ph l (m) = 1 N N m 1 n=0 [f(n + l)w(n + l)][f(n + m + l)w(n + m + l)] (3) 0 < m < M 0 1 where w(n) is an appropriate window function, N is the frame size, l is the index of the starting frame, m is the autocorrelation parameter or time lag and M 0 is the total number of points to be computed in the autocorrelation function. The autocorrelation function has its highest peak at m=0 which equals to the

EE678 WAVELETS APPLICATION ASSIGNMENT 4 average power of the input signal. For each l, one searches for the local maxima in a meaningful range of m. The distance between two consecutive maxima is the pitch period of the input signal f(n). Different window functions such as rectangular, Hanning, Hamming, and Blackman windows havebeen used in the analysis. The choice of an analysis window and the frame size are among the main disadvantages of the autocorrelation function. 2) Dyadic Wavelet Transform Method: Wavelet transform is based on the idea of filtering a signal f(t) with a dialated and translated versions of a prototype function ψ(t). Dyadic Wavelet Transform (DWT), is the special case of CWT when the scale parameter is discretized along the dyadic grid 2 j, j=1,2... and b Z. DW T (f, j) = W j f = f(t) ψ 2 j(t) (4) where * denotes convolution and ψ 2 j (t) = 1 2 j ψ( t 2 j ) For an appropriately chosen wavelet, the wavelet transform modulus maxima denote the points of sharp variations of the signal. This property of DWT has been proven very useful for detecting pitch periods of speech signals[3]. An appropriately chosen wavelet is a wavelet that is the first derivative of a smooth function. Zero-crossings of musical signals can be considered as points of sharp variation of the signal and hence the dyadic wavelet transform exhibits local maxima at these points across several consecutive scales. The pitch period is evaluated by measuring the time distance between two such consecutive maxima. Spline wavelet is used for pitch detection as it is the first derivative of a smooth function. C. Denoising Musical Signals Using Wavelet Bases Audio denoising by investigating whether wavelet packet and local trigonometric packet bases can be used to successfully decompose the signal for processing. The method on which the algorithm is based around is to decompose a window of a signal using a wavelet packet or local trigonometric packet transform into a full binary tree of bases. Using an entropy measure, the tree is pruned to obtain a complete,non-redundant representation of the signal. Most audio signals are far too long to be processed in their entirety. Thus, it is necessary to divide the time-domain signal into windowed intervals and process each window individually. First, the window length must be chosen. Windows which are too short fail to pick up the important time structures of the audio signal. In addition to choosing the length of the window, an appropriate windowing function has to be determined. we use overlapping windows. That is, each window shares some samples in common with its neighbours. In step two of the algorithm, the windowed signal is decomposed in each basis of a collection of bases, called a basis library. Bases include wavelet packet bases constructed from different kinds of wavelets. For each basis tree in the library, the entropy is calculated for each node, and the tree is pruned to find the best basis within that tree. The entire tree is then given an entropy measure by adding together the entropies of the lowermost nodes remaining on the pruned tree. Selects the tree from the library with the lowest total entropy. Decompose the windowed signal in that wavelet basis. Determine which coefficients form a specific part of the underlying signal, and which coefficients can be discounted as noise. Coefficients corresponding to the signal are dubbed the coherent coefficients. Discard the coefficients which are not coherent. Transform the packet coefficients back to the time-domain, to form a denoised version of the original signal window. Merges the denoised window in with the rest of the reconstructed windows, performing the crossfading alluded to above if there is any overlap with adjacent windows.

EE678 WAVELETS APPLICATION ASSIGNMENT 5 Fig. 3. Best Basis Denoising Procedure ACKNOWLEDGMENT The authors would like to thank Prof. V.M.Gadre for his consistent support and guidance. REFERENCES [1] Peter De Gersem, Bart De Moor, Marc Moonen.Application of The Wavelet Transform In The Processing of Musical Signals IEEE,1997 [2] Michael Hazas, Peter J.W.Rayner Denoising music signals using wavelet and Local trigonometric bases [3] John Fitch, Wafaa Shabana A Wavelet-Pitch detector for musical signals [4] William J. Pielemeier, Gregory H. Wakefield Time-Frequency of musical signals IEEE Vol. 84, No.9,September 1996 [5] Clifton Kussmaul Applications of wavelet in music, Master of arts thesis June 1991