| .getPitchZc | R Documentation | 
Internal soundgen function called by getPitchZc.
.getPitchZc(
  audio,
  pitchFloor,
  pitchCeiling,
  zcThres,
  zcWin = 5,
  silence = 0.04,
  env = NULL,
  envWin = 5,
  certMethod = c("autocor", "variab")[2]
)
| audio | a list returned by  | 
| pitchFloor, pitchCeiling | absolute bounds for pitch candidates (Hz) | 
| zcThres | pitch candidates with certainty below this value are treated
as noise and set to NA (0 = anything goes, 1 = pitch must be perfectly
stable over  | 
| zcWin | certainty in pitch candidates depends on how stable pitch is
over  | 
| silence | minimum root mean square (RMS) amplitude, below which pitch candidates are set to NA (NULL = don't consider RMS amplitude) | 
| env | precalculated envelope (when called internally by .analyze()) | 
| envWin | window length for calculating RMS envelope, ms | 
| certMethod | method of calculating pitch certainty: 'autocor' = autocorrelation of pitch estimates per zc over window (a measure of curve smoothness), 'variab' = variability of pitch estimates per zc over window | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.