powered by
Calculates the time represented by n samples in a Wave.
sDuration(n = 1, wave = NULL, samp.rate = NULL)
A numeric value in seconds
The number of the samples
A Wave object containing pulses
Integer sampling rate
sDuration(n=20, samp.rate=44100) if (FALSE) { sDuration(n=20, wave=sheep)#' }
Run the code above in your browser using DataLab