pt2_sample {ProTrackR2} | R Documentation |
Obtain sample data and info from a ProTracker module
Description
Obtain sample data and info from a ProTracker module at a specific index. ProTracker modules can hold up to 31 samples. The index should range from 0 to 30.
Usage
pt2_sample(mod, i, ...)
Arguments
mod |
An object of class |
i |
The index of the requested sample (between 0 and 30). |
... |
Ignored. |
Value
Returns a sample object of class pt2samp
.
Author(s)
Pepijn de Vries
Examples
mod <- pt2_read_mod(pt2_demo())
smp <- pt2_sample(mod, 0L)
[Package ProTrackR2 version 0.0.5 Index]