dot-pitchDescriptives: Pitch descriptives per file

Description Usage Arguments

Description

Internal soundgen function.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
.pitchDescriptives(
  time,
  pitch,
  smoothBW,
  inflThres,
  extraSummaryFun = c(),
  ref = 16.35,
  plot = FALSE,
  main = ""
)

Arguments

time

a vector of time stamps in s

pitch

a vector of pitch values in Hz

smoothBW

a vector of bandwidths (Hz) for consecutive smoothing of input using pitchSmoothPraat; NA = no smoothing

inflThres

minimum difference (in semitones) between consecutive extrema to consider them inflections; to apply a different threshold at each smoothing level, provide inflThres as a vector of the same length as smoothBW; NA = no threshold

extraSummaryFun

additional summary function(s) that take a numeric vector with some NAs and return a single number, eg c('myFun1', 'myFun2')

ref

reference value for transforming Hz to semitones, defaults to C0 (16.35 Hz)

plot

if TRUE, plots the inflections for manual verification


soundgen documentation built on June 20, 2021, 1:06 a.m.