tSamples | R Documentation |
Calculates the number of samples for a given duration of a wave
tSamples(time = 1, wave = NULL, samp.rate = NULL)
time |
The duration in seconds |
wave |
A Wave object containing pulses |
samp.rate |
Integer sampling rate |
Number of samples
tSamples(10, samp.rate=44100)
## Not run:
tSamples(10, wave=sheep)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.