Learn R Programming

praatpicture (version 1.4.2)

make_annot: Annotate praatpicture plot component

Description

Helper function for annotating plot components made with praatpicture. Do not use directly, instead use praatpicture with the annotate argument.

Usage

make_annot(plot_component, args)

Value

No return values, called internally by praatpicture and sibling functions.

Arguments

plot_component

String giving the name of the plot component to annotate.

args

A list of vectors giving arguments used for annotating. See praatpicture documentation.

Examples

Run this code
# Don't use directly
datapath <- system.file('extdata', package='praatpicture')
soundFile <- paste0(datapath, '/1.wav')
praatpicture(soundFile, annotate=c('spectrogram', 0.25, 1500,
'An annotation'))

Run the code above in your browser using DataLab