Time-frequency Analysis and Pitch Estimation Algorithm

Author
CaiZuo
Advisor
GuanYuJing
School
Jilin University
Major
Computational Mathematics
Classification
O411 Mathematical methods of physics
Degree
Master's thesis
Year
2009
Downloads
130
Citations
1

Request the full text

Abstract

This thesis introduce several method about the time-frequency analysis of music and make a comparison,analysis their strongpoint and disadvantage. Then it introduce several method about the pitch estimation problem and make a comparison. At last,it introduce a sawtooth waveform inspried pithc estimator (SWIPE)for music. SWIPE is shown to outperform existing algorithms on several pbulicly available speech/musical-instruments databases and a disorderd speech database.Given a music passage s(t),according to the method introduced in this thesis, we can make an analysis of the instant information ,that is to transform the data to the time-frequency plane.In this way,we can make the pitch estimation and so on.The earliest analysis method is fourier series,it just can extract the feature in either time domain or frequency domain,can not joint them together.But it also give us many illumination. The expression of the fourier series is:As a conventional and efficient analysis method,the short time fourier transform(STFT) have a broad applycation in music analysis.As said in the thesis,STFT have a uniform resolution in time-frequency plane,this conflicts with the requirement that music signal analysis need a better time resolution at high frequency and better frequency resolution at low frequency. The expression ofSTFT is:Another time-frequency analysis tool,wavelet analysis,can provide a constant-Q frequency resolution that almost matches the requirement of music signal analysis. The expression of wavelet transform is: The expression of Wigner-Distribution is:The expression of the impulse response in time domain of the Gammatone filte is:The basic steps that most PEAs perform to track the pitch of a signal are as follows: First,the signal is split into windows;then,for each window the following steps are performed: (i)the spectrum is estimated using STFT,(ii)a score is computed for each pitch candidate within a predefind range by computing an integral tranform(IT) over the spectrum,and (iii)the candidate with the highest score is selected as the estimated pitch.In the forth part of the chapter three,I briefly introduced several common pitch estimation algorithms: HPS/ SHS/ HS/ AC /AMDF,ASDF/ CEP.Harmonid Procuct Spectrum (HPS) estimates the pitch as the frequency that maximaizes the product of the spectrum at harmonics of that frequency,i.e. aswhere X is the estimated spectrum of the signal,n is the number of harmonics to be used,and p is the estimated pitch.A pitfall of this algorithms is that if any of the harmonics is missing, the product will be zero for the candidate corresponding to the pitch,and therefore the pitch will not be recoginzed.Sub-Harmonic Summation(SHS) solves the missing harmonics problem.It estimates the pitch as(?), (7.8)A pitfall of this algorithms is that since it gives the same weight to all theharmonics, subharmonics ot the pitch may have the same score as the pitch,and therefore they are valid candidates for being recoginized as the pitch.Suvhaarmonic to Harmonic Ratio algorithm(SHR) can be written as(?) (7.9)It uses the logarithm of the spectrum,and therefore has the problem previously discussed for HPS.Also,it gives the same weight to all the harmonics and therefor it suffers from the subharmonics problem.Harmonics Sieve(HS) is similar to SHS,but has two key differences:instead of using pulses it uses rectangles,and instead of computing the inner product between the spectrum and the rectangles,it counts the number of rectangles that contain at least one component.It can be espressed methematically as (?) (7.10)A pitfall of HS is that,when a component is close to an edge of a rectangle,a slight change in its frequency could put it in or out of the rectangle,possibly changing the estimated pitch drastically.The autocorelation-based pitch estimation algorithm(AC)estimates the pitch as the frequency whose inverse maximizes the autocorrelation function of the signal,i.e.,as(?) (7.11)Like all the algorithrms presented ,except SHS,AC eshibits the subharmonics problem caused by the equal weight given to all the harmonics.The cepstrum-based pitch estimation algorithm(CEP) is similar to AC.It estimates the pitch as the frequency whose inverse maximizes the cepstrum of the signal,i.e.,as(?) (7.12) The most common problems found in these algorithrms were the inability to deal with missing harmonics(HPS,SHR,CEP)and inharmonics signal(HPS,SHS,SHR) ,and the tendency to produce high scores for subharmonics of the pitch(all the algorithms).Aiming to improve upon the algorithrms ,a Sawtooth Waveform Inspired Pitch Estimator was developed. The seed of SWIPE is the implicit idea of the algorithrms: to find the frequency that maximizes the average peak-to-valley distance at harmonics of that frequency. However,this idea will be implemented trying to avoid the problem-causing features found in those algorithrms. This will be achieved by avoiding the use of the logarithrm of the spectrum,applying a monotonically dacaying weight to the harmonics,observing the spectrum in the neighborhood of the harmonics and middle points between harmonics,and using smooth weighting functions.After these modifications,SWIPE estimates the pitch as the fundamental frequency of the sawtooth waveform whose spectrum best matchs the spectrum of the input signal.The SWIPE estimate of the pitch at time t can be formulated aswithotherwise, Its variation,SWIPE’,uses only the first and prime harmonics of the signal,producing a large reduction in subharmonic errors by reducing significantly the scores of subharmonics of the pitch.SWIPE and SWIPE’ were tested using several published speech and musical instruments databases and their performance was compared other algorithms.SWIPE’ was shown to outperform all the databases.SWIPE was ranked second in the normal speech and musical instruments databases,and was ranked third in the disordered speech database.The time-frequency analysis of music is an establishment in the multidisciplinary foundation comprehensive technology.Along with many new theories,the new method,the new technology unceasing appearances, the content in this field will grow richer and achieve new development.

Table of contents

Summary 4-8 Chapter Introduction 8-10 time-frequency analysis Chapter II music 10-32 § 2.1 introduces 10 § 2.2 Fourier series 10-13 § 2.3 STFT and spectrogram 13-18 § 2.4 wavelet transform and the amount of Figure 18-24 § 2.5 Wiener distribution 24-27 § 2.6 auditory filters 27-32 pitch background and pitch estimation algorithm About 32-54 § 3.1 pitch background 32-36 § 3.1.1 the conceptual definition 32-33 § 3.1.2 The operational definition 33-34 § 3.1.3 pitch strength 34-35 § 3.1.4 Time threshold 35-36 § 3.2 pitch determinants of assumptions and example 36-41 § 3.2.1 pure tone 36-37 § 3.2.2 sawtooth waveform with a great peak assumption 37 § 3.2.3 missing fundamental frequency and frequency spacing hypothesis 37-38 § 3.2.4 square wave and the highest common factor hypothesis 38-39 § 3.2.5 the turn of the impact of training 39 § 3.2.6 discord signal 39-41 § 3.3 Loudness 41-42 § 3.4 The pitch is estimated algorithm 42-54 § 3.4.1 harmonic product spectrum 42-44 § 3.4.2 sub-harmonic summation (SHS) 44-46 § 3.4.3 subharmonic and harmonic ratio (SHR) 46-47 § 3.4.4 Harmonic column (HS) 47-48 § 3.4.5 Autocorrelation (AC); 48-50 § 3.4.6 average amplitude and the energy difference function (AMDF, ASDF) 50-51 § 3.4.7 cepstral (CEP) 51-54 Chapter IV of the sawtooth waveform excitation pitch estimation algorithm 54-87 § 4.1 beginning: the average peak-valley distance measurement 54-56 § 4.2 harmonic fuzzy 56-58 § 4.3 distorted spectrum 58-59 § 4.4 weigh harmonic 59-61 § 4.5 harmonic number 61 § 4.6 frequency range distorted 61-62 § 4.7 window type and size 62-67 § 4.8 SWIPE 67-68 § 4.9 SWIPE ' 68-73 § 4.9.1 of the sawtooth waveform pitch strength 72-73 § 4.10 to reduce the computational cost of 73-87 § 4.10.1 to reduce the number of Fourier transform 73-82 § 4.10.2 to reduce the number of spectral integral transform 82-87 Chapter estimated 87-95 § 5.1 algorithm 87-88 § 5.2 database 88-89 § 5.3 method of learning 89 § 5.4 results 89-95 Chapter VI Conclusion 95-96 References 96-98 Chinese Abstract 98-103 English summary 103-108 Acknowledgements 108

Related dissertations

  1. Time-Frequency Analysis and Automatic Transcription of Music
    JinLing ·Jilin University ·2008 ·Master's thesis
  2. The Applications and Study of Fractional Fourier Transform in Signal Detecting and Image Processing
    LiQiong ·Beijing Jiaotong University ·2014 ·Master's thesis
  3. Ballistic Missile Micro-doppler Feature Extraction Based on Radar Measurements
  4. Time-frequency Analysis and Its Application in Pulse Compression Signal Parameter Estimation
  5. Extraction Method and Application of Micro-Doppler Effect of Radar Signals
    LvMeng ·Zhejiang University ·2014 ·Master's thesis
  6. Research on Blind Estimation of FH Signal Parameters
    ZouXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. Digital Music Score Design and Implementation of Several Key Technologies
  8. Extraction of Time-Frequence Characteristics and Analysis Abouat Acoustic Logging Information
  9. Research of Acupuncture Point Signal Characteristics Analysis and Classification Algorithms
  10. Reasearch on Processing Algorithms of Weak Life Target Echos
  11. Research on the Fault-Detection Method Based on the Dsp for the Lou Dspeakers
  12. Study on Time-frequency Analysis Method of the Power Quality Disturbance
  13. Research on the Beam Structural Health Diagnosis Based on Moving Load
    WangBuYu ·Zhejiang University ·2014 ·Doctoral dissertation
  14. Reseach on Intelligent Evaluation Method for Nonstationary Vehicle Noise Based on Psychoacoustics
  15. Research on Ignition Coils Discharge Pulse Test Method
    AiBo ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Research of Vehicle Audio Features Recognition Based on Compressed Sensing Theory
    XuYan ·Chang'an University ·2013 ·Master's thesis
  17. Local Mean Decomposition and its Application in Locomotive Bearing Fault Diagnosis
    JiaYiJiao ·Beijing Jiaotong University ·2014 ·Master's thesis
  18. SAR/GMTI Wheel/Track Vehicle Targets Micro-motion Echo Signal's Simulation, Extracting and Analysis of Feature
  19. Frequency-dependent AVO Analysis Using Generalized S Transforms
    YangZuo ·Central South University ·2013 ·Master's thesis
  20. The Study of Sedimentary Cycle Analysis Method Based on Generalized S Transform
    WeiXueQiang ·Xi'an University of Petroleum ·2013 ·Master's thesis