pt2_sample | R Documentation |
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.
pt2_sample(mod, i, ...)
mod |
An object of class |
i |
The index of the requested sample (between 0 and 30). |
... |
Ignored. |
Returns a sample object of class pt2samp
.
Pepijn de Vries
mod <- pt2_read_mod(pt2_demo())
smp <- pt2_sample(mod, 0L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.