updateAnalyze: Update analyze

View source: R/analyze_utilities.R

updateAnalyzeR Documentation

Update analyze

Description

Internal soundgen function

Usage

updateAnalyze(
  result,
  pitch_true,
  pitchCands_list = NULL,
  spectrogram,
  freqs = NULL,
  bin = NULL,
  samplingRate = NULL,
  windowLength = NULL,
  harmHeight_pars = list(),
  subh_pars = list(),
  flux_pars = list(),
  fmRange = NULL,
  smooth,
  smoothing_ww,
  smoothingThres,
  varsToUnv = NULL
)

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)

freqs

frequency labels of spectrogram bins

bin

spectrogram bin width

harmHeight_pars

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

smooth, smoothing_ww, smoothingThres

smoothing parameters

varsToUnv

set these variables to NA in unvoiced frames

Details

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


soundgen documentation built on Sept. 12, 2024, 6:29 a.m.