powered by
Get the times steps associated with a sound sample.
getTime(x)
a numeric vector containing the sampling times in second.
sound sample object.
# 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)
Run the code above in your browser using DataLab