powered by
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)
A modified Google Speech API transcript object
Transcript from Google Speech API
Amount of time (in seconds) to add to start and end
Optional. The duration of the file, so padding does not exceed length of file.
if (FALSE) { labelPadding(t, pad=2, max_t=duration(wave)) }
Run the code above in your browser using DataLab