labelPadding | R Documentation |
Takes labels from Google Speech API transcript and pads the time by a specified number of seconds.
labelPadding(t, pad = 0.5, max_t = NULL)
t |
Transcript from Google Speech API |
pad |
Amount of time (in seconds) to add to start and end |
max_t |
Optional. The duration of the file, so padding does not exceed length of file. |
A modified Google Speech API transcript object
## Not run:
labelPadding(t, pad=2, max_t=duration(wave))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.