Learn R Programming

soundgen (version 1.7.0)

updateAnalyze: Update analyze

Description

Internal soundgen function

Usage

updateAnalyze(
  result,
  pitch_true,
  spectrogram,
  freqs = NULL,
  bin = NULL,
  harmHeight_pars,
  smooth,
  smoothing_ww,
  smoothingThres
)

Arguments

result

the matrix of results returned by analyze()

pitch_true

manual pitch contour of length nrow(result), with NAs

spectrogram

spectrogram with ncol = nrow(result)

harmHeight_pars

same as argument "harmHeight" to analyze() - a list of settings passed to soundgen:::harmHeight()

Details

Updates the output of analyze using manual pitch. Called by pitch_app().