formatPitchManual: Format pitchManual

View source: R/analyze_utilities.R

formatPitchManualR Documentation

Format pitchManual

Description

Internal soundgen function

Usage

formatPitchManual(pitchManual)

Arguments

pitchManual

dataframe produced by analyze() or pitch_app(), path to a .csv file in which this dataframe is stored, a named list with a numeric vector of pitch values per sound, or a numeric vector

Value

A named list of pitch contours.

Examples

soundgen:::formatPitchManual(c(NA, 120, 180, NA))
soundgen:::formatPitchManual('NA, 120, 180, NA')
soundgen:::formatPitchManual(list(
  'myfile.wav' = list(pitch = c(NA, 120, 180, NA))
))
soundgen:::formatPitchManual(data.frame(file = c('file1.wav', 'file2.wav'),
                                        pitch = c('NA, 120', '180, NA')))
soundgen:::formatPitchManual('adja')

soundgen documentation built on Sept. 29, 2023, 5:09 p.m.