formatPitchManual: Format pitchManual

Description Usage Arguments Value Examples

View source: R/utilities_analyze.R

Description

Internal soundgen function

Usage

1

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

1
2
3
4
5
6
soundgen:::formatPitchManual(c(NA, 120, 180, NA))
soundgen:::formatPitchManual('NA, 120, 180, NA')
soundgen:::formatPitchManual(list('myfile.wav' = 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 June 20, 2021, 1:06 a.m.