tg_stylize | R Documentation |
Helper function for converting Praat font styles such as italics, bold,
and small caps into expressions that can be read by base R plots.
Instead of using
this function directly, just use
praatpicture('my_sound_file', frames='TextGrid', tg_specialChar=TRUE)
.
tg_stylize(lab)
lab |
A string or vector of strings with labels from a TextGrid. |
A list with elements of class expression
.
# Don't use directly
datapath <- system.file('extdata', package='praatpicture')
soundFile <- paste0(datapath, '/1.wav')
# With stylized text
praatpicture(soundFile, frames='TextGrid')
# Without stylized text
praatpicture(soundFile, frames='TextGrid', tg_specialChar=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.