| sDuration | R Documentation | 
Calculates the time represented by n samples in a Wave.
sDuration(n = 1, wave = NULL, samp.rate = NULL)
n | 
 The number of the samples  | 
wave | 
 A Wave object containing pulses  | 
samp.rate | 
 Integer sampling rate  | 
A numeric value in seconds
sDuration(n=20, samp.rate=44100)
## Not run: 
sDuration(n=20, wave=sheep)#'
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.