FFmpeg
|
Go to the source code of this file.
Functions | |
initialize output | if (nPeaks >3)%at least 3 peaks in spectrum for trying to find f0 nf0peaks |
if (f0 >0 &&f0error >ef0max)%limit the possible error by ethreshold f0=0 | |
Variables | |
function | f0 |
function | fs |
function | ploc |
function | pmag |
function | ef0max |
function | minf0 |
function | maxf0 |
size of complex spectrum | nPeaks = length(ploc) |
use a maximum of | peaks [f0, f0error] = TWM(ploc(1:nf0peaks),pmag(1:nf0peaks),N,fs,minf0,maxf0) |
end | end |
Function Documentation
Variable Documentation
function ef0max |
Definition at line 1 of file f0detection.m.
end end |
Definition at line 15 of file f0detection.m.
number of peaks f0 |
Initial value:
% Fundamental frequency detection function
phase spectrum(unwrapped) ploc
Definition at line 1 of file f0detection.m.
function fs |
Definition at line 1 of file f0detection.m.
function maxf0 |
Definition at line 1 of file f0detection.m.
function minf0 |
Definition at line 1 of file f0detection.m.
Definition at line 11 of file f0detection.m.
function ploc |
Definition at line 1 of file f0detection.m.
function pmag |
Definition at line 1 of file f0detection.m.
Generated on Mon Nov 18 2024 06:52:05 for FFmpeg by 1.8.11