tSamples {sonicscrewdriver}R Documentation

Samples per time period

Description

Calculates the number of samples for a given duration of a wave

Usage

tSamples(time = 1, wave = NULL, samp.rate = NULL)

Arguments

time

The duration in seconds

wave

A Wave object containing pulses

samp.rate

Integer sampling rate

Value

Number of samples

Examples

tSamples(10, samp.rate=44100)
## Not run: 
tSamples(10, wave=sheep)

## End(Not run)



[Package sonicscrewdriver version 0.0.7 Index]