voiceSegment | R Documentation |
voiceSegment This function takes the Wave object or the result of voiceActivity() and returns a data frame of the voice segment.
voiceSegment(x, unit = "frame", frameshift = 0.01, margin = 0)
x |
The input Wave object or vector of logical |
unit |
The unit of the result. "frame" (default) means the number of frames, and "time" means the duration time in second. |
frameshift |
The frame shift (in second). This parameter is used only when x is a Wave object. |
margin |
Margin to be added before and after a segment |
## Not run: library(tuneR) x <- readWave("speech.wav") v <- voiceActivity(x) seg <- voiceSegment(v) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.