Professional Documents
Culture Documents
frequency detection
Xavier Serra
Universitat Pompeu Fabra, Barcelona
&
Stanford University
Index
● F0 detection in time domain
– monophonic signals
n= N −1−l
r x [l ]= ∑ x [n] x[n+l ] l=0,1,... , N −1
n=0
where l=lag
YIN Algorithm (Cheveigné and Kawahara, 2002)
n= N −1−l
d [l ]= ∑ 2
( x [n]−x [n+l ]) l=0,1,... , N −1
n=0
F0 detection in frequency domain
F0 in the spectrum
The F0 can be defined as the common divisor of the harmonic
series that best explains the spectral peaks.
Pattern matching
Two-way mismatch algorithm (Maher and Beauchamp, 1994)
N 7F0
Err p→m =∑n=1 E ω (Δ f n , f n , a n , A max )
N
=∑ n=1 Δ f n⋅( f n )− p 6F0
an
+( A )×[ q Δ f n⋅( f n )− p −r ]
max
5F0
4F0
Δ f n : diff. between predicted and
the closest measured peaks 3F0
f n , a n : frequency and magnitude of 2F0
predicted peaks
Amax : maximum peak magnitude F0
predicted measured
Err m→ p =∑kK=1 E ω (Δ f k , f k , a k , Amax )
K ak
=∑ k=1 Δ f k⋅( f k )− p +( A )×[q Δ f k⋅( f k )− p−r ]
max
Xavier Serra
Universitat Pompeu Fabra, Barcelona
&
Stanford University