praat_plot | R Documentation |
Plot waveform and spectrogram
praat_plot(
file,
wav,
tg = NULL,
start = 0,
end = NULL,
width = 5,
format = "png",
f0 = FALSE,
f0_min = 0,
f0_max = 500,
spec_max = 5000
)
file |
Output file path as a string. |
wav |
Wav file path as a string. |
tg |
TextGrid file path as a string. If |
start |
Start time of the plotting window in seconds. |
end |
End time of the plotting window in seconds. If |
width |
Width of the plot in inches. |
format |
Output file format ( |
f0 |
Whether to plot f0 ( |
f0_min |
If |
f0_max |
If |
spec_max |
Maximum frequency for the spectrogram ( |
Nothing. It is used for its side effects.
## Not run:
wav <- system.file("extdata", "vowels.wav", package = "speakr")
praat_plot("vowels.png", wav, f0 = TRUE, f0_max = 200, end = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.