emupicture | R Documentation |
Generate plots in the style of Praat Pictures from sound files and annotations in an EMU database.
emupicture(
db_handle,
session = "0000",
bundle,
pitch_ssffExt = NULL,
formant_ssffExt = NULL,
intensity_ssffExt = NULL,
talking = FALSE,
...
)
db_handle |
The handle of an EMU database loaded into R. |
session |
String giving the name of the session where the sound file
to plot is located.
Default is |
bundle |
String giving the name of the bundle with the sound file to plot. |
pitch_ssffExt |
String giving the file extension for an SSFF track with
pitch data to plot. Default is |
formant_ssffExt |
String giving the file extension for an SSFF track
with formant data to plot. Default is |
intensity_ssffExt |
String giving the file extension for an SSFF track with intensity data to
plot. Default is |
talking |
Boolean; should a video be created with embedded audio, as
when using talking_praatpicture? Default is |
... |
Further arguments passed to praatpicture (or
talking_praatpicture if |
No return value, produces a plot or a video.
See praatpicture for more details on how to customize plots and talking_praatpicture for more details on how to customize videos.
# Create demo data and load demo database
emuR::create_emuRdemoData(tempdir())
db_path <- paste0(tempdir(), '/emuR_demoData/ae_emuDB')
db <- emuR::load_emuDB(db_path)
emuR::list_bundles(db)
emupicture(db, bundle='msajc003', tg_tiers=c('Text', 'Tone'))
# Plot SSFF track data
emuR::list_ssffTrackDefinitions(db)
emupicture(db, bundle='msajc003', frames=c('sound', 'formant'),
proportion=c(30,70), formant_ssffExt='fms', formant_number=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.