Programmer Guide/Command Reference/EVAL/f0sp: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
# find the smallest frequency difference of the selected peak (use lowest peak frequency as start value) | # find the smallest frequency difference of the selected peak (use lowest peak frequency as start value) | ||
# use this difference to compuet harmonic mean of selected peaks | # use this difference to compuet harmonic mean of selected peaks | ||
[[../#Functions|<function list>]] | [[../#Functions|<function list>]] | ||
[[Category:: | [[Category::EVAL_Functions]] |
Revision as of 14:16, 2 March 2015
A simple f0 estimation from a log. spectrum.
- Usage
f0sp(sp, n, df, fmin, fmax, nc)
- sp
- log. spectrum
- n
- number of sp values
- df
- frequency resolution in Hz
- fmin
- minimum range for component search
- fmax
- maximum range for component search
- nc
- number of f0 components
- Result
- f0 in Hz. Set to 0 if detection fails.
- Description
- find all spectral peaks in the selected frequency range
- select the nc highest peaks
- find the smallest frequency difference of the selected peak (use lowest peak frequency as start value)
- use this difference to compuet harmonic mean of selected peaks
[[Category::EVAL_Functions]]