getTime {sequenceR} | R Documentation |
Get sampling time
Description
Get the times steps associated with a sound sample.
Usage
getTime(x)
Arguments
x |
sound sample object. |
Value
a numeric vector containing the sampling times in second.
Examples
# 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)
[Package sequenceR version 1.0.1 Index]