powered by
Calculates the number of samples for a given duration of a wave
tSamples(time = 1, wave = NULL, samp.rate = NULL)
Number of samples
The duration in seconds
A Wave object containing pulses
Integer sampling rate
tSamples(10, samp.rate=44100) if (FALSE) { tSamples(10, wave=sheep) }
Run the code above in your browser using DataLab