sDuration {sonicscrewdriver} | R Documentation |
Sample duration
Description
Calculates the time represented by n samples in a Wave.
Usage
sDuration(n = 1, wave = NULL, samp.rate = NULL)
Arguments
n |
The number of the samples |
wave |
A Wave object containing pulses |
samp.rate |
Integer sampling rate |
Value
A numeric value in seconds
Examples
sDuration(n=20, samp.rate=44100)
## Not run:
sDuration(n=20, wave=sheep)#'
## End(Not run)
[Package sonicscrewdriver version 0.0.7 Index]