hht and applications in music signal processing

87
HHT and Applications in Music Signal Processing 電電R01942128 電電電 1

Upload: doane

Post on 12-Feb-2016

69 views

Category:

Documents


0 download

DESCRIPTION

HHT and Applications in Music Signal Processing. 電信一 R01942128 陳昱安. About the Presenter. Research area: MER  Not quite good at difficult math. About the Topic. HHT : abbreviation of Hilbert-Huang Transform Decided after the talk given by Dr. Norden E. Huang. Why HHT?. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: HHT and Applications in Music Signal Processing

1

HHT and Applications in Music Signal Processing

電信一 R01942128 陳昱安

Page 2: HHT and Applications in Music Signal Processing

2

Research area: MER

Not quite good at difficult math

About the Presenter

Page 3: HHT and Applications in Music Signal Processing

3

HHT : abbreviation ofHilbert-Huang Transform

Decided after the talk given byDr. Norden E. Huang

About the Topic

Page 4: HHT and Applications in Music Signal Processing

4

Fourier is nice, but not good enough Clarity Non-linear and non-stationary signals

Why HHT?

Page 5: HHT and Applications in Music Signal Processing

5

Hilbert-Huang Transform

Hilbert Transform Empirical Mode Decomposition

Page 6: HHT and Applications in Music Signal Processing

6

Hilbert Transform

dttutuHt

)(1)}({)(

Not integrable at τ=t Defined using Cauchy principle value

Page 7: HHT and Applications in Music Signal Processing

7

Dealing with 1/(τ-t)

-∞ ∞τ=t

=0

Page 8: HHT and Applications in Music Signal Processing

8

Input u(t) Output H{u}sin(t) -cos(t)cos(t) sin(t)exp(jt) -jexp(jt)exp(-jt) jexp(-jt)

Quick Table

Page 9: HHT and Applications in Music Signal Processing

9

I know how tocompute

Hilbert Transform

Page 10: HHT and Applications in Music Signal Processing

10

That’s cool…SO WHAT?

Page 11: HHT and Applications in Music Signal Processing

11

exp(jz) =cos(z) + jsin(z)

exp(jωt) =cos(ωt) + jsin(ωt)

θ(t) = arctan(sin(ωt)/cos(ωt))

Freq.=dθ/dt

Page 12: HHT and Applications in Music Signal Processing

12

S(t) = u(t) + jH{u(t)}θ(t) = arctan(Im/Re)Freq.=dθ/dt

What happen if u(t) = cos(ωt) ?Hint:

H{cos(t)} = sin(t)

Page 13: HHT and Applications in Music Signal Processing

13

Input : u(t) Calculate v(t) = H{u(t)} Set s(t) = u(t) + jv(t) θ(t) = arctan(v(t)/u(t)) fu(t)= d θ(t) /dt

Frequency Analysis with HT

Page 14: HHT and Applications in Music Signal Processing

14

Congrats!!!Forgot something?

Page 15: HHT and Applications in Music Signal Processing

15

Hilbert-Huang Transform

Hilbert Transform Empirical Mode Decomposition

Page 16: HHT and Applications in Music Signal Processing

16

0 8

F = 1Hz

Page 17: HHT and Applications in Music Signal Processing

17

0 8

F = 1Hz

Page 18: HHT and Applications in Music Signal Processing

18

0 8

F = 1Hz

Page 19: HHT and Applications in Music Signal Processing

19

1Hz

0 8

F = 1/8Hz

Page 20: HHT and Applications in Music Signal Processing

20

=+

Page 21: HHT and Applications in Music Signal Processing

21

To makeinstantaneous frequency

MEANINGFUL

Page 22: HHT and Applications in Music Signal Processing

22

Need to decomposesignals

into “BASIC” components

Page 23: HHT and Applications in Music Signal Processing

23

Decompose the input signal Goal: find “basic” components Also know as IMFIntrinsic Mode Functions BASIC means what?

Empirical Mode Decomposition

Page 24: HHT and Applications in Music Signal Processing

24

1) num of extrema - num of zero-crossings≤ 1

2) At any point, the mean value of the envelope defined by the local maxima and the envelope defined by the local minima is zero.

Criteria of IMF

Page 25: HHT and Applications in Music Signal Processing

25

TO BESHORT

Page 26: HHT and Applications in Music Signal Processing

26

IMFsare signals

Page 27: HHT and Applications in Music Signal Processing

27

Oscillate

Page 28: HHT and Applications in Music Signal Processing

28

Around 00

Page 29: HHT and Applications in Music Signal Processing

29

Empirical Mode Decomposition Used to generate IMFs

Review: EMD

EMD

Page 30: HHT and Applications in Music Signal Processing

30

Empirical Mode Decomposition Used to generate IMFs

Review: EMD

EMD

Hint:Empirical means

NO PRIOR KNOWLEDGES

NEEDED

Page 31: HHT and Applications in Music Signal Processing

31

Application I:Source Separation

Page 32: HHT and Applications in Music Signal Processing

32

Problem

Page 33: HHT and Applications in Music Signal Processing

33

Problem

Source Separatio

n

Page 34: HHT and Applications in Music Signal Processing

34

What if…We apply STFT, then

extract different componentsfrom different freq. bands?

Page 35: HHT and Applications in Music Signal Processing

35

Problem Solved?No!

Page 36: HHT and Applications in Music Signal Processing

36

Gabor Transform of piano

Page 37: HHT and Applications in Music Signal Processing

37

Gabor Transform of organ

Page 38: HHT and Applications in Music Signal Processing

38

Gabor Transform of piano + organ

Page 39: HHT and Applications in Music Signal Processing

39

I see…So how to make sure we do it right?

Page 40: HHT and Applications in Music Signal Processing

40

Page 41: HHT and Applications in Music Signal Processing

41

How to win Doraemonin paper-scissor-stone?Easy. Paper always win.

Page 42: HHT and Applications in Music Signal Processing

42

The tip is to know the answer first!

Page 43: HHT and Applications in Music Signal Processing

43

Single-MixtureAudio Source Separation

by Subspace Decompositionof Hilbert Spectrum

Khademul Islam Molla, and Keikichi Hirose

Page 44: HHT and Applications in Music Signal Processing

44

Approximation of sources

Desired result

Page 45: HHT and Applications in Music Signal Processing

45

PHASE I:Construction of

possible source model

Page 46: HHT and Applications in Music Signal Processing

46

HilbertSpectra

IMFsEMDHilbert

TransformOriginal Signal

IMF 1IMF 2IMF 3

Spectrum of

Page 47: HHT and Applications in Music Signal Processing

47

X1

X2

X3

X4

X5

X6

Spectrum of original signal

X1

X2

X3

X4

X5

X6

Spectrum of IMF1

X1

X2

X3

X4

X5

X6

Spectrum of IMF2 ..

.frequ

ency

Page 48: HHT and Applications in Music Signal Processing

48

Original Signal

IMF1

IMF2Projection 1

Projection 2

Page 49: HHT and Applications in Music Signal Processing

49

AFTERSOME

PROCESSING

Page 50: HHT and Applications in Music Signal Processing

50

RESULTSIN

Page 51: HHT and Applications in Music Signal Processing

51

INDEPENDENTBASIS

Page 52: HHT and Applications in Music Signal Processing

52

Frequency Band I

Freq

uenc

y Ba

nd II

Page 53: HHT and Applications in Music Signal Processing

53

Frequency Band I

Freq

uenc

y Ba

nd IIHint:

Data points are different

observations

Page 54: HHT and Applications in Music Signal Processing

54

Frequency Band I

Freq

uenc

y Ba

nd IISo…

What does this basis

mean?

Page 55: HHT and Applications in Music Signal Processing

55

Frequency Band I

Freq

uenc

y Ba

nd II

7F1 +2F2

3F1 +4F2

Page 56: HHT and Applications in Music Signal Processing

56

Gabor Transform of piano

F(piano) = 10F1 + 9F2 + F3

3F1 + 4F2

7F1 + 2F2

3F2 + F3

Page 57: HHT and Applications in Music Signal Processing

57

FindSourceModels

Page 58: HHT and Applications in Music Signal Processing

58

ClusterBasis

Vectors

Page 59: HHT and Applications in Music Signal Processing

59

Cluster

Page 60: HHT and Applications in Music Signal Processing

60

Raw data

Page 61: HHT and Applications in Music Signal Processing

61

Clustered

Page 62: HHT and Applications in Music Signal Processing

62

Approximated SourcesIn hand!

Page 63: HHT and Applications in Music Signal Processing

63

The “figure” of sources obtained We have been through

1) EMD : Obtain IMFs2) Hilbert Transform : Construct spectra3) Projection : Decompose signal in frequency space4) PCA and ICA : Independent vector basis5) Clustering : Combine correlated vectors together6) Voila!

Finally

Page 64: HHT and Applications in Music Signal Processing

64

PHASE II:Reconstruction of

separated source signals

Page 65: HHT and Applications in Music Signal Processing

65

Spectrum of each source is a linear combination of the vector basis generated

Reconstruction

]... [];... [ , 2121

1

aaaAyyyYYAH

ayH

T

i

Tii

SignalSpectrum

Combinationof sources’

spectra

Page 66: HHT and Applications in Music Signal Processing

66

Let the clustered vector basis to be Yj

Then the weighting of this subspace is

Reconstruction

1Tj j jA Y H

Page 67: HHT and Applications in Music Signal Processing

67

Tjjj AYH

Page 68: HHT and Applications in Music Signal Processing

68

Why HHT?◦EMD needs NO PRIOR KNOWLEDGE◦Hilbert transform suits for non-linear and non-stationary condition

However, clustering…

Conclusions

Page 69: HHT and Applications in Music Signal Processing

69

Application II:Fundamental

Frequency Analysis

Page 70: HHT and Applications in Music Signal Processing

70

ProblemSTFT of C4(262Hz)

Music Instrument Samples of U. Iowa

Page 71: HHT and Applications in Music Signal Processing

71

FUNDAMENTAL FREQUENCY

ESTIMATION FOR MUSIC SIGNALS WITH

MODIFIED HILBERT-HUANG TRANSFORMEnShuo Tsau, Namgook Cho and C.-C. Jay Kuo

Page 72: HHT and Applications in Music Signal Processing

72

Basic Idea

EMD

Page 73: HHT and Applications in Music Signal Processing

73

Mode mixingExtrema finding

◦Boundary effect◦Signal perturbation

Problems of EMD

Page 74: HHT and Applications in Music Signal Processing

74

1. Kizhner, S.; Flatley, T.P.; Huang, N.E.; Blank, K.; Conwell, E.; , "On the Hilbert-Huang transform data processing system development," Aerospace Conference, 2004. Proceedings. 2004 IEEE , vol.3, no., pp. 6 vol. (xvi+4192), 6-13 March 2004

2. Md. Khademul Islam Molla; Keikichi Hirose; , "Single-Mixture Audio Source Separation by Subspace Decomposition of Hilbert Spectrum," Audio, Speech, and Language Processing, IEEE Transactions on , vol.15, no.3, pp.893-900, March 2007

3. EnShuo Tsau; Namgook Cho; Kuo, C.-C.J.; , "Fundamental frequency estimation for music signals with modified Hilbert-Huang transform (HHT)," Multimedia and Expo, 2009. ICME 2009. IEEE International Conference on , vol., no., pp.338-341, June 28 2009-July 3 2009

4. Te-Won Lee; Lewicki, M.S.; Girolami, M.; Sejnowski, T.J.; , "Blind source separation of more sources than mixtures using overcomplete representations," Signal Processing Letters, IEEE , vol.6, no.4, pp.87-90, April 1999

References

Page 75: HHT and Applications in Music Signal Processing

75

Q&A請把握加分的良機

Page 76: HHT and Applications in Music Signal Processing

76

Thank you for your attention!

THE END

Page 77: HHT and Applications in Music Signal Processing

77

Recycle bin

Page 78: HHT and Applications in Music Signal Processing

78

Input u(t) Output H{u}sin(t) -cos(t)cos(t) sin(t)exp(jt) -jexp(jt)exp(-jt) jexp(-jt)

Quick Table

Insight:Hilbert transform

rotate input by π/2on complex plane

Page 79: HHT and Applications in Music Signal Processing

79

EMD

Page 80: HHT and Applications in Music Signal Processing

80

~!@#$%︿&*

Spectrum of original signal

*&︿%$#@!~

Spectrum of IMF1

~@!#$︿%&*

Spectrum of IMF2

Page 81: HHT and Applications in Music Signal Processing

81

Original Signal

IMF1

IMF2Projection 1

Projection 2

Page 82: HHT and Applications in Music Signal Processing

82

Data Spread on Vector Space

Page 83: HHT and Applications in Music Signal Processing

83

PCA ICA

Page 84: HHT and Applications in Music Signal Processing

84

PCAICA

Page 85: HHT and Applications in Music Signal Processing

85

PCAICA

Fact:PCA & ICA are

linear transforms

Page 86: HHT and Applications in Music Signal Processing

86

FAQ

Page 87: HHT and Applications in Music Signal Processing

87

Q: Why Hilbert Transform?