f0sp

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 14:08, 2 March 2015 by Jw (talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} A simple f0 estimation from a log. spectrum. ;Usage:<code>f0sp(<var>sp</var>, <var>n</var>, <var>df</var>, <var>fmin</var>, <var>fmax</var>, <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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
  1. find all spectral peaks in the selected frequency range
  2. select the nc highest peaks
  3. find the smallest frequency difference of the selected peak (use lowest peak frequency as start value)
  4. use this difference to compuet harmonic mean of selected peaks

<function list>

Navigation menu

Personal tools