View source: R/class_soundSample.R
getTime | R Documentation |
Get the times steps associated with a sound sample.
getTime(x)
x |
sound sample object. |
a numeric vector containing the sampling times in second.
# Define sound sample
sam <- soundSample(sin(2*pi*seq(0,1,,44100)*440)+0.1*rnorm(44100)) # 1-second noisy A
# Compute sampling times
timeSteps=getTime(sam)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.